@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgVBuJMA0N+ZnXtyUv5yMigGdfQRmwL1AAjQ3YXG6iIFNSUdPQo8+AISPGAltBMDQRAtyf4ZspLlZkpyOVoMZPvFGWzvk8p5SUC/NWPMj6T2/Yas2EdlON5GkfdkeFwVGjta825H89NIenlLWAPAp5h1KDtRhCaAQWMsFKtEvOKpIhgLHlXPARokkgEGEOAkqxJRQpKYq4ezahIiLHP6hZpqMbV0pUF2vdvEimLEQ/iIUYLgYWs0VXGVlLTOPdaPmFfCC/XrtzqVo1ez7vz6+Kd2+7o11ZJ+4MreLbB5BKVGxobAq4jZYalZ5aX2CKJiwUuc9GNJyi4M8bGyKcdjSRrG4JohdF8buJfmQefbYYREnMFsOoiNliFDVxmRgL0XUmUMLqzW0A4gCQAhWGYCQpFNukwXhIkPMsbRI19ewtw8Cp2Wj/Ro5cM2OTAbJAvZ/L4opBXb9+U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xMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root,:root[data-theme=light]{--bg: #f3f5f2;--surface: #ffffff;--border: #e2e8e5;--text: #12262a;--muted: #5b6b6e;--card: #12313a;--card-muted: #b9d3cb;--card-soft: #d6e6e1;--btn: #12313a;--btn-text: #ffffff;--outline: #12313a;--pos: #17785a;--neg: #b4472a;--soft: #e6f4ef;--soft-text: #12313a;--seg-track: #e2e8e5;--seg-on: #ffffff;--icon-bg: #f3f5f2;--input-bg: #f3f5f2;--fab-shadow: 0 8px 24px rgba(18, 49, 58, .28);--accent: #4fd1a5;--side: #ffffff;--hover: #f3f5f2;--selected: #e6f4ef;--scrim: rgba(18, 38, 42, .45);--focus: #12313a;--kbd: rgba(255, 255, 255, .16);color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #0d1719;--surface: #152427;--border: #243639;--text: #e6efec;--muted: #98aba7;--card: #1b4652;--card-muted: #a9cbc1;--card-soft: #cfe3dd;--btn: #4fd1a5;--btn-text: #0d1719;--outline: #4fd1a5;--pos: #5fddb0;--neg: #f08a6c;--soft: #1f3a3f;--soft-text: #9fe8cc;--seg-track: #152427;--seg-on: #2a4045;--icon-bg: #1f3a3f;--input-bg: #0d1719;--fab-shadow: 0 8px 24px rgba(0, 0, 0, .5);--side: #101d20;--hover: #1a2e32;--selected: #1f3a3f;--scrim: rgba(0, 0, 0, .6);--focus: #4fd1a5;--kbd: rgba(13, 23, 25, .18);color-scheme:dark}}:root[data-theme=dark]{--bg: #0d1719;--surface: #152427;--border: #243639;--text: #e6efec;--muted: #98aba7;--card: #1b4652;--card-muted: #a9cbc1;--card-soft: #cfe3dd;--btn: #4fd1a5;--btn-text: #0d1719;--outline: #4fd1a5;--pos: #5fddb0;--neg: #f08a6c;--soft: #1f3a3f;--soft-text: #9fe8cc;--seg-track: #152427;--seg-on: #2a4045;--icon-bg: #1f3a3f;--input-bg: #0d1719;--fab-shadow: 0 8px 24px rgba(0, 0, 0, .5);--side: #101d20;--hover: #1a2e32;--selected: #1f3a3f;--scrim: rgba(0, 0, 0, .6);--focus: #4fd1a5;--kbd: rgba(13, 23, 25, .18);color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;background:var(--bg)}body{color:var(--text);font-family:Manrope Variable,Manrope,system-ui,sans-serif;font-size:15px;line-height:1.35;-webkit-tap-highlight-color:transparent}button,input,select,textarea{font-family:inherit;color:inherit}button{cursor:pointer}h1,h2,p,ul{margin:0;padding:0}ul{list-style:none}.app{max-width:480px;margin:0 auto;min-height:100dvh;display:flex;flex-direction:column;background:var(--bg);position:relative}.screen{flex:1;display:flex;flex-direction:column;padding-bottom:calc(28px + env(safe-area-inset-bottom))}.page-head{display:flex;align-items:center;gap:4px;padding:calc(16px + env(safe-area-inset-top)) 12px 8px}.page-head h1,.page-head h2{font-size:19px;font-weight:800}.page-head .grow{flex:1;min-width:0}.page-head .sub{font-size:13px;color:var(--muted);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-head{display:flex;align-items:center;justify-content:space-between;padding:calc(24px + env(safe-area-inset-top)) 20px 12px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800}.muted{color:var(--muted)}.pos{color:var(--pos)}.neg{color:var(--neg)}.error{color:var(--neg);font-size:13px;font-weight:600;margin-top:6px}.icon-btn{width:44px;height:44px;border:none;background:transparent;border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--text);flex:none}.icon-btn.small{width:32px;height:32px}.balance{margin:8px 20px 0}.balance .body{background:var(--card);color:#fff;border-radius:20px 20px 0 0;padding:20px 22px 16px}.balance .label{font-size:13px;font-weight:600;color:var(--card-muted)}.balance .big{margin-top:4px;font-size:33px;font-weight:800;letter-spacing:-.02em}.balance .soft{color:var(--card-soft)}.balance .lines{display:flex;flex-direction:column;gap:8px;font-size:14px;margin-top:14px}.balance .lines>div{display:flex;justify-content:space-between;gap:8px}.balance .lines b{color:var(--accent)}.balance .cta{margin-top:16px;width:100%;height:46px;border:none;border-radius:12px;background:var(--accent);color:#0d1719;font-size:15px;font-weight:800}.zigzag{height:10px;background:var(--card);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='M0 0 L7 10 L14 0 Z'/%3E%3C/svg%3E") repeat-x;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='M0 0 L7 10 L14 0 Z'/%3E%3C/svg%3E") repeat-x}.section-label{margin:18px 20px 8px;font-size:13px;font-weight:700;color:var(--muted)}.list{padding:0 20px;display:flex;flex-direction:column;gap:8px}.item{width:100%;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:13px 15px;display:flex;align-items:center;gap:13px}button.item{font:inherit}.item .grow{flex:1;min-width:0}.item .t{font-size:15px;font-weight:700;overflow:hidden;text-overflow:ellipsis}.item .s{margin-top:2px;font-size:13px;color:var(--muted)}.item .amt{text-align:right;flex:none}.item .amt .l{font-size:12px;color:var(--muted)}.item .amt .v{margin-top:2px;font-size:15px;font-weight:800}.avatar{width:44px;height:44px;border-radius:12px;background:var(--soft);color:var(--soft-text);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px;flex:none}.ico{width:40px;height:40px;border-radius:10px;background:var(--icon-bg);color:var(--soft-text);display:flex;align-items:center;justify-content:center;flex:none}.empty{padding:24px 20px;text-align:center;color:var(--muted);font-size:14px}.btn{height:54px;border:none;border-radius:16px;background:var(--btn);color:var(--btn-text);font-size:16px;font-weight:700;padding:0 22px}.btn-outline{height:54px;border:1.5px solid var(--outline);border-radius:16px;background:transparent;color:var(--outline);font-size:16px;font-weight:700;padding:0 22px}.btn.block,.btn-outline.block{width:100%}.btn:disabled,.btn-outline:disabled{opacity:.5}.btn-soft{height:40px;padding:0 14px;border:none;border-radius:12px;background:var(--soft);color:var(--soft-text);font-size:14px;font-weight:700;flex:none}.btn-small{height:40px;padding:0 14px;border:1.5px solid var(--border);border-radius:12px;background:var(--surface);font-size:14px;font-weight:700}.btn-link{border:none;background:none;padding:0;color:var(--muted);font-size:13px;font-weight:700;text-decoration:underline}.fab{position:fixed;bottom:calc(28px + env(safe-area-inset-bottom));right:max(20px,calc((100vw - 480px)/2 + 20px));height:56px;padding:0 22px;border-radius:18px;box-shadow:var(--fab-shadow);z-index:5}.seg{display:grid;gap:4px;background:var(--seg-track);border-radius:12px;padding:4px}.seg button{height:38px;border:none;border-radius:9px;background:transparent;color:var(--muted);font-size:14px;font-weight:700}.seg button.on{background:var(--seg-on);color:var(--text)}.seg.small{padding:3px;border-radius:10px}.seg.small button{height:32px;padding:0 12px}.chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 20px}.chip{height:40px;padding:0 16px;border:1.5px solid var(--border);border-radius:20px;background:var(--surface);color:var(--text);font-size:14px;font-weight:700}.chip.on{border-color:transparent;background:var(--btn);color:var(--btn-text)}.field-label{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:6px}.input{width:100%;height:48px;padding:0 14px;border:1.5px solid var(--border);border-radius:12px;background:var(--input-bg);font-size:16px;font-weight:600;outline:none}.input:focus{border-color:var(--outline)}textarea.input{height:auto;padding:12px 14px;font:500 12px/1.4 ui-monospace,monospace}.form{display:flex;flex-direction:column;gap:14px}.panel{margin:8px 20px 0;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:20px 18px;display:flex;flex-direction:column;gap:14px}.amount-field{text-align:center}.amount-row{display:flex;align-items:baseline;justify-content:center;gap:6px;margin-top:4px}.amount-row input{max-width:70%;border:none;background:transparent;outline:none;text-align:center;font-size:42px;font-weight:800;letter-spacing:-.02em;padding:0;min-width:0}.amount-row span{font-size:22px;font-weight:700;color:var(--muted)}.split-head{margin:20px 20px 8px;display:flex;align-items:center;justify-content:space-between}.split-head>span{font-size:13px;font-weight:700;color:var(--muted)}.rows{margin:0 20px;background:var(--surface);border:1px solid var(--border);border-radius:16px}.rows li{display:flex;align-items:center;gap:12px;padding:0 14px;min-height:52px}.rows li+li{border-top:1px solid var(--border)}.rows .name{flex:1;font-size:15px;font-weight:600}.rows input[type=checkbox]{width:20px;height:20px;accent-color:var(--btn)}.rows .mini{width:110px;height:38px;text-align:right;font-size:15px}.footer-actions{margin-top:auto;padding:20px;display:flex;flex-direction:column;gap:10px}.notice{margin:12px 20px 0;padding:12px 8px 12px 14px;border-radius:14px;background:var(--soft);color:var(--soft-text);font-size:13px;font-weight:500;display:flex;gap:6px;align-items:flex-start}.notice>div{flex:1}.notice b{font-weight:800}.notice .btn-small{margin-top:8px}.status{margin:10px 20px 0;font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center;flex-wrap:wrap}.status .dot{width:8px;height:8px;border-radius:50%;background:var(--pos)}.status .dot.off{background:var(--neg)}.sheet-backdrop{position:fixed;inset:0;background:#050e108c;z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet{width:100%;max-width:480px;max-height:90dvh;overflow-y:auto;background:var(--bg);border-radius:24px 24px 0 0;padding:8px 20px calc(24px + env(safe-area-inset-bottom))}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.sheet-head h2{font-size:18px;font-weight:800}.settle-row{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:12px;margin-bottom:10px}.settle-row .top{display:flex;align-items:center;justify-content:space-between;gap:12px}.settle-row .who{font-size:16px;font-weight:800}.settle-row .what{font-size:13px;color:var(--muted)}.settle-row .money{display:flex;align-items:center;gap:6px}.settle-row .money .input{width:110px;height:42px;text-align:right}.settle-row .btns{display:flex;gap:8px}.settle-row .btns .btn{flex:1;height:46px;font-size:15px}.settle-row .btns .btn-outline{height:46px;font-size:15px}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:14px;margin:0 20px;display:flex;flex-direction:column;gap:10px}.card p{font-size:13px;color:var(--muted)}.kv{display:flex;flex-direction:column;gap:6px;font-size:14px}.kv>div{display:flex;justify-content:space-between;gap:12px}.kv b{font-weight:700;text-align:right}.pad{padding:0 20px}.row-actions{display:flex;gap:8px;flex-wrap:wrap}.card .safe{font-size:14px;font-weight:700;color:var(--pos)}.card .risk{font-size:14px;color:var(--text)}.warn{margin:12px 20px 0;padding:12px 14px;border:1.5px solid var(--neg);border-radius:14px;background:var(--surface);color:var(--neg);font-size:14px;font-weight:700}.tech{margin:22px 20px 0}.tech summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--muted);padding:6px 0}.tech .card{margin:8px 0 0}.kbd{font:inherit;font-size:12px;font-weight:700;padding:2px 7px;border-radius:6px;background:var(--kbd)}.app.desktop{max-width:none;margin:0;height:100dvh;min-height:0;flex-direction:row;overflow:hidden}.app.desktop .pane{flex:1;min-width:0;overflow-y:auto;display:flex;flex-direction:column}.app.desktop .pane-narrow{max-width:640px;width:100%;margin:0 auto;padding-top:28px}.app.desktop .pane>.empty{margin:auto;max-width:420px}.app.desktop .pane>.notice{margin:20px 40px 0}.sidebar{flex:0 0 300px;border-right:1px solid var(--border);background:var(--side);display:flex;flex-direction:column;padding:24px 16px;overflow-y:auto}.sidebar .brand-row{display:flex;align-items:center;gap:10px;padding:0 8px}.sidebar .brand-row .brand{flex:1}.sidebar .icon-btn{width:36px;height:36px;color:var(--muted)}.sidebar .active-icon{color:var(--text);display:flex}.side-total{margin:20px 4px 0;padding:14px 16px;border-radius:14px;background:var(--soft)}.side-total .l{font-size:12px;font-weight:600;color:var(--muted)}.side-total .v{margin-top:2px;font-size:22px;font-weight:800}.side-label{margin:24px 12px 8px;font-size:12px;font-weight:700;letter-spacing:.05em;color:var(--muted);text-transform:uppercase}.side-groups{display:flex;flex-direction:column;gap:2px}.side-groups a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;text-decoration:none;color:var(--text)}.side-groups a.sel{background:var(--selected)}.side-groups .av{width:36px;height:36px;border-radius:10px;background:var(--soft);color:var(--soft-text);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;flex:none}.side-groups a.sel .av{background:var(--btn);color:var(--btn-text)}.side-groups .nm{flex:1;min-width:0}.side-groups .nm b{display:block;font-size:15px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-groups .nm small{display:block;font-size:12px;color:var(--muted)}.side-groups .amt{font-size:14px;font-weight:800;flex:none}.side-actions{margin-top:auto;padding-top:16px;display:flex;flex-direction:column;gap:8px}.sidebar .side-actions .btn,.sidebar .side-actions .btn-outline{height:46px;border-radius:12px;font-size:15px}.gv{display:flex;align-items:flex-start;min-height:100%}.gv-main{flex:1;min-width:0;padding:28px 40px 40px}.gv-right{flex:0 0 360px;padding:28px 28px 28px 0;display:flex;flex-direction:column;gap:20px;position:sticky;top:0;max-height:100dvh;overflow-y:auto}.d-head{display:flex;align-items:center;gap:12px}.d-head .grow{flex:1;min-width:0}.d-head h1{margin:0;font-size:26px;font-weight:800;letter-spacing:-.01em}.d-head .sub{margin-top:2px;font-size:14px;color:var(--muted)}.d-head .btn-soft{height:42px;padding:0 16px}.chip-btn{height:42px;padding:0 16px;border:none;border-radius:12px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;flex:none}.chip-btn.primary{background:var(--btn);color:var(--btn-text)}.gv-main .status,.gv-main .notice{margin:14px 0 0}.gv-main .balance{margin:20px 0 0}.gv-right .balance{margin:0}.d-tabs{margin-top:24px;display:flex;align-items:center;gap:16px}.d-tabs .seg{width:260px}.d-tabs .total{margin-left:auto;font-size:14px}.gv-main .section-label{margin:22px 0 8px}.gv-main .empty{padding:32px 0}.gv-main .pad{padding:0}.gv-main .list{padding:0;gap:0;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden}.gv-main .list .item{border:0;border-radius:0;background:transparent;padding:12px 16px}.gv-main .list>li+li,.gv-main .list>li.item+li.item{border-top:1px solid var(--border)}.gv-main .item .amt{min-width:130px}.members{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px 18px}.members .h{margin:0 0 12px;font-size:13px;font-weight:700;color:var(--muted)}.members .m{display:flex;align-items:center;gap:10px;height:38px}.members .dot{width:28px;height:28px;border-radius:50%;background:var(--soft);color:var(--soft-text);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;flex:none}.members .n{flex:1;min-width:0;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.members b{font-size:14px}.keys{margin-top:auto;font-size:12px;color:var(--muted)}.keys kbd{font:inherit;font-weight:700;padding:1px 6px;border-radius:5px;border:1px solid var(--border)}.app.desktop .sheet-backdrop{background:var(--scrim);align-items:center;padding:32px;animation:ev-fade .18s ease-out}.app.desktop .sheet{max-width:520px;max-height:calc(100dvh - 64px);border-radius:22px;background:var(--surface);box-shadow:0 24px 64px #0000004d;padding:24px 26px;animation:ev-pop .18s ease-out}.app.desktop .sheet-head{margin-bottom:14px}.app.desktop .sheet-head h2{font-size:20px}.app.desktop .sheet .icon-btn{width:36px;height:36px;color:var(--muted)}@keyframes ev-fade{0%{opacity:0}to{opacity:1}}@keyframes ev-pop{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.app.desktop .sheet-backdrop,.app.desktop .sheet{animation:none}}.dform{display:flex;flex-direction:column}.app.desktop .dform .panel{margin:0;padding:0;border:0;background:none;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end}.app.desktop .dform .amount-field{text-align:left}.app.desktop .dform .amount-field .field-label{margin-bottom:6px!important}.app.desktop .dform .amount-row{margin:0;height:52px;padding:0 14px;border:1.5px solid var(--border);border-radius:12px;background:var(--input-bg);justify-content:flex-start;align-items:center;gap:8px}.app.desktop .dform .amount-row:focus-within{border:2px solid var(--focus);padding:0 13.5px}.app.desktop .dform .amount-row input{flex:1;width:100%;max-width:none;text-align:left;font-size:22px}.app.desktop .dform .amount-row span{font-size:18px}.app.desktop .dform .input{height:52px}.app.desktop .sheet .section-label{margin:18px 0 8px}.app.desktop .sheet .chips{padding:0}.app.desktop .sheet .chip{height:38px;border-radius:19px}.app.desktop .sheet .split-head{margin:18px 0 8px}.app.desktop .sheet .rows{margin:0;max-height:216px;overflow-y:auto}.app.desktop .sheet .rows li{min-height:46px}.app.desktop .sheet .rows .mini{height:34px}.app.desktop .dform .error,.app.desktop .dform .muted{margin-left:0!important;margin-right:0!important}.d-summary{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:14px}.d-summary .muted{font-size:13px;font-weight:700}.d-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.d-actions .btn,.d-actions .btn-outline{height:46px;border-radius:12px;font-size:15px;padding:0 20px;display:flex;align-items:center;gap:8px}.d-actions .btn-outline{border-color:var(--border);color:var(--text)}.d-actions .btn-outline .kbd{background:var(--soft)}.d-actions .btn-outline.danger{margin-right:auto;border-color:var(--neg);color:var(--neg)}.app.desktop .settle-row{background:var(--bg)}.app.desktop :focus-visible{outline:2px solid var(--focus);outline-offset:2px}.app.desktop .balance :focus-visible{outline-color:var(--accent)}.app.desktop .input:focus-visible{outline-offset:0}.app.desktop .amount-row input:focus-visible{outline:none}.app.desktop button,.app.desktop .side-groups a,.app.desktop .input,.app.desktop .amount-row{transition:background-color .12s ease,border-color .12s ease,color .12s ease,filter .12s ease}@media(hover:hover){.app.desktop .btn:hover,.app.desktop .chip-btn.primary:hover,.app.desktop .balance .cta:hover{filter:brightness(1.1)}.app.desktop .btn-outline:hover,.app.desktop .icon-btn:hover,.app.desktop .chip:not(.on):hover,.app.desktop .btn-small:hover,.app.desktop .seg button:not(.on):hover,.app.desktop button.item:hover,.app.desktop .side-groups a:not(.sel):hover{background:var(--hover)}.app.desktop .btn-soft:hover{filter:brightness(.96)}}
