:root{--bg:#f6f7f5;--ink:#16181d;--muted:#5b6159;--line:#e6e8e3;--green:#1f6f54;--mint:#8fe0bc}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,system-ui,sans-serif}button{font:inherit;color:inherit;cursor:pointer}h1{margin:0;font-family:Space Grotesk,sans-serif;font-size:28px;font-weight:600}p{margin:0 0 8px}.signin{justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.app{max-width:520px;min-height:100vh;margin:0 auto;position:relative}.user{position:absolute;top:28px;right:20px}.screen{padding:0 20px calc(96px + env(safe-area-inset-bottom))}.head{padding:26px 0 14px}.sub,.muted{color:var(--muted);font-size:13px}.monthbar{align-items:center;gap:4px;margin-left:-12px;display:flex}.arrow{width:44px;height:44px;color:var(--muted);background:0 0;border:0;font-size:26px}.summary{background:var(--ink);color:#fff;border-radius:20px;flex-direction:column;gap:12px;padding:16px 18px;display:flex}.trio{justify-content:space-between;gap:8px;display:flex}.trio .r{text-align:right}.k{color:#b9beb6;font-size:12px}.v{font-family:Space Grotesk,sans-serif;font-size:20px}.v.pos{color:var(--mint)}.v.neg{color:#ffb4a8}.rule{background:#3a3e45;height:1px}.payday{color:#d7dbd4;background:#25282e;border-radius:10px;padding:10px 12px;font-size:13px}.payday b{color:#fff}.seg{background:#e9ebe6;border-radius:12px;gap:4px;margin-top:16px;padding:4px;display:flex}.seg button{min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:10px;flex:1;font-size:14px;font-weight:500}.seg button.on{color:var(--ink);background:#fff}.between{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.pad{padding:12px 0}.center{text-align:center}.lbl{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;justify-content:space-between;padding:18px 0 4px;font-size:12px;font-weight:600;display:flex}.list,.inner{margin:0;padding:0;list-style:none}.row{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;align-items:center;gap:12px;width:100%;min-height:52px;padding:11px 0;display:flex}.row.small{min-height:0;padding:8px 0 8px 12px;font-size:14px}.grow{flex-direction:column;flex:1;min-width:0;display:flex}.name{font-size:15px;font-weight:500}.note{color:var(--muted);font-size:12px}.amt{white-space:nowrap;font-size:15px;font-weight:500}.chev{color:var(--muted);font-size:20px;transition:transform .15s}.chev.down{transform:rotate(90deg)}.tick{border:2px solid #a9afa6;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.tick.paid{background:var(--green);border-color:var(--green)}.card{border:1px solid var(--line);background:#fff;border-radius:16px}.pad-card{flex-direction:column;gap:10px;padding:16px;display:flex}.note-card{flex-direction:column;gap:8px;margin-bottom:10px;padding:14px;display:flex}.note-card .lbl{padding:0}.tag{color:#164f3c;background:#e3f3eb;border-radius:8px;align-self:flex-start;padding:3px 8px;font-size:12px;font-weight:600}textarea{resize:vertical;border:1px solid #d5d9d2;border-radius:12px;width:100%;padding:10px 12px;font:15px Inter,sans-serif}.btn{background:#fff;border:1px solid #d5d9d2;border-radius:12px;min-height:44px;padding:0 16px;font-size:14px;font-weight:500}.btn.pri{background:var(--green);border-color:var(--green);color:#fff}.btn:disabled{opacity:.6}.link{min-height:32px;color:var(--green);background:0 0;border:0;align-self:flex-start;padding:0;font-size:13px}.error{color:#9b2c1f;background:#fceae7;border-radius:10px;padding:10px 12px;font-size:14px}.tabs{border-top:1px solid var(--line);padding:8px 8px calc(10px + env(safe-area-inset-bottom));background:#fff;justify-content:center;gap:4px;display:flex;position:fixed;bottom:0;left:0;right:0}.tabs button{min-height:44px;color:var(--muted);background:0 0;border:0;flex:0 120px;font-size:13px}.tabs button.on{color:var(--green);font-weight:600}
