/* Catatan Keuangan Bu Yati — gaya mengikuti desain FigCraft "UI Awal". */
:root {
  --bg: #F7F3EE;
  --surface: #FFFFFF;
  --ink: #1E2422;
  --muted: #6E736F;
  --faint: #8C908B;
  --line: #E9E2D8;
  --line-soft: #F0EAE1;
  --seg: #EDE6DC;
  --brand: #1F5F52;
  --brand-soft: #E3EFEA;
  --masuk: #2F8A5F;
  --masuk-soft: #E4F3EA;
  --masuk-ink: #22694A;
  --keluar: #C4553B;
  --keluar-soft: #FBE9E3;
  --keluar-ink: #9A4330;
  --amber: #D9932B;
  --amber-soft: #FBF0DC;
  --amber-ink: #8A5A12;
  --radius: 20px;
  --nav-h: 72px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font-size: 16px; } /* mencegah zoom otomatis di iPhone */
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.tersembunyi { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.angka { font-variant-numeric: tabular-nums; }

#app { max-width: 480px; margin: 0 auto; min-height: 100dvh; position: relative; }
.memuat-awal { min-height: 100dvh; display: grid; place-items: center; }
.spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--brand);
  animation: putar .8s linear infinite;
}
.spinner.kecil { width: 18px; height: 18px; border-width: 2px; }
@keyframes putar { to { transform: rotate(360deg); } }

/* ---------- Kerangka layar ---------- */
.layar { padding: calc(var(--safe-top) + 16px) 20px calc(var(--nav-h) + var(--safe-bottom) + 28px); display: flex; flex-direction: column; gap: 16px; }
.layar.tanpa-nav { padding-bottom: calc(var(--safe-bottom) + 28px); }
.judul-layar { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin: 0; }
.sub { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.baris { display: flex; align-items: center; gap: 12px; }
.baris.antara { justify-content: space-between; }
.isi { flex: 1; min-width: 0; }
.potong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.kartu { background: var(--surface); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.kartu.rapat { padding: 0; gap: 0; overflow: hidden; }
.kartu h2, .judul-kartu { font-size: 17px; font-weight: 700; margin: 0; }
.tautan { color: var(--brand); font-weight: 600; font-size: 14px; }

.tombol-bulat {
  width: 44px; height: 44px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; flex: none; color: var(--ink); text-decoration: none;
}
.tombol-bulat svg { width: 22px; height: 22px; }

.pemilih-bulan { display: inline-flex; align-items: center; gap: 6px; }
.pemilih-bulan button { width: 32px; height: 36px; display: grid; place-items: center; color: var(--muted); font-size: 24px; border-radius: 10px; }
.pemilih-bulan button:disabled { color: var(--line); cursor: default; }
.pemilih-bulan .label-bulan { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.pil-bulan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 2px 4px; }
.pil-bulan .label-bulan { font-size: 15px; font-weight: 700; }
.pil-bulan button { width: 28px; height: 32px; font-size: 18px; }

/* ---------- Tombol ---------- */
.tombol {
  min-height: 52px; border-radius: 16px; padding: 0 18px; font-weight: 700; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  transition: transform .1s ease, opacity .15s;
}
.tombol:active { transform: scale(.98); }
.tombol:disabled { opacity: .55; cursor: default; }
.tombol.utama { background: var(--brand); color: #fff; }
.tombol.garis { background: var(--surface); color: var(--brand); border: 1.5px solid var(--brand); }
.tombol.bahaya { background: var(--keluar-soft); color: var(--keluar-ink); }
.tombol.tipis { min-height: 46px; font-size: 15px; border-radius: 14px; }
.tombol.putus { border: 1.5px dashed var(--brand); color: var(--brand); background: transparent; }
.dua-tombol { display: flex; gap: 10px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.chip.aktif { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.chip.lembut { background: var(--bg); border-color: transparent; font-weight: 600; }
.deret-chip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.deret-chip::-webkit-scrollbar { display: none; }
.chip select { border: 0; background: transparent; appearance: none; -webkit-appearance: none; font-size: 14px; font-weight: 500; padding-right: 2px; max-width: 160px; }

.lencana { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.lencana.hijau { background: var(--masuk-soft); color: var(--masuk-ink); }
.lencana.abu { background: var(--line-soft); color: var(--muted); }
.lencana.amber { background: var(--amber-soft); color: var(--amber-ink); }
.lencana.merah { background: var(--keluar-soft); color: var(--keluar-ink); }

.segmen { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: var(--seg); }
.segmen button { flex: 1; min-height: 44px; border-radius: 12px; font-weight: 500; color: var(--muted); font-size: 15px; }
.segmen button.aktif { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(30, 36, 34, .08); }
.segmen.jenis button.aktif.keluar { background: var(--keluar); color: #fff; box-shadow: 0 2px 6px rgba(196, 85, 59, .25); }
.segmen.jenis button.aktif.masuk { background: var(--masuk); color: #fff; box-shadow: 0 2px 6px rgba(47, 138, 95, .25); }

/* ---------- Navigasi bawah ---------- */
.nav {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 20;
  width: 100%; max-width: 480px; background: var(--surface); border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; align-items: center;
  padding: 8px 6px calc(var(--safe-bottom) + 8px); min-height: var(--nav-h);
}
.nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px; width: 64px; min-height: 48px; justify-content: center;
  color: var(--faint); text-decoration: none; font-size: 12px; font-weight: 500;
}
.nav a svg { width: 24px; height: 24px; }
.nav a.aktif { color: var(--brand); font-weight: 700; }
.nav .fab {
  width: 58px; height: 48px; border-radius: 24px; background: var(--brand); color: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 12px rgba(31, 95, 82, .3);
}
.nav .fab svg { width: 26px; height: 26px; }

/* ---------- Login ---------- */
.login { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: calc(var(--safe-top) + 64px) 24px calc(var(--safe-bottom) + 24px); text-align: center; }
.logo { width: 72px; height: 72px; border-radius: 22px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 26px; position: relative; }
.logo::after { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #E8A33D; top: 12px; right: 12px; }
.login h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.4px; margin: 24px 0 6px; }
.login .sub { font-size: 16px; }
.titik-pin { display: flex; gap: 16px; margin: 32px 0 12px; }
.titik-pin span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #B9B2A8; }
.titik-pin span.isi { background: var(--brand); border-color: var(--brand); }
.titik-pin.goyang { animation: goyang .35s; }
@keyframes goyang { 25% { transform: translateX(-8px); } 50% { transform: translateX(8px); } 75% { transform: translateX(-4px); } }
.pesan-pin { min-height: 22px; color: var(--keluar); font-size: 14px; font-weight: 600; }
.keypad { display: grid; grid-template-columns: repeat(3, 76px); gap: 18px 30px; margin-top: 16px; }
.keypad button { width: 76px; height: 76px; border-radius: 50%; background: var(--surface); font-size: 28px; font-weight: 500; box-shadow: 0 1px 2px rgba(30, 36, 34, .08); }
.keypad button:active { background: var(--seg); }
.keypad button.polos { background: none; box-shadow: none; font-size: 16px; color: var(--muted); }
.keypad .kosong { visibility: hidden; }
.catatan-login { margin-top: auto; padding-top: 24px; font-size: 13px; color: var(--muted); }

/* ---------- Beranda ---------- */
.kepala { display: flex; justify-content: space-between; align-items: center; }
.kepala .halo { color: var(--muted); font-size: 15px; }
.kartu-sisa { background: var(--brand); color: #fff; border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.kartu-sisa .label { color: #CFE3DC; font-size: 15px; font-weight: 500; }
.kartu-sisa .nilai { font-size: 34px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.15; }
.kartu-sisa .nilai.minus { color: #FFD2C4; }
.kartu-sisa .banding { align-self: flex-start; background: rgba(255, 255, 255, .15); color: #FFE2B8; border-radius: 13px; padding: 4px 10px; font-size: 13px; font-weight: 600; }
.kartu-sisa .dua { display: flex; gap: 10px; margin-top: 8px; }
.kartu-sisa .dua > div { flex: 1; background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.kartu-sisa .dua .k { font-size: 13px; font-weight: 600; }
.kartu-sisa .dua .v { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.donat-wrap { display: flex; align-items: center; gap: 18px; }
.donat { width: 124px; height: 124px; flex: none; position: relative; }
.donat svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donat .tengah { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 14px; text-align: center; }
.legenda { flex: 1; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.legenda .item { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.legenda .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.legenda .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legenda .pc { font-weight: 700; }

.batang-harian { display: flex; align-items: flex-end; gap: 3px; height: 92px; }
.batang-harian div { flex: 1; background: #EBC2B5; border-radius: 3px 3px 1px 1px; min-height: 2px; }
.batang-harian div.puncak { background: var(--keluar); }
.batang-harian div.nol { background: var(--line-soft); }
.sumbu { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); }

.tren { display: flex; justify-content: space-between; align-items: flex-end; }
.tren .kol { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); }
.tren .kol.ini { color: var(--ink); font-weight: 700; }
.tren .bt { display: flex; gap: 4px; align-items: flex-end; height: 100px; }
.tren .bt div { width: 14px; border-radius: 4px 4px 1px 1px; min-height: 2px; }
.leg-mini { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.leg-mini i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.ubin3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ubin3 > div { border-radius: 14px; padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; cursor: pointer; }
.ubin3 .k { font-size: 12px; font-weight: 600; }
.ubin3 .v { font-size: 15px; font-weight: 800; letter-spacing: -0.2px; white-space: nowrap; }
.info-baris { display: flex; gap: 10px; align-items: center; background: var(--bg); border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 500; }
.info-baris .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }

.banner-pasang { background: var(--amber-soft); border-radius: 16px; padding: 14px; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.banner-pasang b { display: block; font-size: 15px; }
.banner-pasang .tutup { color: var(--amber-ink); font-size: 22px; width: 32px; height: 32px; flex: none; }

/* ---------- Daftar transaksi ---------- */
.trx { display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 100%; text-align: left; border-bottom: 1px solid var(--line-soft); }
.trx:last-child { border-bottom: 0; }
.trx:active { background: var(--bg); }
.ikon-kotak { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex: none; }
.ikon-kotak.keluar { background: var(--keluar-soft); }
.ikon-kotak.masuk { background: var(--masuk-soft); }
.ikon-kotak.amber { background: var(--amber-soft); }
.trx .judul { font-size: 15px; font-weight: 600; }
.trx .meta { font-size: 13px; color: var(--muted); }
.trx .nom { font-size: 15px; font-weight: 700; white-space: nowrap; }
.nom.keluar, .merah { color: var(--keluar); }
.nom.masuk, .hijau { color: var(--masuk); }
.label-ref { display: inline-block; margin-top: 3px; background: var(--amber-soft); color: var(--amber-ink); font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 6px; }
.kepala-tanggal { display: flex; justify-content: space-between; padding: 6px 4px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.ringkas2 { display: flex; gap: 12px; }
.ringkas2 > div { flex: 1; min-width: 0; }
.ringkas2 .k { font-size: 13px; color: var(--muted); font-weight: 500; }
.ringkas2 .v { font-size: 17px; font-weight: 800; white-space: nowrap; }
.pemisah-v { width: 1px; background: var(--line); }
.cari { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; height: 48px; }
.cari input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; }
.cari svg { width: 20px; height: 20px; color: var(--faint); flex: none; }

.kosong-state { text-align: center; color: var(--muted); padding: 28px 16px; font-size: 15px; }
.kosong-state .emo { font-size: 36px; display: block; margin-bottom: 8px; }

/* ---------- Hutang & arisan ---------- */
.total-hutang { border-radius: 20px; padding: 16px 18px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.total-hutang.hutang { background: var(--keluar); }
.total-hutang.piutang { background: var(--masuk); }
.total-hutang .k { font-size: 14px; opacity: .85; font-weight: 500; }
.total-hutang .v { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.total-hutang .lencana { background: rgba(255, 255, 255, .2); color: #fff; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; }
.avatar.merah { background: var(--keluar-soft); color: var(--keluar-ink); }
.avatar.hijau { background: var(--masuk-soft); color: var(--masuk-ink); }
.avatar.abu { background: var(--seg); color: var(--faint); }
.kartu-hutang { text-align: left; width: 100%; }
.kartu-hutang.lunas { background: rgba(255, 255, 255, .6); }
.nama { font-size: 16px; font-weight: 700; }
.tempo { font-size: 13px; color: var(--muted); }
.tempo.dekat { color: #B57615; font-weight: 600; }
.tempo.lewat { color: var(--keluar); font-weight: 700; }
.sisa-kanan { text-align: right; flex: none; }
.sisa-kanan .k { font-size: 12px; color: var(--muted); }
.sisa-kanan .v { font-size: 16px; font-weight: 800; }
.progres { height: 8px; background: var(--line-soft); border-radius: 4px; overflow: hidden; }
.progres > div { height: 100%; background: var(--masuk); border-radius: 4px; }
.progres.amber { background: #F3E3C4; }
.progres.amber > div { background: var(--amber); }
.kecil-muted { font-size: 13px; color: var(--muted); }
.nilai-besar { font-size: 34px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.15; }
.titik-arisan { display: flex; flex-wrap: wrap; gap: 8px; }
.titik-arisan span { width: 18px; height: 18px; border-radius: 50%; background: #F3E3C4; }
.titik-arisan span.isi { background: var(--amber); }

.bilah-atas { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bilah-atas h1 { font-size: 18px; font-weight: 800; margin: 0; text-align: center; flex: 1; }

/* ---------- Pengaturan ---------- */
.daftar-set { background: var(--surface); border-radius: 18px; overflow: hidden; }
.daftar-set > * { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); width: 100%; text-align: left; min-height: 56px; }
.daftar-set > *:last-child { border-bottom: 0; }
.daftar-set .ikon { font-size: 20px; width: 28px; text-align: center; }
.daftar-set .nonaktif { opacity: .5; }
.label-seksi { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin: 8px 4px -6px; }

/* ---------- Sheet & layar penuh ---------- */
.latar { position: fixed; inset: 0; background: rgba(30, 36, 34, .5); z-index: 40; animation: muncul .2s ease; }
@keyframes muncul { from { opacity: 0; } }
.sheet {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 41; width: 100%; max-width: 480px;
  background: var(--surface); border-radius: 28px 28px 0 0; max-height: 92dvh; overflow-y: auto;
  padding: 10px 20px calc(var(--safe-bottom) + 24px); display: flex; flex-direction: column; gap: 16px;
  animation: naik .25s cubic-bezier(.2, .8, .2, 1);
}
@keyframes naik { from { transform: translate(-50%, 100%); } }
.sheet .pegangan { width: 40px; height: 5px; border-radius: 3px; background: #D9D2C8; align-self: center; flex: none; }
.sheet h2 { font-size: 20px; font-weight: 800; margin: 0; }
.layar-penuh {
  position: fixed; inset: 0; z-index: 45; background: var(--bg); overflow-y: auto;
  animation: naik-penuh .25s cubic-bezier(.2, .8, .2, 1);
}
.layar-penuh > .dalam { max-width: 480px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; gap: 16px; padding: calc(var(--safe-top) + 12px) 20px calc(var(--safe-bottom) + 20px); }
@keyframes naik-penuh { from { transform: translateY(40px); opacity: 0; } }
.kaki-lengket { position: sticky; bottom: 0; margin: auto -20px calc(-1 * (var(--safe-bottom) + 20px)); padding: 10px 20px calc(var(--safe-bottom) + 20px); background: var(--bg); }

/* ---------- Formulir ---------- */
.kotak-nominal { background: var(--surface); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sheet .kotak-nominal { background: var(--bg); align-items: stretch; }
.kotak-nominal label { font-size: 14px; color: var(--muted); font-weight: 600; }
.input-nominal { width: 100%; border: 0; outline: 0; background: transparent; text-align: center; font-size: 40px; font-weight: 800; letter-spacing: -1px; padding: 0; caret-color: var(--keluar); }
.sheet .input-nominal { text-align: left; font-size: 32px; }
.input-nominal::placeholder { color: #CFC7BC; }
.grid-kategori { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.grid-kategori button {
  background: var(--surface); border-radius: 16px; padding: 10px 4px; min-height: 92px; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; line-height: 1.25; border: 2px solid transparent;
  text-align: center; overflow-wrap: anywhere;
}
.grid-kategori button .e { font-size: 26px; line-height: 1.1; }
.grid-kategori button.pilih.keluar { background: var(--keluar-soft); border-color: var(--keluar); color: var(--keluar-ink); font-weight: 700; }
.grid-kategori button.pilih.masuk { background: var(--masuk-soft); border-color: var(--masuk); color: var(--masuk-ink); font-weight: 700; }
.isian { background: var(--surface); border-radius: 16px; overflow: hidden; }
.sheet .isian { border: 1px solid var(--line); }
.isian > label, .isian > .bidang { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); }
.isian > label:last-child, .isian > .bidang:last-child { border-bottom: 0; }
.isian .lbl { color: var(--muted); font-size: 15px; flex: none; }
.isian input, .isian select, .isian textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; text-align: right; font-weight: 600; padding: 14px 0; }
.isian input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 24px; }
.isian input::-webkit-date-and-time-value { text-align: right; }
.isian .cek { justify-content: space-between; }
.isian input[type="checkbox"] { flex: none; width: 24px; height: 24px; accent-color: var(--brand); }
.info-amber { background: var(--amber-soft); color: #5E4310; border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.4; }
.galat { background: var(--keluar-soft); color: var(--keluar-ink); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.label-form { font-size: 16px; font-weight: 700; }

/* ---------- Toast & offline ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-bottom) + 16px); transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 15px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; max-width: calc(100% - 40px); text-align: center;
}
#toast.tampil { opacity: 1; transform: translate(-50%, 0); }
#toast.galat { background: var(--keluar-ink); }
.pita-offline { background: var(--amber-soft); color: var(--amber-ink); font-size: 13px; font-weight: 600; text-align: center; padding: 8px 12px; border-radius: 12px; }
.memuat-isi { display: grid; place-items: center; padding: 48px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
