:root { color-scheme: light dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; background: #0f172a; color: #e5e7eb; }
.shell { max-width: 860px; margin: 0 auto; padding: 24px; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.eyebrow { margin: 0 0 4px; color: #93c5fd; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
h1, h2 { margin: 0; }
button { border: 0; border-radius: 12px; padding: 10px 14px; background: #2563eb; color: white; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
.card { background: rgba(15, 23, 42, .88); border: 1px solid rgba(148, 163, 184, .22); border-radius: 20px; padding: 18px; margin: 14px 0; box-shadow: 0 18px 60px rgba(0,0,0,.25); }
.label, .muted { color: #94a3b8; font-size: 14px; }
.balance { margin: 10px 0; font-size: 42px; font-weight: 800; color: #f8fafc; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ledger { display: grid; gap: 10px; }
.ledger-row { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; background: #111827; border: 1px solid rgba(148, 163, 184, .18); }
.ledger-row strong { display: block; color: #f8fafc; }
.ledger-row span, .ledger-row small { display: block; color: #94a3b8; margin-top: 3px; }
.amount { font-size: 18px; font-weight: 800; }
.plus { color: #22c55e; }
.minus { color: #f87171; }
.empty { color: #94a3b8; padding: 22px; text-align: center; border: 1px dashed rgba(148, 163, 184, .28); border-radius: 14px; }
pre { white-space: pre-wrap; word-break: break-word; margin: 0; color: #cbd5e1; }
@media (prefers-color-scheme: light) { body { background: #eef2ff; color: #0f172a; } .card { background: white; } .ledger-row { background: #f8fafc; color: #0f172a; } .balance, .ledger-row strong { color: #0f172a; } }
