html, body, * { touch-action: manipulation; }
/* ============================================================
   styles.css — Putih bersih + aksen ungu & abu-abu, glass halus
   ============================================================ */
:root {
  --p-700: #6d28d9; --p-600: #7c3aed; --p-500: #8b5cf6; --p-400: #a78bfa; --p-300: #c4b5fd; --p-200: #ddd6fe; --p-100: #ede9fe; --p-50: #f5f3ff;
  --g-900: #1f2937; --g-800: #2b3340; --g-700: #374151; --g-600: #4b5563; --g-500: #6b7280; --g-400: #9ca3af; --g-300: #d1d5db; --g-200: #e5e7eb; --g-100: #f3f4f6; --g-50: #f9fafb;
  --in: #0e9f7e; --in-bg: #e6f7f2; --out: #be3a5b; --out-bg: #fdeef2;
  --bg: #ffffff; --card: #ffffff; --ink: var(--g-900); --muted: var(--g-500);
  --radius: 22px; --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(31, 41, 55, .04), 0 8px 24px -12px rgba(76, 29, 149, .18);
  --glow: 0 10px 30px -8px rgba(124, 58, 237, .55);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --nav-h: 68px;
  --ease: cubic-bezier(.22, .9, .3, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
body {
  font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.4; -webkit-font-smoothing: antialiased; overscroll-behavior-y: none;
  font-variant-numeric: tabular-nums; letter-spacing: -.005em;
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, select { font: inherit; color: inherit; }
.hidden { display: none !important; }
h1, h2, h3, p { margin: 0; }

/* ---------- Glass ---------- */
.glass {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(229, 231, 235, .7);
}

/* ---------- Layout ---------- */
.app { height: 100%; display: flex; flex-direction: column; }
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; padding: calc(10px + var(--safe-t)) 18px 10px;
  display: flex; align-items: center; justify-content: space-between; border-width: 0 0 1px 0;
}
.top-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.top-sub { font-size: 12px; color: var(--muted); min-height: 16px; }
.icon-btn { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: var(--p-600); background: var(--p-50); transition: transform .2s var(--ease), background .2s; }
.icon-btn:active { transform: scale(.92); background: var(--p-100); }
.icon-btn.spin svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

#main { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: calc(70px + var(--safe-t)) 16px calc(var(--nav-h) + var(--safe-b) + 28px); }
.view { animation: viewIn .35s var(--ease); max-width: 640px; margin: 0 auto; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ptr { position: fixed; top: calc(62px + var(--safe-t)); left: 0; right: 0; height: 0; z-index: 15; display: flex; justify-content: center; overflow: hidden; pointer-events: none; transition: height .2s; }
.ptr span { margin-top: 10px; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--p-200); border-top-color: var(--p-600); }
.ptr.on span { animation: spin .7s linear infinite; }

/* ---------- Bottom nav ---------- */
.bottomnav {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); height: var(--nav-h); z-index: 30; border-radius: 26px;
  display: grid; grid-template-columns: 1fr 1fr 76px 1fr 1fr; align-items: center; box-shadow: 0 12px 36px -12px rgba(76, 29, 149, .28);
  max-width: 560px; margin: 0 auto;
}
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; color: var(--g-400); font-size: 11px; font-weight: 600; transition: color .2s; }
.nav-item svg { width: 24px; height: 24px; transition: transform .25s var(--ease); }
.nav-item.active { color: var(--p-600); }
.nav-item.active svg { transform: translateY(-2px) scale(1.06); }
.nav-fab-slot { display: grid; place-items: center; }
.fab {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin-top: -30px;
  background: linear-gradient(135deg, var(--p-700), var(--p-500) 60%, var(--p-400)); box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35);
  border: 4px solid #fff; transition: transform .2s var(--ease), box-shadow .2s;
}
.fab:active { transform: scale(.92); }

/* ---------- Kartu & umum ---------- */
.card { background: var(--card); border: 1px solid var(--g-200); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.section-title { font-size: 13px; font-weight: 700; color: var(--g-500); text-transform: uppercase; letter-spacing: .06em; margin: 22px 4px 10px; display: flex; justify-content: space-between; align-items: center; }
.section-title a, .link { color: var(--p-600); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 13px; cursor: pointer; }
.muted { color: var(--muted); }
.row { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.right { text-align: right; }

/* ---------- Chip periode ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; margin: 0 -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 9px 15px; border-radius: 999px; background: var(--g-100); color: var(--g-600); font-weight: 600; font-size: 13.5px;
  border: 1px solid transparent; transition: all .2s var(--ease); min-height: 40px; display: inline-flex; align-items: center; gap: 6px;
}
.chip.active { background: var(--p-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(124, 58, 237, .6); }
.chip:active { transform: scale(.96); }
.chip.soft { background: var(--p-50); color: var(--p-700); }
.chip.soft.active { background: var(--p-600); color: #fff; }
.custom-range { display: flex; gap: 8px; margin-top: 8px; animation: viewIn .25s var(--ease); }
.custom-range input { flex: 1; min-width: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; border-radius: 28px; padding: 20px 20px 18px; margin-top: 8px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, .28), transparent 50%), linear-gradient(140deg, #5b21b6 0%, var(--p-600) 45%, var(--p-400) 100%);
  box-shadow: 0 22px 40px -18px rgba(91, 33, 182, .65);
}
.hero::before { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; bottom: -90px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.hero::after { content: ""; position: absolute; width: 120px; height: 120px; left: -40px; top: -50px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.hero-label { font-size: 13px; opacity: .85; font-weight: 500; }
.hero-amount { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 2px 0 14px; position: relative; z-index: 1; }
.hero-amount.neg { color: #fde2e8; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; z-index: 1; }
.hero-box { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 16px; padding: 10px 12px; }
.hero-box .l { font-size: 12px; opacity: .85; display: flex; align-items: center; gap: 5px; }
.hero-box .v { font-size: 16.5px; font-weight: 700; margin-top: 2px; }
.hero-box .d { font-size: 11.5px; opacity: .85; margin-top: 2px; }
.delta-up { color: #fecdd3; } .delta-down { color: #bbf7d0; }

/* ---------- Budget ---------- */
.bar { height: 10px; border-radius: 99px; background: var(--g-100); overflow: hidden; margin: 10px 0 8px; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--p-500), var(--p-400)); transition: width .8s var(--ease); }
.bar.over > i { background: linear-gradient(90deg, #e11d48, #fb7185); }

/* ---------- Insight ---------- */
.insights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.insight { border: 1px solid var(--g-200); border-radius: 18px; padding: 13px; background: linear-gradient(180deg, #fff, var(--g-50)); }
.insight .k { font-size: 11.5px; font-weight: 700; color: var(--g-500); text-transform: uppercase; letter-spacing: .05em; }
.insight .v { font-size: 17px; font-weight: 750; margin-top: 4px; line-height: 1.2; }
.insight .s { font-size: 12px; color: var(--muted); margin-top: 3px; }
.insight.wide { grid-column: 1 / -1; background: linear-gradient(135deg, var(--p-50), #fff); border-color: var(--p-100); }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.pill.up { background: var(--out-bg); color: var(--out); } .pill.down { background: var(--in-bg); color: var(--in); } .pill.flat { background: var(--g-100); color: var(--g-600); }

/* ---------- Daftar transaksi ---------- */
.list { display: flex; flex-direction: column; }
.day-head { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--g-500); margin: 16px 6px 6px; }
.tx { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 16px; width: 100%; text-align: left; transition: background .15s; animation: viewIn .3s var(--ease) both; }
.tx:active { background: var(--p-50); }
.tx-ico { width: 44px; height: 44px; border-radius: 15px; background: var(--g-100); display: grid; place-items: center; font-size: 21px; flex: none; }
.tx-ico.in { background: var(--in-bg); }
.tx-main { flex: 1; min-width: 0; display: block; }
.tx-title { display: block; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-amt { font-weight: 750; white-space: nowrap; }
.tx-amt.in { color: var(--in); } .tx-amt.out { color: var(--g-800); }
.tx.deleted { opacity: .55; } .tx.deleted .tx-title { text-decoration: line-through; }
.tag-auto { font-size: 10px; font-weight: 700; color: var(--p-600); background: var(--p-50); border-radius: 6px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; }
.more-btn { display: block; margin: 14px auto 0; padding: 11px 20px; border-radius: 14px; background: var(--p-50); color: var(--p-700); font-weight: 700; }

/* ---------- Input ---------- */
.field { width: 100%; border: 1.5px solid var(--g-200); background: #fff; border-radius: 14px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; min-height: 48px; }
.field:focus { border-color: var(--p-400); box-shadow: 0 0 0 4px rgba(139, 92, 246, .15); }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--g-400); }
.search .field { padding-left: 42px; background: var(--g-50); }

/* ---------- Bottom sheet ---------- */
.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(31, 41, 55, .38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fadeIn .25s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 94dvh; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 28px 28px 0 0;
  padding: 10px 0 0; box-shadow: 0 -20px 50px -20px rgba(31, 41, 55, .35); animation: sheetIn .35s var(--ease); max-width: 640px; margin: 0 auto;
}
.sheet.closing { animation: sheetOut .22s ease-in forwards; }
.sheet-body { overflow-y: auto; padding: 0 18px 18px; flex: 1 1 auto; -webkit-overflow-scrolling: touch; }
.sheet-body.no-foot { padding-bottom: calc(18px + var(--safe-b)); }
.sheet-foot { padding: 4px 18px calc(14px + var(--safe-b)); background: #fff; box-shadow: 0 -12px 18px -14px rgba(31,41,55,.18); flex: none; }
.sheet-foot .btn.primary { margin-top: 4px; }
.grab { flex: none; width: 44px; height: 5px; background: var(--g-200); border-radius: 9px; margin: 0 auto 12px; }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetOut { to { transform: translateY(100%); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sheet h2 { font-size: 18px; font-weight: 750; margin-bottom: 12px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--g-100); border-radius: 16px; padding: 4px; margin-bottom: 14px; position: relative; }
.seg button { padding: 11px; border-radius: 12px; font-weight: 700; color: var(--g-500); position: relative; z-index: 1; transition: color .2s; }
.seg button.active { color: #fff; }
.seg i { position: absolute; top: 4px; bottom: 4px; width: calc(50% - 4px); left: 4px; border-radius: 12px; background: linear-gradient(135deg, var(--p-600), var(--p-500)); transition: transform .3s var(--ease); box-shadow: 0 6px 14px -6px rgba(124, 58, 237, .7); }
.seg.in-mode i { transform: translateX(100%); background: linear-gradient(135deg, #0b8a6d, #12b48f); box-shadow: 0 6px 14px -6px rgba(14, 159, 126, .7); }

.amount-box { text-align: center; padding: 6px 0 14px; }
.amount-wrap { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.amount-wrap .cur { font-size: 22px; font-weight: 700; color: var(--g-400); }
.amount-input { border: 0; outline: 0; font-size: 42px; font-weight: 800; text-align: left; width: 2ch; max-width: 80%; padding: 0; background: transparent; letter-spacing: -.03em; color: var(--ink); min-width: 0; }
.amount-input::placeholder { color: var(--g-300); }
.lbl { font-size: 12px; font-weight: 700; color: var(--g-500); text-transform: uppercase; letter-spacing: .05em; margin: 14px 2px 7px; }
.err { color: var(--out); font-size: 13px; font-weight: 600; margin-top: 6px; min-height: 18px; }
.period-line { display: flex; align-items: center; justify-content: space-between; background: var(--g-50); border: 1px dashed var(--g-300); border-radius: 14px; padding: 10px 12px; margin-top: 14px; font-size: 13px; color: var(--g-600); }
.period-edit { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: 8px; animation: viewIn .25s var(--ease); }
.btn { width: 100%; min-height: 54px; border-radius: 18px; font-weight: 750; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .15s var(--ease), opacity .2s; }
.btn:active { transform: scale(.98); }
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--p-700), var(--p-500)); box-shadow: var(--glow); margin-top: 16px; }
.btn.primary.in-mode { background: linear-gradient(135deg, #0b8a6d, #12b48f); box-shadow: 0 10px 30px -8px rgba(14, 159, 126, .55); }
.btn.ghost { background: var(--g-100); color: var(--g-700); }
.btn.danger { background: var(--out-bg); color: var(--out); }
.btn[disabled] { opacity: .65; pointer-events: none; }
.btn .sp { width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

.detail-amt { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 10px; margin-top: 14px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; word-break: break-word; }

/* ---------- Dialog konfirmasi ---------- */
.dialog { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(31, 41, 55, .45); padding: 24px; animation: fadeIn .2s; }
.dialog-card { background: #fff; border-radius: 24px; padding: 22px; width: 100%; max-width: 340px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4); animation: pop .3s var(--ease); }
.dialog-card h3 { font-size: 18px; font-weight: 750; margin-bottom: 6px; }
.dialog-card p { color: var(--g-600); font-size: 14px; margin-bottom: 16px; }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 34px); transform: translate(-50%, 20px); z-index: 90; opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 16px; font-weight: 650; font-size: 14px; color: #fff; background: rgba(31, 41, 55, .92); max-width: 88vw; text-align: center;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .25s, transform .3s var(--ease); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: linear-gradient(135deg, #5b21b6, #7c3aed); }
.toast.bad { background: linear-gradient(135deg, #9f1239, #e11d48); }

/* ---------- Grafik ---------- */
.chart-card { padding: 16px 12px 12px; }
.chart-card h3 { font-size: 15px; font-weight: 750; padding: 0 6px; }
.chart-card .sub { font-size: 12.5px; color: var(--muted); padding: 0 6px 8px; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-svg text { font-family: inherit; fill: var(--g-500); font-size: 10.5px; }
.bar-rect { transition: opacity .2s, height .6s var(--ease), y .6s var(--ease); cursor: pointer; }
.bar-rect:active { opacity: .7; }
.tip { min-height: 22px; text-align: center; font-size: 13px; font-weight: 650; color: var(--p-700); padding-top: 4px; }
.legend { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.legend-row { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 12px; width: 100%; text-align: left; }
.legend-row:active { background: var(--p-50); }
.dot { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.legend-row .n { flex: 1; font-weight: 600; }
.legend-row .p { color: var(--muted); font-size: 12.5px; width: 44px; text-align: right; }
.legend-row .a { font-weight: 700; min-width: 92px; text-align: right; }
.donut-wrap { display: grid; place-items: center; position: relative; }
.donut-center { position: absolute; text-align: center; pointer-events: none; }
.donut-center .a { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.donut-center .l { font-size: 12px; color: var(--muted); }
.mini-seg { display: inline-grid; grid-auto-flow: column; background: var(--g-100); border-radius: 12px; padding: 3px; float: right; }
.mini-seg button { padding: 6px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--g-500); }
.mini-seg button.active { background: #fff; color: var(--p-700); box-shadow: 0 2px 6px rgba(31, 41, 55, .12); }
.key-legend { display: flex; gap: 14px; justify-content: center; font-size: 12.5px; color: var(--g-600); margin-top: 4px; }
.key-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Kosong & skeleton ---------- */
.empty { text-align: center; padding: 38px 20px; color: var(--muted); }
.empty svg { width: 120px; height: auto; margin-bottom: 8px; }
.empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.skel { background: linear-gradient(90deg, var(--g-100) 25%, var(--g-50) 37%, var(--g-100) 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; border-radius: 14px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.banner { border-radius: 16px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; margin: 8px 0; }
.banner.warn { background: #fff7e6; color: #92400e; border: 1px solid #fde7b0; }
.banner.bad { background: var(--out-bg); color: var(--out); }

/* ---------- Pengaturan ---------- */
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--g-100); }
.set-row:last-child { border-bottom: 0; }
.set-row .t { font-weight: 650; } .set-row .d { font-size: 12.5px; color: var(--muted); }

/* ---------- Layar kunci ---------- */
.lock { position: fixed; inset: 0; z-index: 100; background: #fff; display: grid; place-items: center; padding: 24px; overflow: hidden; }
.lock-glow { position: absolute; width: 520px; height: 520px; top: -240px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .35), rgba(167, 139, 250, .12) 55%, transparent 70%); filter: blur(10px); }
.lock-card { position: relative; width: 100%; max-width: 330px; text-align: center; }
.lock-logo { width: 68px; height: 68px; border-radius: 22px; margin: 0 auto 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--p-700), var(--p-400)); box-shadow: var(--glow); }
.lock h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.lock-msg { color: var(--muted); margin: 6px 0 20px; min-height: 22px; font-size: 14px; }
.lock-msg.bad { color: var(--out); font-weight: 650; }
.pin-dots { display: flex; justify-content: center; gap: 14px; height: 18px; margin-bottom: 26px; }
.pin-dots i { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--p-300); transition: all .15s var(--ease); }
.pin-dots i.on { background: var(--p-600); border-color: var(--p-600); transform: scale(1.12); }
.pin-dots.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-9px); } 40%, 80% { transform: translateX(9px); } }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.keypad button { height: 66px; border-radius: 22px; font-size: 24px; font-weight: 650; background: var(--g-50); border: 1px solid var(--g-200); transition: transform .12s var(--ease), background .15s; }
.keypad button:active { transform: scale(.93); background: var(--p-100); }
.keypad button.ok { background: linear-gradient(135deg, var(--p-700), var(--p-500)); color: #fff; font-size: 17px; border: 0; }
.keypad.busy { opacity: .5; pointer-events: none; }

@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (min-width: 700px) { .bottomnav { left: 50%; transform: translateX(-50%); width: 560px; } }

* { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
