*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;background:#f6f7f8;color:#1c1e21}button{font:inherit;cursor:pointer}input,select{font:inherit;padding:12px;border:1px solid #ddd;border-radius:10px;background:#fff;width:100%}.center{text-align:center;padding:48px 16px}.muted{color:#8a8f98}.error{color:#d33;font-size:14px}.link{background:none;border:none;color:#1f9d66;padding:8px}.link.small{font-size:13px;color:#8a8f98}.primary{background:#1f9d66;color:#fff;border:none;border-radius:10px;padding:13px;width:100%;font-weight:600}.primary:disabled{opacity:.6}.danger{background:none;color:#d33;border:1px solid #f0c0c0;border-radius:10px;padding:11px;width:100%}.card{background:#fff;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:0 1px 3px #0000000d}.auth{max-width:380px;margin:0 auto;padding:56px 20px 24px;text-align:center}.auth .logo{width:64px;height:64px;margin:0 auto 12px;border-radius:16px;background:#1f9d66;color:#fff;font-size:34px;font-weight:700;display:flex;align-items:center;justify-content:center}.auth h1{font-size:24px;margin:4px 0}.auth form{margin-top:20px;text-align:left}.tabs{display:flex;gap:8px;margin:16px 0}.tabs button{flex:1;padding:10px;border-radius:10px;border:1px solid #ddd;background:#fff}.tabs button.on{background:#1f9d66;border-color:#1f9d66;color:#fff;font-weight:600}.page{max-width:560px;margin:0 auto;padding:14px 14px 110px}header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.ledger-name{font-size:20px;font-weight:700}.invite{background:none;border:none;color:#1f9d66;font-size:13px;padding:2px 0}.summary{margin-bottom:8px}.month-nav{display:flex;justify-content:space-between;align-items:center;font-weight:600}.month-nav button{background:none;border:none;font-size:22px;padding:0 10px;color:#1f9d66}.totals{display:flex;justify-content:space-between;text-align:center}.totals label{display:block;font-size:12px;color:#8a8f98;margin-bottom:4px}.totals b{font-size:17px}.out{color:#d35450}.in{color:#1f9d66}.member-row{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid #ddd;background:#fff;border-radius:999px;padding:6px 12px;font-size:13px}.chip.on{background:#1f9d66;border-color:#1f9d66;color:#fff}.list .day{font-size:13px;color:#8a8f98;margin:16px 2px 6px}.row{background:#fff;border-radius:12px;padding:12px 14px;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 2px #0000000a}.row-title{font-weight:600;font-size:15px}.row-sub{font-size:12px;color:#8a8f98;margin-top:2px}.amt{font-weight:700;font-size:16px}.fab{position:fixed;right:22px;bottom:calc(26px + env(safe-area-inset-bottom));width:58px;height:58px;border-radius:50%;border:none;background:#1f9d66;color:#fff;font-size:32px;line-height:1;box-shadow:0 6px 16px #1f9d6666}.sheet-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:flex-end;justify-content:center;z-index:10}.sheet{background:#fff;width:100%;max-width:560px;max-height:92vh;overflow-y:auto;border-radius:18px 18px 0 0;padding:18px 18px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}.sheet .tabs{margin:0}.sheet .amount{font-size:30px;font-weight:700;text-align:center;border:none;border-bottom:2px solid #eee;border-radius:0}.sheet .chips{display:flex;flex-wrap:wrap;gap:8px}.form-row{display:flex;gap:10px}.form-row>*{flex:1}
