  :root {
    color-scheme: light;
    --bg: #f3f7fc;
    --bg-top: #e4effb;
    --surface: #ffffff;
    --surface-2: #eef3fa;
    --text: #16233a;
    --text-2: #4c5a70;
    --muted: #8792a6;
    --line: #e3eaf3;
    --brand: #2f7de1;
    --brand-dark: #1d5fb8;
    --brand-ink: #ffffff;
    --brand-soft: #e6f0fc;
    --masuk: #2f7de1;
    --keluar: #f07a32;
    --ok: #18a058;
    --ok-soft: #dcf5e7;
    --danger: #d64545;
    --shadow: 0 2px 6px rgba(30, 70, 140, .05), 0 10px 28px rgba(30, 70, 140, .08);
    --nav-bg: rgba(255, 255, 255, .96);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      color-scheme: dark;
      --bg: #0e1522; --bg-top: #16233a; --surface: #172133; --surface-2: #1f2b40;
      --text: #e8eef8; --text-2: #b5c0d3; --muted: #7f8ba0; --line: #26344b;
      --brand: #5aa2ff; --brand-dark: #8cc0ff; --brand-ink: #ffffff; --brand-soft: #1c3150;
      --masuk: #3987e5; --keluar: #e06a2a; --ok: #3cc46e; --ok-soft: #173a28; --danger: #ef6b6b;
      --shadow: 0 1px 2px rgba(0, 0, 0, .3); --nav-bg: rgba(23, 33, 51, .97);
    }
  }
  :root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0e1522; --bg-top: #16233a; --surface: #172133; --surface-2: #1f2b40;
    --text: #e8eef8; --text-2: #b5c0d3; --muted: #7f8ba0; --line: #26344b;
    --brand: #5aa2ff; --brand-dark: #8cc0ff; --brand-ink: #ffffff; --brand-soft: #1c3150;
    --masuk: #3987e5; --keluar: #e06a2a; --ok: #3cc46e; --ok-soft: #173a28; --danger: #ef6b6b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3); --nav-bg: rgba(23, 33, 51, .97);
  }

  * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  html, body { margin: 0; padding: 0; }
  body {
    background: linear-gradient(180deg, var(--bg-top) 0, var(--bg) 260px) no-repeat, var(--bg);
    color: var(--text);
    font: 15px/1.45 "Nunito", "Segoe UI Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
  }
  button, input, select, textarea { font: inherit; color: inherit; }
  .hidden { display: none !important; }
  .num { font-variant-numeric: tabular-nums; }

  /* ---------- Ikon ubin gradasi mengilap ---------- */
  .gi {
    position: relative; width: 34px; height: 34px; border-radius: 11px; flex: none;
    display: inline-grid; place-items: center; color: #fff; overflow: hidden;
    background: linear-gradient(160deg, var(--g1), var(--g2));
    box-shadow: 0 6px 14px -6px var(--g2), inset 0 -2px 0 rgba(0, 0, 0, .08);
  }
  .gi::after {
    content: ""; position: absolute; left: 3px; right: 3px; top: 2px; height: 45%;
    border-radius: 9px 9px 14px 14px; background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
    pointer-events: none;
  }
  .gi svg { position: relative; z-index: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15)); }
  .t-blue   { --g1: #63b0ff; --g2: #2f7de1; }
  .t-orange { --g1: #ffb067; --g2: #f5732a; }
  .t-purple { --g1: #ab96ff; --g2: #6c55e0; }
  .t-teal   { --g1: #3fd0bd; --g2: #129987; }
  .t-green  { --g1: #62d993; --g2: #1fa25a; }
  .t-pink   { --g1: #ffa0c4; --g2: #ec5b92; }
  .t-yellow { --g1: #ffd76e; --g2: #f0a316; }
  .hd { display: flex; align-items: center; gap: 10px; }

  /* ---------- Login ---------- */
  #login {
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
    padding: 24px 20px; max-width: 460px; margin: 0 auto;
  }
  .login-head { text-align: center; }
  .login-logo {
    width: 168px; height: 168px; object-fit: contain; display: block; margin: 0 auto 14px;
    filter: drop-shadow(0 8px 18px rgba(30, 70, 140, .18));
  }
  #login h1 { font-size: 27px; font-weight: 800; color: var(--brand-dark); margin: 0 0 4px; letter-spacing: -.01em; }
  #login .sub { color: var(--text-2); margin: 0 0 28px; }
  .role-btn {
    width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
    padding: 16px; margin-bottom: 12px; border-radius: 20px; border: 2px solid transparent;
    background: var(--surface); cursor: pointer; box-shadow: var(--shadow);
  }
  .role-btn.active { border-color: var(--brand); }
  .role-btn .ic { width: 48px; height: 48px; border-radius: 15px; }
  .role-btn b { display: block; font-size: 16px; font-weight: 800; }
  .role-btn small { color: var(--text-2); }
  #pinBox { margin: 4px 0 12px; }

  /* ---------- App shell ---------- */
  header.top {
    position: sticky; top: 0; z-index: 20; color: var(--text);
    background: linear-gradient(180deg, var(--bg-top), color-mix(in srgb, var(--bg-top) 70%, var(--bg)));
    padding: 12px 16px; display: flex; align-items: center; gap: 12px;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--brand) 10%, transparent);
  }
  .app-ic { width: 46px; height: 46px; border-radius: 14px; }
  header.top .t { flex: 1; min-width: 0; }
  header.top h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--brand-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  header.top small {
    display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .icon-btn {
    width: 42px; height: 42px; border-radius: 14px; border: 0; background: var(--surface);
    color: var(--brand-dark); display: grid; place-items: center; cursor: pointer; flex: none; box-shadow: var(--shadow);
  }
  main { padding: 16px 16px 128px; max-width: 640px; margin: 0 auto; }
  nav.bottom {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 20;
    max-width: 620px; margin: 0 auto; background: var(--nav-bg); border-radius: 24px;
    box-shadow: 0 10px 30px rgba(30, 70, 140, .16); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    padding: 10px 6px 8px;
  }
  nav.bottom button {
    position: relative; border: 0; background: none; padding: 0 0 6px; display: flex; flex-direction: column; align-items: center;
    gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--muted); cursor: pointer;
  }
  nav.bottom .pill {
    position: relative; width: 44px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; overflow: hidden;
    background: linear-gradient(160deg, #a9d0ff, #74a9ec); opacity: .85; transition: transform .15s;
  }
  nav.bottom .pill::after {
    content: ""; position: absolute; left: 3px; right: 3px; top: 2px; height: 45%; border-radius: 10px 10px 14px 14px;
    background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
  }
  nav.bottom .pill svg { position: relative; z-index: 1; }
  nav.bottom button.on { color: var(--brand); }
  nav.bottom button.on .pill {
    opacity: 1; transform: translateY(-2px);
    background: linear-gradient(160deg, #63b0ff, #2f7de1); box-shadow: 0 8px 16px -6px #2f7de1;
  }
  nav.bottom button.on::after {
    content: ""; position: absolute; bottom: 0; width: 26px; height: 3px; border-radius: 2px; background: var(--brand);
  }

  /* ---------- Common blocks ---------- */
  .card { background: var(--surface); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); margin-bottom: 14px; }
  .card h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; }
  .hero {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(150deg, #5aa8ff 0%, #2f7de1 55%, #1d5fb8 100%);
    box-shadow: 0 14px 30px -12px rgba(47, 125, 225, .7);
  }
  .hero::after {
    content: ""; position: absolute; right: -40px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255, 255, 255, .12); pointer-events: none;
  }
  .hero .label { opacity: .9; font-size: 13px; font-weight: 700; }
  .hero .big { font-size: 31px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 10px; }
  .hero .row { display: flex; gap: 16px; font-size: 12.5px; opacity: .95; flex-wrap: wrap; }
  .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
  .tile { background: var(--surface); border-radius: 20px; padding: 14px; box-shadow: var(--shadow); }
  .tile .label { font-size: 12px; font-weight: 700; color: var(--text-2); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
  .tile .label .gi { width: 30px; height: 30px; border-radius: 10px; }
  .tile .val { font-size: 18px; font-weight: 800; margin-top: 8px; }
  .dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex: none; }
  .progress { height: 9px; border-radius: 5px; background: var(--surface-2); overflow: hidden; margin-top: 10px; }
  .progress > i { display: block; height: 100%; background: linear-gradient(90deg, #62d993, #1fa25a); border-radius: 5px; }
  .muted { color: var(--muted); }
  .small { font-size: 12.5px; }
  .empty { text-align: center; color: var(--muted); padding: 28px 8px; }

  .list { list-style: none; margin: 0; padding: 0; }
  .list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .list li:last-child { border-bottom: 0; }
  .list li.tap { cursor: pointer; }
  .list .main { flex: 1; min-width: 0; }
  .list .main b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .list .amt { font-weight: 800; white-space: nowrap; }
  .amt.in { color: var(--ok); }
  .amt.out { color: var(--danger); }
  .avatar {
    width: 42px; height: 42px; border-radius: 14px; flex: none; display: grid; place-items: center; font-weight: 800;
    background: linear-gradient(160deg, #e3f0ff, #c8e0fd); color: var(--brand-dark);
  }
  /* ikon daftar memakai ubin gradasi yang sama */
  .tx-ic, .info-ic {
    position: relative; overflow: hidden; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; color: #fff;
    background: linear-gradient(160deg, var(--g1), var(--g2)); box-shadow: 0 6px 14px -6px var(--g2);
  }
  .tx-ic.in { --g1: #62d993; --g2: #1fa25a; }
  .tx-ic.out { --g1: #ffb067; --g2: #f5732a; }
  .info-ic { --g1: #ffa0c4; --g2: #ec5b92; }
  .tx-ic::after, .info-ic::after {
    content: ""; position: absolute; left: 3px; right: 3px; top: 2px; height: 45%; border-radius: 10px 10px 14px 14px;
    background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
  }
  .tx-ic svg, .info-ic svg { position: relative; z-index: 1; }
  .badge { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-weight: 700; }
  .badge.ok { background: var(--ok-soft); color: var(--ok); }

  .seg { display: grid; grid-template-columns: 1fr 1fr; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); border-radius: 16px; padding: 4px; margin-bottom: 14px; }
  .seg button { border: 0; background: none; padding: 10px; border-radius: 12px; font-weight: 800; color: var(--text-2); cursor: pointer; }
  .seg button.on { background: var(--surface); color: var(--brand-dark); box-shadow: var(--shadow); }

  .monthbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .monthbar b { font-size: 17px; font-weight: 800; color: var(--brand-dark); }
  .round { width: 42px; height: 42px; border-radius: 14px; border: 0; background: var(--surface); color: var(--brand-dark); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }

  .sumrow { display: flex; justify-content: space-between; align-items: baseline; }
  .sumrow .val { font-size: 22px; font-weight: 800; }

  .search { width: 100%; padding: 13px 16px; border-radius: 16px; border: 0; background: var(--surface); box-shadow: var(--shadow); margin-bottom: 12px; }

  /* ---------- Informasi warga ---------- */
  .card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
  .card-head h3 { margin: 0; }
  .card-head .acts { display: flex; gap: 4px; }
  .card-head h3 + .small { display: block; margin-top: 4px; }
  .link { border: 0; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: 13px; padding: 7px 12px; cursor: pointer; border-radius: 12px; white-space: nowrap; }
  .link:active { background: color-mix(in srgb, var(--brand) 22%, var(--surface)); }
  .list li.info-item { align-items: flex-start; }
  .info-thumb { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; background: var(--surface-2); }
  .clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 2px 0 0; font-size: 13.5px; color: var(--text-2); }
  .info-img { width: 100%; max-height: 60vh; object-fit: contain; border-radius: 16px; background: var(--surface-2); display: block; margin-bottom: 14px; }
  .info-body { white-space: pre-wrap; word-wrap: break-word; margin: 0 0 16px; }
  .img-pick { display: grid; gap: 8px; }
  .img-pick img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 14px; background: var(--surface-2); }
  .img-pick .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .img-pick .row .btn { padding: 11px; font-size: 14px; }
  .img-pick .row .btn:only-child { grid-column: 1 / -1; }
  .field textarea { min-height: 110px; resize: vertical; }
  .field textarea.report { min-height: 260px; font: 13px/1.45 ui-monospace, Menlo, Consolas, monospace; }
  a.btn { text-decoration: none; }
  .btn.wa { background: linear-gradient(160deg, #3ccf7a, #1a9c52); color: #fff; box-shadow: 0 10px 20px -10px #1a9c52; }
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .btn-sm {
    padding: 8px 14px; border-radius: 12px; font-size: 13px; font-weight: 800; white-space: nowrap;
    background: linear-gradient(160deg, #3ccf7a, #1a9c52); color: #fff; text-decoration: none; flex: none;
  }
  .btn-sm.sent { background: var(--ok-soft); color: var(--ok); }

  /* ---------- Iuran grid ---------- */
  .grid-wrap { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
  table.iuran { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
  table.iuran th { font-size: 11px; color: var(--muted); font-weight: 700; padding: 0 1.5px 2px; text-align: center; }
  table.iuran th:first-child { text-align: left; }
  table.iuran th.now { color: var(--brand); }
  table.iuran td { padding: 0 1.5px; text-align: center; }
  table.iuran td.name { text-align: left; max-width: 92px; padding-right: 4px; }
  table.iuran td.name b { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
  table.iuran td.name span { font-size: 11px; color: var(--muted); white-space: nowrap; }
  table.iuran th.tot, table.iuran td.tot { text-align: right; padding-left: 5px; white-space: nowrap; }
  table.iuran td.tot { font-size: 12.5px; font-weight: 800; }
  table.iuran td.tot.zero { color: var(--muted); font-weight: 400; }
  table.iuran tfoot td.tot { color: var(--brand-dark); }
  .cell {
    width: 100%; min-width: 32px; height: 38px; border-radius: 11px; border: 1.5px dashed color-mix(in srgb, var(--brand) 25%, var(--line));
    background: var(--surface); display: grid; place-items: center; color: var(--muted); cursor: pointer;
  }
  .cell.paid { background: linear-gradient(160deg, #62d993, #1fa25a); border: 0; color: #fff; box-shadow: 0 5px 10px -6px #1fa25a; }
  .cell.now { border-color: var(--brand); }
  .cell:disabled { cursor: default; }
  .cell.busy { opacity: .5; }
  .legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
  .legend span { display: inline-flex; align-items: center; gap: 6px; }

  /* ---------- Chart ---------- */
  .chart { position: relative; }
  .chart svg { width: 100%; height: auto; display: block; overflow: visible; }
  .chart .tip {
    position: absolute; pointer-events: none; background: var(--text); color: var(--bg); border-radius: 12px;
    padding: 8px 10px; font-size: 12px; white-space: nowrap; transform: translate(-50%, -100%); z-index: 2;
  }
  .chart .tip b { display: block; margin-bottom: 2px; }

  /* ---------- FAB, sheet, toast ---------- */
  .fab {
    position: fixed; right: 18px; bottom: calc(104px + env(safe-area-inset-bottom)); z-index: 21;
    width: 58px; height: 58px; border-radius: 19px; border: 0; color: #fff; overflow: hidden;
    background: linear-gradient(160deg, #63b0ff, #2f7de1); box-shadow: 0 12px 24px -8px #2f7de1;
    display: grid; place-items: center; cursor: pointer;
  }
  .backdrop { position: fixed; inset: 0; background: rgba(15, 30, 55, .45); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
  .sheet {
    background: var(--surface); width: 100%; max-width: 640px; border-radius: 26px 26px 0 0;
    padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto;
    animation: up .2s ease-out;
  }
  @keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 12px; }
  .sheet h3 { margin: 0 0 14px; font-size: 19px; font-weight: 800; color: var(--brand-dark); }
  .field { margin-bottom: 12px; }
  .field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 5px; font-weight: 700; }
  .field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font-size: 16px;
  }
  .field input:focus, .field select:focus, .field textarea:focus, .search:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .chip { border: 0; background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
  .btn {
    width: 100%; padding: 14px; border-radius: 16px; border: 0; color: #fff;
    background: linear-gradient(160deg, #5aa8ff, #2f7de1); box-shadow: 0 10px 20px -10px #2f7de1;
    font-weight: 800; font-size: 15px; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px;
  }
  .btn.ghost { background: var(--surface-2); color: var(--text); box-shadow: none; }
  .btn.danger { background: none; color: var(--danger); border: 1.5px solid var(--line); box-shadow: none; }
  .btn:disabled { opacity: .6; }
  .btns { display: grid; gap: 10px; margin-top: 8px; }
  .weeks8 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 14px; }
  .weeks8 div { border-radius: 12px; padding: 8px 4px; text-align: center; font-size: 12px; background: var(--surface-2); color: var(--text-2); }
  .weeks8 div.ok { background: var(--ok-soft); color: var(--ok); font-weight: 700; }
  .kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); gap: 12px; }
  .kv span:first-child { color: var(--text-2); }
  .kv span:last-child { text-align: right; font-weight: 700; }

  #toast {
    position: fixed; left: 50%; bottom: calc(170px + env(safe-area-inset-bottom)); transform: translateX(-50%);
    background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 14px; z-index: 60;
    font-size: 14px; font-weight: 700; max-width: calc(100% - 32px); text-align: center;
  }
  #toast.err { background: var(--danger); color: #fff; }
  .loading { display: flex; justify-content: center; padding: 40px 0; }
  .spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); animation: sp .8s linear infinite; }
  .btn .spin { width: 18px; height: 18px; border-width: 2px; border-color: rgba(255, 255, 255, .4); border-top-color: currentColor; }
  @keyframes sp { to { transform: rotate(360deg); } }

  /* ---------- Demo & aktivasi ---------- */
  .offline-note { text-align: center; margin: 14px 0 0; }
  .demo-badge {
    border: 0; cursor: pointer; font-weight: 800; font-size: 12.5px; padding: 6px 12px; border-radius: 999px;
    background: linear-gradient(160deg, #ffd76e, #f0a316); color: #4a3000; box-shadow: 0 6px 14px -8px #f0a316;
    margin: -16px auto 22px; display: inline-block;
  }
  .demo-strip {
    display: block; width: calc(100% - 32px); max-width: 608px; margin: 10px auto 0; border: 0; cursor: pointer;
    padding: 8px 12px; border-radius: 14px; font-weight: 800; font-size: 12.5px; text-align: center;
    background: linear-gradient(160deg, #ffe7a3, #ffd06a); color: #4a3000;
  }
  .login-head .demo-badge { display: inline-block; }
  .lock {
    position: fixed; inset: 0; z-index: 80; overflow-y: auto; display: flex; align-items: center; justify-content: center;
    padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, var(--bg-top) 0, var(--bg) 320px) no-repeat, var(--bg);
  }
  .lock.lock-soft { background: rgba(15, 30, 55, .5); }
  .lock-card { width: 100%; max-width: 420px; background: var(--surface); border-radius: 26px; padding: 22px 18px; box-shadow: var(--shadow); text-align: center; }
  .lock-logo { width: 96px; height: 96px; object-fit: contain; display: block; margin: 0 auto 8px; }
  .lock-card h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: var(--brand-dark); }
  .lock-text { color: var(--text-2); margin: 0 0 16px; }
  .lock-contact { display: flex; flex-direction: column; align-items: center; margin-bottom: 12px; }
  .lock-contact span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
  .lock-contact b { font-size: 24px; font-weight: 800; letter-spacing: .02em; color: var(--text); font-variant-numeric: tabular-nums; }
  .lock-id {
    display: flex; align-items: center; gap: 10px; justify-content: space-between; text-align: left;
    background: var(--surface-2); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px;
  }
  .lock-id span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
  .lock-id b { flex: 1; font: 700 17px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; }
  .lock-card .field { text-align: left; }
  .lock-card #lockKode { text-transform: uppercase; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; text-align: center; }
  .lock-err { color: var(--danger); font-weight: 700; font-size: 13px; margin: -4px 0 10px; }
  .list li .gi { width: 40px; height: 40px; border-radius: 13px; }