:root{--bg:#090c0f!important;--surface:#11161b!important;--panel:#11161b!important;--panel-2:#151b21!important;--panel-3:#1a2129!important;--line:#27313b!important;--line-soft:rgba(255,255,255,.065)!important;--text:#f2f4f6!important;--muted:#8d99a6!important;--muted-2:#66727e!important;--active:#8fc5f5!important;--active-bg:rgba(94,155,211,.12)!important;--green:#75d69c!important;--red:#ff827c!important;--warn:#e9c16d!important;--radius:16px!important;--radius-sm:11px!important;--shadow:0 18px 45px rgba(0,0,0,.22)!important}html,body,#root{background:var(--bg)!important;color:var(--text)!important}body{background:radial-gradient(circle at 70% -10%,rgba(104,151,188,.06),transparent 30%),linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px),var(--bg)!important;background-size:auto,36px 36px,36px 36px,auto!important}body .app{width:min(1040px,100%)!important;padding:24px 16px calc(92px + env(safe-area-inset-bottom))!important}body .topbar{position:sticky!important;top:0!important;z-index:25!important;min-height:66px!important;margin:-24px -16px 24px!important;padding:10px max(16px,env(safe-area-inset-left))!important;background:#090c0fe0!important;-webkit-backdrop-filter:blur(20px) saturate(120%)!important;backdrop-filter:blur(20px) saturate(120%)!important;border-bottom:1px solid var(--line-soft)!important}body .identity{gap:5px!important}body .brand{font-size:18px!important;font-weight:950!important;letter-spacing:.17em!important}body .subbrand{font-size:10px!important;color:var(--muted-2)!important;letter-spacing:.035em!important}body .monthSelect{max-width:190px!important;border:1px solid var(--line)!important;background-color:#0c1014!important;border-radius:var(--radius-sm)!important;padding:11px 36px 11px 13px!important;color:var(--text)!important}body .profitCard{border:1px solid var(--line)!important;background:linear-gradient(135deg,rgba(143,197,245,.08),transparent 52%),linear-gradient(180deg,rgba(255,255,255,.012),transparent 80px),var(--panel)!important;border-radius:var(--radius)!important;padding:22px!important;margin-bottom:24px!important;box-shadow:var(--shadow)!important}body .eyebrow{color:var(--active)!important;font:700 10px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;letter-spacing:.14em!important;text-transform:none!important}body .profitValue{font-size:clamp(38px,7vw,50px)!important;font-weight:900!important;letter-spacing:-.045em!important}body .profitDelta{font-size:11px!important;font-weight:720!important}body .statsRow{border-top:1px solid var(--line-soft)!important;gap:9px!important}body .stat{min-height:82px!important;padding:14px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--panel-2)!important}body .stat span{font-size:11px!important;color:var(--muted)!important}body .stat strong{font-size:20px!important}body .section{margin-bottom:24px!important}body .sectionHeader{padding:0 2px 10px!important}body .sectionHeader h2{font-size:16px!important;font-weight:830!important;letter-spacing:-.02em!important}body .sectionHeader span{font-size:10px!important;color:var(--muted)!important}body .balanceCard,body .listCard,body .analyticsCard,body .closureCard,body .closeActionCard,body .lateCloseBanner,body .entryPreviewList,body .personPicker,body .transferRoute{border:1px solid var(--line)!important;background:linear-gradient(180deg,rgba(255,255,255,.012),transparent 70px),var(--panel)!important;border-radius:var(--radius)!important;box-shadow:0 1px #ffffff03!important}body .cashCard{background:linear-gradient(135deg,rgba(143,197,245,.06),transparent 60%),var(--panel)!important}body .balanceCard{min-height:72px!important;padding:14px 15px!important}body .balanceName{font-size:13px!important;font-weight:800!important}body .balanceCard strong{font-size:17px!important}body .quickActionsSection{margin-bottom:24px!important}body .quickActions{gap:9px!important}body .quickAction{border:1px solid var(--line)!important;border-radius:14px!important;background:var(--panel)!important;min-height:76px!important;transition:transform .12s ease,border-color .16s ease,background .16s ease!important}body .quickAction:hover{transform:translateY(-1px)!important;border-color:#3b4855!important;background:#141a20!important}body .quickActionIcon{border-radius:11px!important;background:#0f1418!important;border:1px solid var(--line)!important}body .expenseAction{border-color:#ff827c3d!important;background:linear-gradient(135deg,rgba(255,130,124,.055),transparent 55%),var(--panel)!important}body .expenseAction .quickActionIcon{color:var(--red)!important;border-color:#ff827c40!important;background:#ff827c12!important}body .incomeAction{border-color:#75d69c3d!important;background:linear-gradient(135deg,rgba(117,214,156,.055),transparent 55%),var(--panel)!important}body .incomeAction .quickActionIcon{color:var(--green)!important;border-color:#75d69c40!important;background:#75d69c12!important}body .secondaryQuick{background:var(--panel)!important}body .transactionRow,body .monthRow,body .personRow,body .noteRow{border-color:var(--line-soft)!important}body .transactionRow:hover{background:#151b21!important}body .amountMark{border:1px solid var(--line)!important;border-radius:9px!important;background:#0f1418!important}body .avatar{background:var(--panel-3)!important;border-color:var(--line)!important}body .primaryAction,body .secondaryAction,body .dangerAction{min-height:44px!important;border-radius:11px!important;font-weight:780!important;font-size:12px!important}body .primaryAction{background:#eef2f5!important;color:#0a0d10!important;box-shadow:0 8px 22px #ffffff0d!important}body .secondaryAction{background:#20272f!important;color:var(--text)!important;border-color:#2c3640!important}body .dangerAction{background:var(--panel)!important;color:var(--red)!important;border-color:#ff827c38!important}body .roundButton,body .iconButton{border-color:var(--line)!important;background:var(--panel)!important;border-radius:10px!important}body .field input,body .field textarea,body .moneyField,body .locationActions button,body .transferDirections button,body .infoBox,body .inviteBox{border:1px solid var(--line)!important;background:#0c1014!important;color:var(--text)!important;border-radius:var(--radius-sm)!important}body .field input:focus,body .field textarea:focus,body .moneyField:focus-within{border-color:#8fc5f58c!important;box-shadow:0 0 0 3px #8fc5f50f!important}body .sheetBackdrop{background:#0000009e!important;-webkit-backdrop-filter:blur(6px)!important;backdrop-filter:blur(6px)!important}body .sheet{width:min(720px,calc(100% - 24px))!important;border:1px solid var(--line)!important;border-bottom:0!important;border-radius:18px 18px 0 0!important;background:linear-gradient(180deg,rgba(255,255,255,.015),transparent 80px),var(--panel)!important;box-shadow:0 -28px 80px #00000061!important}body .sheetHandle{background:#3a4652!important}body .sheetHeader h3{font-size:18px!important;font-weight:850!important}body .bottomNav{width:min(1040px,100%)!important;padding:9px 10px calc(9px + env(safe-area-inset-bottom))!important;gap:7px!important;background:#090c0ff0!important;-webkit-backdrop-filter:blur(20px)!important;backdrop-filter:blur(20px)!important;border-top:1px solid var(--line-soft)!important}body .bottomNav button{min-height:48px!important;border:1px solid transparent!important;border-radius:10px!important;background:#151a20!important;color:var(--muted)!important;gap:3px!important;transition:all .15s ease!important}body .bottomNav button:hover{color:var(--text)!important;background:#1b2128!important}body .bottomNav button.active{color:var(--text)!important;background:#222a33!important;border-color:#2e3944!important}body .bottomNav button span{font-size:9px!important;font-weight:720!important}body .toast{border:1px solid var(--line)!important;border-radius:11px!important;background:var(--panel-3)!important;box-shadow:var(--shadow)!important}@media(min-width:760px){body .peopleBalances{grid-template-columns:repeat(3,minmax(0,1fr))!important}body .quickActions{grid-template-columns:repeat(4,minmax(0,1fr))!important}body .quickAction{min-height:92px!important}}@media(max-width:520px){body .app{padding-left:12px!important;padding-right:12px!important}body .topbar{margin-left:-12px!important;margin-right:-12px!important}body .profitCard{padding:18px!important}body .profitValue{font-size:38px!important}}:root[data-theme=light]{color-scheme:light;--bg:#f4f6f8!important;--surface:#ffffff!important;--panel:#ffffff!important;--panel-2:#f8fafb!important;--panel-3:#eef2f5!important;--line:#d5dde4!important;--line-soft:rgba(21,34,46,.09)!important;--text:#111820!important;--muted:#66727e!important;--muted-2:#8a96a1!important;--active:#2779b8!important;--active-bg:rgba(39,121,184,.09)!important;--green:#25824c!important;--red:#c43e38!important;--warn:#9a6b12!important;--shadow:0 18px 45px rgba(35,53,68,.08)!important}:root[data-theme=light] html,:root[data-theme=light] body,:root[data-theme=light] #root{background:var(--bg)!important;color:var(--text)!important}:root[data-theme=light] body{background:radial-gradient(circle at 70% -10%,rgba(64,126,174,.08),transparent 30%),linear-gradient(rgba(20,37,52,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(20,37,52,.028) 1px,transparent 1px),var(--bg)!important;background-size:auto,36px 36px,36px 36px,auto!important}.financeThemeToggle{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border:1px solid var(--line)!important;border-radius:50%;background:var(--panel)!important;color:var(--text)!important;font:700 16px/1 inherit;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .12s ease}.financeThemeToggle:hover{transform:translateY(-1px);border-color:var(--active)!important}body .topbar>.identity{margin-right:auto!important}body .topbar{gap:10px!important}:root[data-theme=light] body .topbar{background:#f4f6f8e6!important}:root[data-theme=light] body .monthSelect{background-color:#fff!important;color:var(--text)!important;border-color:var(--line)!important}:root[data-theme=light] body .profitCard{background:linear-gradient(135deg,rgba(39,121,184,.06),transparent 52%),linear-gradient(180deg,rgba(20,37,52,.015),transparent 80px),var(--panel)!important}:root[data-theme=light] body .balanceCard,:root[data-theme=light] body .listCard,:root[data-theme=light] body .analyticsCard,:root[data-theme=light] body .closureCard,:root[data-theme=light] body .closeActionCard,:root[data-theme=light] body .lateCloseBanner,:root[data-theme=light] body .entryPreviewList,:root[data-theme=light] body .personPicker,:root[data-theme=light] body .transferRoute{background:linear-gradient(180deg,rgba(20,37,52,.012),transparent 70px),var(--panel)!important;box-shadow:0 1px #14253405!important}:root[data-theme=light] body .cashCard{background:linear-gradient(135deg,rgba(39,121,184,.05),transparent 60%),var(--panel)!important}:root[data-theme=light] body .quickAction{background:var(--panel)!important}:root[data-theme=light] body .quickAction:hover{border-color:#b7c3cd!important;background:#f6f9fb!important}:root[data-theme=light] body .quickActionIcon,:root[data-theme=light] body .amountMark{background:#eef3f6!important}:root[data-theme=light] body .expenseAction{background:linear-gradient(135deg,rgba(196,62,56,.045),transparent 55%),var(--panel)!important}:root[data-theme=light] body .incomeAction{background:linear-gradient(135deg,rgba(37,130,76,.045),transparent 55%),var(--panel)!important}:root[data-theme=light] body .transactionRow:hover{background:#f6f9fb!important}:root[data-theme=light] body .avatar{background:var(--panel-3)!important;border-color:var(--line)!important}:root[data-theme=light] body .primaryAction{background:#111820!important;color:#fff!important;box-shadow:0 8px 22px #16232f14!important}:root[data-theme=light] body .secondaryAction{background:#e9eef2!important;color:var(--text)!important;border-color:#d1dbe3!important}:root[data-theme=light] body .roundButton,:root[data-theme=light] body .iconButton{background:#fff!important;color:var(--text)!important;border-color:var(--line)!important}:root[data-theme=light] body .field input,:root[data-theme=light] body .field textarea,:root[data-theme=light] body .moneyField,:root[data-theme=light] body .locationActions button,:root[data-theme=light] body .transferDirections button,:root[data-theme=light] body .infoBox,:root[data-theme=light] body .inviteBox,:root[data-theme=light] body .detailGrid>div{background:#fff!important;color:var(--text)!important;border-color:var(--line)!important}:root[data-theme=light] body input::placeholder,:root[data-theme=light] body textarea::placeholder{color:#98a3ad!important}:root[data-theme=light] body .field input:focus,:root[data-theme=light] body .field textarea:focus,:root[data-theme=light] body .moneyField:focus-within{border-color:#2779b88c!important;box-shadow:0 0 0 3px #2779b814!important}:root[data-theme=light] body .sheetBackdrop{background:#202c366b!important}:root[data-theme=light] body .sheet{background:linear-gradient(180deg,rgba(20,37,52,.012),transparent 80px),#fff!important;border-color:#ccd7df!important;box-shadow:0 -28px 80px #202c362e!important}:root[data-theme=light] body .sheetHandle{background:#c0cad2!important}:root[data-theme=light] body .bottomNav{background:#f4f6f8f2!important}:root[data-theme=light] body .bottomNav button{background:#e9eef2!important;color:var(--muted)!important}:root[data-theme=light] body .bottomNav button:hover{background:#e0e7ed!important;color:var(--text)!important}:root[data-theme=light] body .bottomNav button.active{background:#dce6ee!important;border-color:#c7d4de!important;color:var(--text)!important}:root[data-theme=light] body .toast{background:#fff!important;color:var(--text)!important;border-color:var(--line)!important}:root[data-theme=light] body .launchScreen,:root[data-theme=light] body .errorScreen{background:var(--bg)!important}:root[data-theme=light] body .launchLogo{background:#fff!important;border-color:var(--line)!important;color:var(--text)!important}:root[data-theme=light] body .chartLine{stroke:#273746!important}:root[data-theme=light] body .chartDot{fill:#273746!important}:root[data-theme=light] body .axis{stroke:#d6dee5!important}@media(max-width:520px){.financeThemeToggle{width:33px;height:33px;flex-basis:33px;font-size:15px}body .topbar{gap:7px!important}body .monthSelect{max-width:152px!important}}@supports (-webkit-touch-callout: none){html,body,#root{width:100%;max-width:100%;overflow-x:hidden}body{min-height:100dvh;-webkit-text-size-adjust:100%;overscroll-behavior-x:none}button,a{touch-action:manipulation}@media(max-width:680px){input,textarea,select{font-size:16px!important}.app{width:100%!important;max-width:100%!important;min-height:100dvh!important;overflow-x:hidden;padding-top:calc(14px + env(safe-area-inset-top))!important;padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important;padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}.topbar{min-width:0;gap:10px!important}.identity{min-width:0}.monthSelect{min-width:0;max-width:48vw!important}.bottomNav{width:100%!important;max-width:100vw!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;padding-left:max(4px,env(safe-area-inset-left))!important;padding-right:max(4px,env(safe-area-inset-right))!important;overflow:hidden}.bottomNav button{min-width:0;padding-left:2px!important;padding-right:2px!important}.bottomNav button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sheetBackdrop{height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;padding-top:calc(10px + env(safe-area-inset-top))}.sheet{width:100%!important;max-width:100%!important;max-height:calc(100dvh - env(safe-area-inset-top) - 10px)!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}.primaryAction,.secondaryAction,.dangerAction{min-height:44px}.transactionRow,.balanceCard,.personRow,.monthRow,.noteRow{min-width:0;max-width:100%}}}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif;color:#f5f6f7;background:#0b0c0e;font-synthesis:none;text-rendering:optimizeLegibility;--bg:#0b0c0e;--surface:#121417;--line:#23272d;--line-soft:#1b1e23;--text:#f5f6f7;--muted:#858b93;--muted-2:#5f656d;--green:#78d99a;--red:#ff7878}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;min-width:320px;background:radial-gradient(circle at 50% -15%,rgba(255,255,255,.045),transparent 30%),var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}input,textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.app{width:min(720px,100%);min-height:100vh;margin:0 auto;padding:22px 16px calc(96px + env(safe-area-inset-bottom))}.topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:26px}.identity{display:flex;flex-direction:column;gap:3px}.brand{font-size:22px;line-height:1;font-weight:850;letter-spacing:.08em}.subbrand{color:var(--muted-2);font-size:9px;line-height:1;font-weight:800;letter-spacing:.26em}.monthSelect{max-width:168px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;padding:9px 34px 9px 12px;outline:none;background-image:linear-gradient(45deg,transparent 50%,#7f858d 50%),linear-gradient(135deg,#7f858d 50%,transparent 50%);background-position:calc(100% - 15px) calc(50% - 2px),calc(100% - 10px) calc(50% - 2px);background-size:5px 5px;background-repeat:no-repeat}.profitCard{border:1px solid var(--line);background:linear-gradient(180deg,#131519,#101215);border-radius:22px;padding:22px;margin-bottom:28px;box-shadow:0 24px 70px #0000002e}.eyebrow{color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.profitValue{margin-top:8px;font-size:clamp(40px,11vw,58px);line-height:.96;letter-spacing:-.055em;font-weight:780}.profitDelta{display:inline-flex;width:fit-content;margin-top:12px;color:var(--green);font-size:12px;font-weight:650}.profitDelta.down,.negative{color:var(--red)!important}.statsRow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line-soft)}.stat{display:flex;flex-direction:column;gap:5px}.stat span{color:var(--muted);font-size:11px}.stat strong{font-size:18px;letter-spacing:-.02em}.income{color:var(--green)!important}.expense{color:var(--red)!important}.section{margin-bottom:28px}.sectionHeader{display:flex;flex-direction:column;gap:4px;padding:0 2px 11px}.sectionHeader.row{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.sectionHeader h2{margin:0;font-size:15px;line-height:1.2;font-weight:760;letter-spacing:-.01em}.sectionHeader span{color:var(--muted);font-size:11px}.balanceCard,.listCard,.analyticsCard{border:1px solid var(--line);background:var(--surface);border-radius:16px}.balanceCard{min-height:66px;padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:14px}.balanceCard>div{min-width:0;display:flex;flex-direction:column;gap:4px}.balanceName{font-size:13px;font-weight:700}.balanceCard small{color:var(--muted);font-size:10px}.balanceCard strong{white-space:nowrap;font-size:16px;letter-spacing:-.02em}.cashCard{margin-bottom:8px;background:#15181c}.cashCard strong{font-size:19px}.peopleBalances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.listCard{overflow:hidden}.transactionRow{width:100%;min-height:66px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 14px;color:var(--text);background:transparent;border:0;border-bottom:1px solid var(--line-soft);text-align:left}.transactionRow:last-child{border-bottom:0}.transactionRow:active{background:#ffffff06}.transactionRow.canceled{opacity:.4}.transactionRow.canceled .transactionText b{text-decoration:line-through}.amountMark{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;color:var(--muted);font-weight:850}.amountMark.income{color:var(--green)}.amountMark.expense{color:var(--red)}.transactionText{min-width:0;display:flex;flex-direction:column;gap:5px}.transactionText b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:690}.transactionText small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px}.transactionAmount{white-space:nowrap;font-size:13px}.transactionAmount.income{color:var(--green)}.transactionAmount.expense{color:var(--red)}.transactionAmount.transfer{color:#a2a8b0}.textButton,.roundButton,.iconButton,.noteCheck,.noteRestore{border:0;background:transparent;color:var(--text)}.textButton{padding:8px 3px;color:#afb4bb;font-size:11px}.roundButton{width:34px;height:34px;border:1px solid var(--line);border-radius:11px;background:var(--surface);display:grid;place-items:center}.iconButton{width:34px;height:34px;display:grid;place-items:center;color:#8f959d;border-radius:9px}.iconButton:active{background:#ffffff09}.analyticsCard{padding:15px 12px 10px}.chart{width:100%;display:block;overflow:visible}.axis{stroke:#252930;stroke-width:1}.chartLine{stroke:#e9eaeb;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.chartDot{fill:#e9eaeb}.chartLabels{display:flex;justify-content:space-between;padding:1px 2px 0;color:var(--muted-2);font-size:8px}.monthRow,.personRow,.noteRow{min-height:66px;padding:12px 14px;border-bottom:1px solid var(--line-soft)}.monthRow:last-child,.personRow:last-child,.noteRow:last-child{border-bottom:0}.monthRow{display:flex;align-items:center;justify-content:space-between;gap:14px}.monthMain{min-width:0;display:flex;flex-direction:column;gap:5px}.monthMain b{font-size:13px}.monthMain small{color:var(--muted);font-size:10px}.monthRow>strong{white-space:nowrap;font-size:13px}.personRow{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px}.avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#1d2025;border:1px solid #282c32;font-size:12px;font-weight:800}.personMain,.personBalance{min-width:0;display:flex;flex-direction:column;gap:4px}.personMain b{font-size:13px}.personMain small,.personBalance small{color:var(--muted);font-size:10px}.personBalance{align-items:flex-end;text-align:right}.personBalance strong{font-size:13px;white-space:nowrap}.noteRow{display:grid;grid-template-columns:30px minmax(0,1fr) 34px;align-items:center;gap:10px}.noteCheck{width:28px;height:28px;border:1px solid #30343a;border-radius:9px;display:grid;place-items:center;color:var(--muted)}.noteText{min-width:0;display:flex;flex-direction:column;gap:5px}.noteText b{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.noteText small{color:var(--muted);font-size:10px}.noteRow.done{opacity:.45}.noteRow.done .noteText b{text-decoration:line-through}.noteRestore{width:auto;padding:6px 2px;color:#a0a6ad;font-size:10px}.mutedSection{opacity:.92}.emptyState{min-height:80px;display:grid;place-items:center;padding:20px;color:var(--muted);font-size:11px}.emptyState.compact{min-height:46px;padding:8px 0;justify-items:start}.bottomNav{position:fixed;left:50%;bottom:0;z-index:30;transform:translate(-50%);width:min(720px,100%);display:grid;grid-template-columns:repeat(5,1fr);padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:#0b0c0eeb;border-top:1px solid var(--line-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.bottomNav button{min-height:50px;border:0;border-radius:12px;background:transparent;color:#5f656d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.bottomNav button span{font-size:9px;font-weight:650}.bottomNav button.active{color:#f4f5f6;background:#ffffff09}.sheetBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:flex-end;justify-content:center;background:#00000094;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.sheet{width:min(720px,100%);max-height:min(86vh,760px);overflow:auto;background:#111317;border:1px solid #292d33;border-bottom:0;border-radius:22px 22px 0 0;padding:8px 16px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -28px 80px #00000061}.sheetHandle{width:36px;height:4px;margin:3px auto 15px;border-radius:99px;background:#393e45}.sheetHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.sheetHeader h3{margin:4px 0 0;max-width:520px;font-size:19px;line-height:1.25;letter-spacing:-.02em}.detailGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}.detailGrid>div{min-height:62px;padding:11px 12px;border:1px solid var(--line);background:#0e1013;border-radius:12px;display:flex;flex-direction:column;gap:5px}.detailGrid span{color:var(--muted);font-size:9px}.detailGrid b{font-size:12px;overflow-wrap:anywhere}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:12px}.field>span{color:var(--muted);font-size:10px;font-weight:650}.field input,.field textarea,.moneyField{width:100%;border:1px solid #2a2e35;background:#0d0f12;color:var(--text);border-radius:12px;outline:none}.field input,.field textarea{padding:12px 13px}.field textarea{resize:vertical;min-height:88px;line-height:1.45}.field input:focus,.field textarea:focus,.moneyField:focus-within{border-color:#444a53}.moneyField{display:flex;align-items:center;overflow:hidden}.moneyField input{min-width:0;flex:1;border:0;background:transparent}.moneyField em{padding-right:13px;color:var(--muted);font-style:normal}.actionStack,.dualActions{display:flex;gap:8px}.actionStack{flex-direction:column;margin-top:14px}.dualActions{margin-top:14px}.primaryAction,.secondaryAction,.dangerAction{min-height:45px;border-radius:12px;font-weight:750;border:1px solid transparent}.primaryAction{flex:1;background:#f4f5f6;color:#0b0c0e}.secondaryAction{flex:1;background:#171a1e;color:#c8ccd1;border-color:#292d33}.dangerAction{background:transparent;color:#b86d6d;border-color:#352527}.dangerAction.confirm{background:#3a2022;color:#ff9b9b;border-color:#5a2d31}.iconAction{display:inline-flex;align-items:center;justify-content:center;gap:8px}.infoBox,.inviteBox{border:1px solid var(--line);background:#0e1013;border-radius:12px;padding:12px 13px;color:#8f959d;font-size:10px;line-height:1.5;margin:3px 0 14px}.inviteBox{display:flex;flex-direction:column;gap:8px}.inviteBox span{color:var(--muted)}.inviteBox code{color:#d7dade;white-space:normal;overflow-wrap:anywhere;font-size:11px}.history{margin-top:24px;padding-top:17px;border-top:1px solid var(--line-soft)}.historyRow{min-height:54px;padding:10px 0;border-bottom:1px solid var(--line-soft);display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.historyRow:last-child{border-bottom:0}.historyRow>div:first-child{display:flex;flex-direction:column;gap:4px}.historyRow b{font-size:11px}.historyRow small{color:var(--muted);font-size:9px}.historyValue{max-width:58%;text-align:right;display:flex;flex-direction:column;gap:4px;color:#aab0b7;font-size:10px}.toast{position:fixed;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));z-index:100;transform:translate(-50%);max-width:calc(100% - 32px);padding:10px 14px;border:1px solid #343940;border-radius:12px;background:#1a1d21;color:#f0f1f2;box-shadow:0 14px 40px #0000004d;font-size:11px;font-weight:650}.toast.error{color:#ffabab;border-color:#4d2a2d}.launchScreen,.errorScreen{min-height:100vh;display:grid;place-content:center;justify-items:center;padding:28px;text-align:center;background:var(--bg)}.launchLogo{width:48px;height:48px;display:grid;place-items:center;border:1px solid #2c3036;border-radius:15px;background:#121417;font-size:20px;font-weight:900}.launchText{margin-top:13px;color:#7f858c;font-size:10px;font-weight:800;letter-spacing:.22em}.errorMark{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;border:1px solid #4a2b2e;color:#ff8a8a}.errorScreen h1{margin:16px 0 7px;font-size:19px}.errorScreen p{max-width:340px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}@media(max-width:520px){.app{padding-left:12px;padding-right:12px}.profitCard{padding:19px}.hideSmall{display:none}.bottomNav{padding-left:4px;padding-right:4px}.bottomNav button span{font-size:8px}}@media(max-width:380px){.peopleBalances{grid-template-columns:1fr}.transactionRow{grid-template-columns:28px minmax(0,1fr)}.transactionAmount{grid-column:2;justify-self:start;margin-top:-5px}.personRow{grid-template-columns:36px minmax(0,1fr)}.personBalance{grid-column:2;align-items:flex-start;text-align:left}}.closureCard,.closeActionCard,.lateCloseBanner{border:1px solid var(--line);background:linear-gradient(180deg,#14171a,#101215);border-radius:18px;margin-bottom:28px}.closureCard{padding:17px}.closureTop{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px}.closureTop h2{margin:7px 0 0;font-size:17px;letter-spacing:-.02em}.closureTop>small{color:var(--muted);font-size:9px;padding-top:3px}.closedBadge{display:inline-flex;padding:5px 8px;border:1px solid #2c4435;border-radius:999px;color:var(--green);background:#132019;font-size:9px;font-weight:750}.closureSummary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.closureSummary>div{min-width:0;padding:13px 10px 13px 0;display:flex;flex-direction:column;gap:5px}.closureSummary span,.closePreviewGrid span,.sharePreview span{color:var(--muted);font-size:9px}.closureSummary strong{font-size:13px;white-space:nowrap}.closureMeta{padding:11px 0 2px;color:var(--muted);font-size:10px}.closureMeta b{color:#cdd1d5}.closureMembers{margin-top:9px}.settlementMember{min-height:57px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line-soft)}.settlementPerson,.settlementAmount{display:flex;flex-direction:column;gap:4px}.settlementPerson b{font-size:12px}.settlementPerson small,.settlementAmount small{color:var(--muted);font-size:9px}.settlementAmount{align-items:flex-end;text-align:right}.settlementAmount strong{font-size:13px}.carryoverBox{margin-top:12px;padding:11px 12px;border:1px solid #483335;background:#1d1415;border-radius:11px;color:#cda5a5;font-size:10px;line-height:1.45}.carryoverBox b{color:#ff9f9f}.closeActionCard{padding:15px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.closeActionCard>div:first-child{display:flex;flex-direction:column;gap:5px}.closeActionCard b{font-size:12px}.closeActionCard small{color:var(--muted);font-size:9px;line-height:1.45}.compactAction{min-height:38px;padding:0 14px}.closeError{grid-column:1/-1;color:#ff8f8f;font-size:10px}.lateCloseBanner{width:100%;border-color:#3b3527;padding:13px 14px;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.lateCloseBanner span{display:flex;flex-direction:column;gap:4px}.lateCloseBanner b{font-size:12px}.lateCloseBanner small{color:#a59b7d;font-size:9px;line-height:1.4}.lateCloseBanner>strong{color:#d7c68d;font-size:10px}.closePreviewGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.closePreviewGrid>div{min-height:60px;padding:11px 12px;border:1px solid var(--line);background:#0e1013;border-radius:12px;display:flex;flex-direction:column;gap:5px}.closePreviewGrid b{font-size:13px}.sharePreview{margin-top:8px;padding:13px;border:1px solid #30343a;background:#171a1e;border-radius:12px;display:flex;justify-content:space-between;align-items:center;gap:12px}.sharePreview strong{font-size:15px}.closureMembers.preview{margin-top:10px;padding:0 2px}.closeInfo{margin-top:14px}@media(max-width:430px){.closureSummary{grid-template-columns:1fr}.closureSummary>div{flex-direction:row;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--line-soft)}.closureSummary>div:last-child{border-bottom:0}.closeActionCard{grid-template-columns:1fr}.compactAction{width:100%}}.quickActionsSection{margin-bottom:28px}.quickActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quickAction{min-height:78px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#121519;color:var(--text);display:flex;align-items:center;gap:11px;text-align:left}.quickAction:active{transform:scale(.985)}.quickActionIcon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;display:grid;place-items:center;border:1px solid #30343a;background:#181b20}.quickAction>span:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}.quickAction b{font-size:13px}.quickAction small{color:var(--muted);font-size:9px;line-height:1.25}.expenseAction{border-color:#38282b;background:#171113}.expenseAction .quickActionIcon{color:#e89090;border-color:#4b2d31;background:#241719}.incomeAction{border-color:#293a31;background:#111713}.incomeAction .quickActionIcon{color:#88c89d;border-color:#31503c;background:#172119}.secondaryQuick{min-height:65px;background:#101216}.entryQuestion{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.entryQuestion b{font-size:15px}.entryQuestion small{color:var(--muted);font-size:10px;line-height:1.45}.locationActions,.transferDirections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.locationActions button,.transferDirections button{min-height:66px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#0e1013;color:var(--text);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;text-align:left}.locationActions button b,.transferDirections button b{font-size:11px}.locationActions button small,.transferDirections button small{font-size:9px;color:var(--muted);line-height:1.3}.locationActions .wideLocation,.transferDirections button{grid-column:1/-1}.personPicker{margin-top:8px;border:1px solid var(--line);background:#0e1013;border-radius:12px;overflow:hidden}.personPicker button{width:100%;min-height:48px;padding:0 12px;border-bottom:1px solid var(--line-soft);display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text)}.personPicker button:last-child{border-bottom:0}.personPicker span{font-size:11px;font-weight:700}.personPicker strong{font-size:10px;color:#aeb3b9}.fullAction{width:100%;margin-top:12px}.entryPreviewHeader{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:0 2px 12px}.entryPreviewHeader>div{display:flex;flex-direction:column;gap:4px}.entryPreviewHeader b{font-size:13px}.entryPreviewHeader small{font-size:9px;color:var(--muted)}.entryPreviewHeader>strong{font-size:16px;white-space:nowrap}.entryPreviewList{border:1px solid var(--line);background:#0e1013;border-radius:14px;overflow:hidden}.entryPreviewRow{min-height:61px;padding:9px 11px;display:grid;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:9px;border-bottom:1px solid var(--line-soft)}.entryPreviewRow:last-child{border-bottom:0}.entryPreviewRow>div{min-width:0;display:flex;flex-direction:column;gap:4px}.entryPreviewRow b{font-size:11px;line-height:1.3;overflow-wrap:anywhere}.entryPreviewRow small{font-size:9px;color:var(--muted)}.entryPreviewRow>strong{font-size:11px;white-space:nowrap}.transferRoute{min-height:54px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--line);background:#0e1013;border-radius:12px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:9px;text-align:center}.transferRoute span{font-size:11px;font-weight:700}.transferRoute svg{color:var(--muted)}@media(max-width:380px){.quickActions{grid-template-columns:1fr 1fr}.quickAction{padding:11px;gap:8px}.quickActionIcon{width:34px;height:34px;flex-basis:34px}}
