:root{--bg:#f6f5f2;--surface:#fff;--text:#1f2328;--muted:#667085;--border:#e3e1dc;--accent:#c2410c;--in:#15803d;--out:#b42318;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--bg:#15171a;--surface:#1e2125;--text:#e8e6e1;--muted:#9aa2ad;--border:#2f3338;--accent:#fb923c;--in:#4ade80;--out:#f97066}}*{box-sizing:border-box}body{margin:0}.muted{color:var(--muted)}.center{text-align:center;margin-top:20vh}.error{color:var(--out)}.empty{text-align:center;color:var(--muted);background:var(--surface);border:1px dashed var(--border);border-radius:12px;padding:32px 16px}.login{place-items:center;min-height:90vh;padding:16px;display:grid}.card{background:var(--surface);border:1px solid var(--border);border-radius:14px;gap:14px;width:100%;max-width:360px;padding:28px;display:grid}.card h1{color:var(--accent);margin:0}.card p{margin:0}label{color:var(--muted);gap:6px;font-size:14px;display:grid}input,select{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:10px 12px}button{font:inherit;color:#fff;background:var(--accent);cursor:pointer;border:0;border-radius:8px;padding:10px 14px;font-weight:600}button:disabled{opacity:.6}button.link{color:var(--accent);background:0 0;padding:0}.shell{max-width:960px;margin:0 auto;padding:16px}header{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding-bottom:12px;display:flex}header strong{color:var(--accent);font-size:18px}.brand-by{color:var(--muted);font-size:.6em;font-weight:400}header .muted{text-overflow:ellipsis;margin-left:auto;font-size:14px;overflow:hidden}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:12px;display:flex}.table-scroll{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid var(--border);padding:10px 14px}tbody tr:last-child td{border-bottom:0}th{color:var(--muted);font-weight:600}.amount{text-align:right;font-variant-numeric:tabular-nums}.tag{border:1px solid var(--border);border-radius:999px;padding:2px 8px;font-size:12px}.tag.ingreso{color:var(--in)}.tag.gasto{color:var(--out)}footer{text-align:center;padding:16px;font-size:12px}
