:root{--paper:#faefda;--bg:var(--paper);--surface:#fffdf7b8;--surface-solid:#fffaf0;--surface-2:#efe8d6;--sage-soft:#e6e8d6;--ink:#1d3a30;--text:#2c3a33;--muted:#7a7f73;--line:#ddd4bf;--line-strong:#cfc6ae;--accent:#12796b;--accent-soft:#dcebe2;--on-accent:#fff;--honey:#e3a24c;--me:#0e8a78;--me-soft:color-mix(in oklab, var(--me) 16%, var(--surface-solid));--me-ink:color-mix(in oklab, var(--me) 72%, var(--ink));--on-me:#fff;--you:#d98a1c;--you-soft:color-mix(in oklab, var(--you) 18%, var(--surface-solid));--you-ink:color-mix(in oklab, var(--you) 72%, var(--ink));--on-you:#fff;--expense:#cf634c;--income:#4c8a3c;--warn:#b8730a;--bar:#2f6a55;--shadow:0 1px 2px #3c32140d, 0 8px 24px #3c32140f;--font-display:"Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;--font-num:"Bricolage Grotesque", "Noto Sans TC", system-ui, sans-serif;--font-serif:"Fraunces", "Noto Serif TC", Georgia, serif;--font-body:"Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;--radius:18px;--radius-sm:14px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:var(--font-body);color:var(--text);background:var(--bg);-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html{background:var(--bg)}body{background:0 0;margin:0}html{touch-action:manipulation}body{min-height:100dvh}body:before{content:"";z-index:-1;background:var(--paper) url(/backgrounds/duotime-paper-bg.webp) top right / cover no-repeat;pointer-events:none;max-width:560px;height:100lvh;margin:0 auto;position:fixed;inset:0 0 auto}h1,h2,h3{font-family:var(--font-display);text-wrap:balance;color:var(--ink);letter-spacing:.04em;margin:0;font-weight:700}h1{font-size:1.9rem}h2{font-size:1.2rem}.num{font-family:var(--font-num);font-variant-numeric:tabular-nums;letter-spacing:-.02em}.muted{color:var(--muted)}.small{font-size:.8rem}.eyebrow{color:var(--muted);letter-spacing:.04em;font-size:.75rem}.expense{color:var(--expense)}.income{color:var(--income)}.center-text{text-align:center}.screen{max-width:480px;padding:calc(env(safe-area-inset-top) + 14px) max(16px, env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 28px) max(16px, env(safe-area-inset-left));flex-direction:column;gap:14px;margin:0 auto;display:flex}.center{justify-content:center;min-height:100dvh}.card{background:var(--surface);border-radius:var(--radius);padding:16px}.stack{flex-direction:column;gap:12px;display:flex}label{color:var(--muted);flex-direction:column;gap:6px;font-size:.85rem;display:flex}input{font:inherit;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--ink);border:1.5px solid #0000;outline:none;padding:12px 14px;font-size:16px;transition:border-color .15s}input:focus,select:focus{border-color:var(--accent)}select{font:inherit;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--ink);border:1.5px solid #0000;outline:none;padding:12px 14px;font-size:16px}button{font:inherit;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--ink);cursor:pointer;border:none;padding:12px 16px;font-weight:500;transition:transform .1s,background .15s}button:active{transform:scale(.97)}button:disabled{opacity:.55}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button.primary{background:var(--ink);color:#fff;font-weight:700}button.accent{background:var(--accent);color:var(--on-accent);font-weight:700}button.ghost{color:var(--accent);background:0 0;padding:8px}button.danger{color:var(--expense);background:0 0}.notice{color:var(--muted);margin:0;font-size:.88rem}.notice.error{color:var(--expense)}.notice.ok{color:var(--income);font-weight:600}.divider{color:var(--muted);align-items:center;gap:12px;font-size:.8rem;display:flex}.divider:before,.divider:after{content:"";background:var(--line);flex:1;height:1px}.google-btn{background:var(--surface);border:1.5px solid var(--line);justify-content:center;align-items:center;gap:10px;font-weight:600;display:flex}.icon{object-fit:contain;flex-shrink:0;place-items:center;line-height:1;display:inline-grid}.avatar{font-family:var(--font-display);border:2px solid var(--surface);border-radius:50%;flex-shrink:0;place-items:center;display:inline-grid;overflow:hidden}.avatar.me{background:var(--me);color:var(--on-me)}.avatar img{object-fit:cover;width:100%;height:100%;display:block}.avatar.you{background:var(--you);color:var(--on-you)}.avatar.ghost{background:var(--surface-2);color:var(--muted);border-style:dashed;border-color:var(--line)}.pair{display:inline-flex}.pair .avatar+.avatar{margin-left:-10px}.login-hero{text-align:center;flex-direction:column;align-items:center;gap:10px;padding-bottom:8px;display:flex}.login-hero .logo{width:76px;height:76px;box-shadow:var(--shadow);border-radius:22px}.login-hero h1{font-size:2rem}.topbar{justify-content:space-between;align-items:center;gap:12px;min-height:56px;margin-bottom:-4px;display:flex}.brand{font-family:var(--font-num);letter-spacing:.12em;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:1.1rem;font-weight:700;overflow:hidden}.head-pair{background:0 0;border-radius:99px;flex-shrink:0;gap:6px;padding:0;display:flex}.head-pair .avatar{border:none;box-shadow:0 2px 6px #3c321424;font-size:22px!important}.page-title{letter-spacing:.08em;margin-top:4px;font-size:2.3rem;line-height:1.15}.page-title.underlined{align-self:flex-start;padding-bottom:12px;position:relative}.page-title.underlined:after{content:"";background:#6fa595;border-radius:99px;width:52px;height:5px;position:absolute;bottom:0;left:2px}.page-title.brushed{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C25 3 60 2 98 4' stroke='%23e3a24c' stroke-width='3.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") 0 100%/100% 10px no-repeat;align-self:flex-start;padding:0 6px 8px}.balance-strip{text-align:left;background:var(--surface);box-shadow:var(--shadow);border-radius:24px;flex-direction:column;gap:14px;width:100%;padding:18px 16px 16px;display:flex}.balance-text{font-family:var(--font-display);justify-content:space-between;align-items:baseline;gap:12px;font-size:1.05rem;display:flex}.balance-text strong{font-size:1.9rem;font-weight:800;line-height:1}.me-ink{color:var(--me-ink)}.you-ink{color:var(--you-ink)}.beam{align-items:center;gap:10px;display:flex}.track{background:linear-gradient(90deg, var(--me-soft), var(--surface-2) 50%, var(--you-soft));border-radius:99px;flex:1;height:6px;position:relative}.track .mid{background:var(--line);border-radius:2px;width:2px;height:16px;margin-left:-1px;position:absolute;top:-5px;left:50%}.track .weight{background:var(--muted);border:3px solid var(--surface);border-radius:50%;width:20px;height:20px;margin:-10px 0 0 -10px;transition:left .6s cubic-bezier(.3,1.4,.5,1);position:absolute;top:50%;box-shadow:0 1px 4px #0003}.track .weight.me{background:var(--me)}.track .weight.you{background:var(--you)}.month{flex-direction:column;gap:12px;padding:4px 2px 0;display:flex}.month-nav{align-items:center;gap:8px;display:flex}.month-nav h2{text-align:center;flex:1}.icon-btn{background:var(--surface);width:36px;height:36px;color:var(--ink);border-radius:50%;place-items:center;padding:0;display:grid}.month-figures{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.month-figures>div:first-child{flex-direction:column;gap:2px;display:flex}.month-figures .big{font-size:2.4rem;font-weight:800;line-height:1}.month-side{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.month-side b{color:var(--ink);font-weight:600}.month-side b.income{color:var(--income)}.split-bar{background:var(--surface-2);border-radius:99px;height:10px;display:flex;overflow:hidden}.split-bar span{height:100%;transition:width .4s;display:block}.split-bar .me{background:var(--me)}.split-bar .you{background:var(--you)}.split-bar .solo{background:var(--muted);opacity:.35}.legend{color:var(--muted);flex-wrap:wrap;gap:6px 16px;font-size:.8rem;display:flex}.legend i{vertical-align:1px;border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.legend .me{background:var(--me)}.legend .you{background:var(--you)}.legend .solo{background:var(--muted);opacity:.5}.legend b{color:var(--ink);font-weight:600;font-family:var(--font-display);font-variant-numeric:tabular-nums}.day{padding:0 2px}.day-head{color:var(--muted);border-bottom:1.5px solid var(--ink);justify-content:space-between;padding:10px 0 6px;font-size:.8rem;display:flex}.tx-list{margin:0;padding:0;list-style:none}.tx-list li{border-top:1px solid var(--line)}.tx-list li:first-child{border-top:none}.tx-row{text-align:left;width:100%;color:var(--ink);background:0 0;border-radius:0;align-items:center;gap:12px;padding:11px 0;font-weight:400;display:flex}button.tx-row:active{background:var(--surface-2);transform:none}@media (hover:hover){button.tx-row:hover{background:var(--surface-2)}button.primary:hover,button.accent:hover{filter:brightness(1.08)}}button.small{padding:6px 10px;font-size:.8rem}.tx-tile{background:var(--surface);border-radius:14px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid;position:relative}.tx-tile .avatar{position:absolute;bottom:-5px;right:-5px}.tx-main{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.tx-title{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.tx-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:.78rem;display:flex}.chip{border-radius:99px;align-items:center;gap:4px;padding:2px 8px;font-size:.72rem;font-weight:500;display:inline-flex}.chip.me{background:var(--me-soft);color:var(--me-ink)}.chip.you{background:var(--you-soft);color:var(--you-ink)}.chip.solo{background:var(--surface-2);color:var(--muted)}.tx-amount{white-space:nowrap;font-size:1.02rem;font-weight:700}.empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:10px;padding:36px 16px;display:flex}.tabbar{z-index:5;background:color-mix(in oklab, var(--paper) 94%, transparent);-webkit-backdrop-filter:blur(8px);border-top:1.5px solid var(--line);padding:0 max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));position:fixed;bottom:0;left:0;right:0}.tabbar-inner{grid-template-columns:1fr 1fr auto 1fr 1fr;align-items:center;max-width:480px;height:64px;margin:0 auto;display:grid}.tabbar-inner>button{color:var(--ink);letter-spacing:.08em;background:0 0;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;height:100%;padding:0;font-size:1.05rem;font-weight:500;display:flex;position:relative}.tabbar-inner>button.on{color:var(--accent);font-weight:700}.tabbar-inner>button.on:after{content:"";background:var(--accent);border-radius:99px;width:44px;height:3.5px;margin-left:-22px;position:absolute;bottom:9px;left:50%}.tabbar-inner>button:active{opacity:.7;transform:none}.add-pill{background:var(--accent);height:50px;color:var(--on-accent);border-radius:99px;justify-self:center;align-items:stretch;margin:0 4px;display:flex;overflow:hidden;box-shadow:0 4px 14px #12796b59}.add-pill>button.add{width:58px;color:inherit;box-shadow:none;background:0 0;border-radius:0;place-items:center;padding:0;display:grid}.add-pill>button.add:first-child{padding-left:6px}.add-pill>button.add.scan{padding-right:6px;position:relative}.add-pill>button.add.scan:before{content:"";background:#ffffff73;border-radius:1px;width:1.5px;position:absolute;top:13px;bottom:13px;left:0}.add-pill>button.add:active{background:#0000001f;transform:none}.add-pill>button.add svg{width:26px;height:26px}.add-pill>button.add.scan svg{width:24px;height:24px}.sheet-backdrop{z-index:20;background:#0a100f73;justify-content:center;align-items:flex-end;animation:.18s ease-out fade;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);width:100%;max-width:480px;max-height:94dvh;padding:10px max(16px, env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 20px) max(16px, env(safe-area-inset-left));overscroll-behavior:contain;scrollbar-gutter:stable both-edges;border-radius:26px 26px 0 0;flex-direction:column;gap:14px;animation:.24s cubic-bezier(.2,.9,.3,1) rise;display:flex;overflow-y:auto}.sheet.tall{height:88dvh}.grabber{background:var(--line);border-radius:99px;width:40px;height:5px;margin:0 auto 2px}.sheet-head{justify-content:space-between;align-items:center;display:flex}.sheet-head strong{font-family:var(--font-display);font-size:1.05rem}.amount-box{background:var(--surface);border-radius:var(--radius-sm);align-items:baseline;gap:6px;padding:10px 16px;display:flex}.amount-box span{font-family:var(--font-num);color:var(--muted);font-size:1.4rem}.amount-input{text-align:right;font-variant-numeric:tabular-nums;flex:1;min-width:0;font-weight:800;font-family:var(--font-num)!important;background:0 0!important;border:none!important;padding:4px 0!important;font-size:2.4rem!important}.amount-box.expense .amount-input{color:var(--expense)}.amount-box.income .amount-input{color:var(--income)}.segmented{background:var(--surface-2);border-radius:var(--radius-sm);gap:4px;padding:4px;display:flex}.segmented button{white-space:nowrap;color:var(--muted);background:0 0;border-radius:9px;flex:1;padding:9px 6px;font-size:.88rem}.segmented button.on{background:var(--surface);color:var(--ink);box-shadow:var(--shadow);font-weight:700}.segmented.wrap{flex-wrap:wrap}.segmented.wrap button{flex:40%}.cat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.cat{background:var(--surface);color:var(--ink);border:1.5px solid #0000;flex-direction:column;align-items:center;gap:4px;padding:10px 2px 8px;font-size:.78rem;display:flex}.group{background:var(--surface);border-radius:var(--radius-sm);flex-direction:column;gap:12px;padding:14px;display:flex}.group-label{color:var(--muted);font-size:.8rem}.payer-pick{grid-template-columns:1fr 1fr;gap:8px;display:grid}.payer-pick button{background:var(--surface-2);border:1.5px solid #0000;align-items:center;gap:10px;padding:10px;display:flex}.payer-pick button.on.me{border-color:var(--me);background:var(--me-soft)}.payer-pick button.on.you{border-color:var(--you);background:var(--you-soft)}.split-preview{flex-direction:column;gap:8px;display:flex}.split-preview .legend{justify-content:space-between}.switch-row{color:var(--ink);flex-direction:row;justify-content:space-between;align-items:center;gap:12px;font-size:.92rem;display:flex}.switch-row small{color:var(--muted);font-size:.78rem;display:block}.toggle{appearance:none;background:var(--line);cursor:pointer;border:none;border-radius:99px;flex-shrink:0;width:50px;height:30px;padding:0;transition:background .2s;position:relative}.toggle:after{content:"";background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.toggle:checked{background:var(--me)}.toggle:checked:after{transform:translate(20px)}input[type=range]{accent-color:var(--me);background:0 0;padding:0}.settle-hero{box-shadow:var(--shadow);text-align:center;border-radius:24px;flex-direction:column;align-items:center;gap:14px;padding:26px 16px;display:flex}.settle-flow{align-items:center;gap:10px;display:flex}.settle-flow .arrow{background:repeating-linear-gradient(90deg, var(--muted) 0 6px, transparent 6px 11px);width:70px;height:2px;position:relative}.settle-flow .arrow:after{content:"";border:6px solid #0000;border-left-color:var(--muted);position:absolute;top:-5px;right:-2px}.settle-hero .big{font-size:2.8rem;font-weight:800;line-height:1}.members{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.members li{align-items:center;gap:12px;display:flex}.invite{border-top:1px dashed var(--line);flex-direction:column;align-items:stretch;gap:10px;margin-top:6px;padding-top:14px;display:flex}.code{font-family:var(--font-num);letter-spacing:.28em;text-align:center;color:var(--me-ink);font-size:2.1rem;font-weight:800}.code-input{letter-spacing:.25em;text-transform:uppercase;font-family:var(--font-num);text-align:center;font-weight:700}@keyframes rise{0%{opacity:0;transform:translateY(40px)}}@keyframes fade{0%{opacity:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.legal-links{justify-content:center;gap:20px;margin:4px 0 0;display:flex}.legal-links a{color:var(--muted)}.profile-edit{align-items:center;gap:16px;display:flex}.avatar-picker{background:0 0;border-radius:50%;flex-shrink:0;padding:0;position:relative}.avatar-picker .badge{background:var(--ink);width:26px;height:26px;color:var(--bg);border:2px solid var(--surface);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-2px;right:-2px}.avatar-picker .badge svg{width:14px;height:14px}.swatches{grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:10px;display:grid}.swatch{aspect-ratio:1;border:3px solid var(--surface);max-width:100%;box-shadow:0 0 0 1.5px var(--line);border-radius:50%;padding:0;position:relative}.swatch.on{box-shadow:0 0 0 2.5px var(--ink)}.swatch.on:after{content:"";background:var(--surface);border-radius:50%;position:absolute;inset:30%}.swatch.custom{background:conic-gradient(#e5484d,#f5a524,#46a758,#0090ff,#8e4ec6,#e5484d);overflow:hidden}.swatch.custom input{opacity:0;cursor:pointer;width:100%;height:100%;padding:0;position:absolute;inset:0}.row-actions{flex-wrap:wrap;gap:8px;display:flex}.gsi-wrap{flex-direction:column;align-items:center;gap:6px;min-height:44px;display:flex}.gsi-btn{justify-content:center;width:100%;display:flex}.card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.empty-cta{text-align:left;background:var(--surface-2);color:var(--muted);border:1.5px dashed var(--line);align-items:center;gap:12px;padding:14px;font-size:.88rem;font-weight:400;display:flex}.meter{flex-direction:column;gap:6px;display:flex}.meter-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.meter-label{font-weight:500}.meter-head .num{color:var(--muted)}.meter-head b{color:var(--ink);font-weight:700}.meter-track{background:var(--surface-2);border-radius:99px;height:8px;overflow:hidden}.meter-track span{background:var(--bar);border-radius:99px;height:100%;transition:width .4s;display:block}.meter.warn .meter-track span{background:var(--warn)}.meter.over .meter-track span{background:var(--expense)}.meter-note{color:var(--muted)}.meter.warn .meter-note{color:var(--warn);font-weight:600}.meter.over .meter-note{color:var(--expense);font-weight:700}.budget-alert{text-align:left;border-radius:var(--radius-sm);background:color-mix(in oklab, var(--warn) 14%, var(--surface));width:100%;color:var(--ink);align-items:center;gap:12px;padding:12px 14px;font-weight:400;display:flex}.budget-alert.over{background:color-mix(in oklab, var(--expense) 13%, var(--surface))}.budget-alert>span{flex-direction:column;gap:2px;min-width:0;display:flex}.budget-alert strong{font-family:var(--font-display);color:var(--warn);font-weight:400}.budget-alert.over strong{color:var(--expense)}.budget-row{color:var(--ink);grid-template-columns:28px 1fr 120px;align-items:center;gap:10px;font-size:.92rem;display:grid}.budget-row input{text-align:right;font-family:var(--font-num);padding:9px 12px}.cat-bars{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.cat-bars li{align-items:center;gap:12px;display:flex}.cat-bar-main{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.cat-bar-head{justify-content:space-between;gap:8px;font-size:.9rem;display:flex}.cat-bar-head b{font-weight:700}.hbar span{background:var(--bar);border-radius:0 4px 4px 0;min-width:3px;height:100%;transition:width .4s;display:block}.trend{grid-template-columns:repeat(6,1fr);align-items:end;gap:6px;display:grid}.trend-col{color:var(--muted);background:0 0;border-radius:10px;flex-direction:column;align-items:center;gap:6px;padding:4px 0;font-weight:400;display:flex}.trend-col:active{background:var(--surface-2);transform:none}.trend-val{min-height:1em;color:var(--ink);white-space:nowrap;font-size:.68rem}.trend-bar-wrap{justify-content:center;align-items:flex-end;width:100%;height:110px;display:flex}.trend-bar{background:var(--line);border-radius:4px 4px 0 0;width:60%;max-width:32px;min-height:2px;transition:height .4s;display:block}.trend-col.on{color:var(--ink);font-weight:700}.trend-label{font-size:.75rem}.cat-name-row{align-items:center;gap:10px;display:flex}.cat-name-row input{flex:1;min-width:0}.cat-name-row .tx-tile{background:var(--surface-2)}.emoji-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px;display:grid}.emoji-grid button{background:var(--surface-2);border:1.5px solid #0000;place-items:center;padding:8px 0;display:grid}.emoji-grid button.on{border-color:var(--me);background:var(--me-soft)}.cat-manage{background:var(--surface);border-radius:var(--radius-sm);margin:0;padding:0;list-style:none}.cat-manage li{border-top:1px solid var(--line);align-items:center;gap:6px;padding:6px 8px;display:flex}.cat-manage li:first-child{border-top:none}.cat-manage li.archived .cat-manage-main{opacity:.5}.cat-manage-main{text-align:left;background:0 0;flex:1;align-items:center;gap:10px;min-width:0;padding:8px 4px;font-weight:400;display:flex}.cat-manage .icon-btn{background:var(--surface-2);width:32px;height:32px;font-size:.9rem}.cat-preview{flex-wrap:wrap;gap:8px;display:flex}.update-toast{z-index:30;left:50%;bottom:calc(env(safe-area-inset-bottom) + 84px);background:var(--surface);width:min(100% - 32px,448px);color:var(--ink);border-radius:99px;align-items:center;gap:8px;padding:8px 8px 8px 18px;animation:.24s cubic-bezier(.2,.9,.3,1) rise;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 10px 30px #0000002e}.update-toast span{flex:1;font-weight:600}.update-toast button.accent{border-radius:99px;padding:8px 14px}.couple{align-items:center;gap:14px;padding:6px 2px 4px;display:flex}.couple-pair{flex-shrink:0;display:flex}.couple-pair .avatar{border-width:3px;border-color:var(--bg)}.couple-me{background:0 0;border-radius:50%;padding:0}.couple-pair>.couple-me:first-child{z-index:1;position:relative}.couple-names{flex-direction:column;gap:2px;min-width:0;display:flex}.couple-names strong{font-family:var(--font-display);text-overflow:ellipsis;white-space:nowrap;font-size:1.2rem;font-weight:400;overflow:hidden}.set-group{background:var(--surface);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.set-group li+li .set-row:before{content:"";background:var(--line);height:1px;position:absolute;top:0;left:58px;right:0}.set-row{text-align:left;width:100%;min-height:54px;color:var(--ink);background:0 0;border-radius:0;align-items:center;gap:12px;padding:8px 14px;font-weight:400;display:flex;position:relative}button.set-row:active{background:var(--surface-2);transform:none}@media (hover:hover){button.set-row:hover{background:var(--surface-2)}}.set-icon{background:var(--surface-2);border-radius:9px;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.set-label{flex:1;min-width:0}.set-value{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:45%;font-size:.88rem;overflow:hidden}.set-dot{vertical-align:-2px;border-radius:50%;width:14px;height:14px;display:inline-block}.set-chev{color:var(--muted);opacity:.6;display:grid}.set-chev svg{width:16px;height:16px}.danger-row{color:var(--expense);justify-content:center;font-weight:600}.sheet .invite{text-align:center;border-top:none;align-items:stretch;margin:0}.sheet .invite .icon{align-self:center}.delete-link{color:var(--muted);background:0 0;align-self:center;padding:6px 10px;font-weight:400;text-decoration:underline}.delete-btn{background:var(--expense);color:#fff;font-weight:700}.plain-list{color:var(--muted);flex-direction:column;gap:6px;margin:0;padding-left:1.2em;line-height:1.55;display:flex}.back-link{color:var(--me-ink);background:0 0;align-self:flex-start;align-items:center;gap:4px;margin-top:-6px;padding:2px 4px;font-size:.88rem;font-weight:600;display:inline-flex}.back-link svg{width:16px;height:16px}.goal-tile{background:var(--surface-2);border-radius:14px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.goal-main{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.goal-row{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.goal-row strong{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.goal-bar{height:8px}.goals-strip,.goal-card{text-align:left;background:var(--surface);border-radius:var(--radius);width:100%;color:var(--ink);align-items:center;gap:12px;padding:14px;font-weight:400;display:flex}.goals-strip{box-shadow:var(--shadow)}.goal-card.done{opacity:.6}.goal-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.goal-hero{background:var(--surface);border-radius:var(--radius);text-align:center;flex-direction:column;align-items:center;gap:12px;padding:20px 16px;display:flex}.goal-hero .goal-bar{width:100%;height:12px}.goal-figure{flex-direction:column;align-items:center;gap:2px;display:flex}.goal-figure .big{font-size:2.4rem;font-weight:800;line-height:1}.goal-status{color:var(--muted);margin:0;font-size:.9rem}.goal-status b{color:var(--ink);font-weight:700}.deposit-row{align-items:center;gap:10px;padding:10px 0;display:flex}.icon-btn.mini{background:var(--surface-2);width:28px;height:28px;color:var(--muted);flex-shrink:0;font-size:1rem}.photo-row{flex-wrap:wrap;gap:8px;display:flex}.photo-thumb{width:76px;height:76px;position:relative}.photo-open{border-radius:var(--radius-sm);background:var(--surface-2);width:100%;height:100%;padding:0;overflow:hidden}.photo-open img{object-fit:cover;width:100%;height:100%;display:block}.photo-loading{background:linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2));background-size:200% 100%;width:100%;height:100%;animation:1.2s linear infinite shimmer;display:block}@keyframes shimmer{to{background-position:-200% 0}}.photo-remove{background:var(--ink);width:24px;height:24px;color:var(--bg);border:2px solid var(--bg);border-radius:50%;place-items:center;padding:0;font-size:.9rem;line-height:1;display:grid;position:absolute;top:-6px;right:-6px}.photo-add{background:var(--surface);border:1.5px dashed var(--line);min-width:76px;height:76px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:0 14px;font-weight:400;display:flex}.photo-viewer{z-index:40;padding:env(safe-area-inset-top) 12px env(safe-area-inset-bottom);background:#000000e6;place-items:center;animation:.15s ease-out fade;display:grid;position:fixed;inset:0}.photo-viewer img{object-fit:contain;border-radius:8px;max-width:100%;max-height:90dvh}.photo-viewer-close{top:calc(env(safe-area-inset-top) + 12px);color:#fff;background:#ffffff26;border-radius:50%;width:40px;height:40px;padding:0;font-size:1.4rem;position:absolute;right:16px}.comments{gap:10px}.comment{align-items:flex-start;gap:8px;display:flex}.comment-bubble{background:var(--surface-2);border-radius:4px 14px 14px;flex-direction:column;flex:1;gap:2px;min-width:0;padding:8px 12px;display:flex}.comment.me .comment-bubble{background:var(--me-soft)}.comment.you .comment-bubble{background:var(--you-soft)}.comment-meta{color:var(--muted)}.comment-body{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);font-size:.92rem}.comment-input{gap:8px;display:flex}.comment-input input{flex:1;min-width:0}.screen{padding-left:max(20px, env(safe-area-inset-left));padding-right:max(20px, env(safe-area-inset-right));gap:16px}.screen.with-tabs{padding-bottom:calc(env(safe-area-inset-bottom) + 100px)}.card{background:var(--surface);border:1px solid var(--line);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.group{background:var(--surface);border:1px solid var(--line)}input,select{background:var(--surface-solid);border-color:var(--line)}.serif-num{font-family:var(--font-serif);font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.01em;color:var(--ink);font-weight:700}.text-link{color:var(--accent);letter-spacing:.06em;background:0 0;border-radius:8px;align-items:center;gap:6px;padding:6px 2px;font-weight:700;display:inline-flex}.text-link svg{width:20px;height:20px}.section-head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.section-head .count{color:var(--muted);font-size:1.05rem;font-family:var(--font-num);margin-right:auto}.section-head h2+.count{margin-left:4px}.section-head .text-link{font-size:.95rem}.section-head .text-link svg{width:18px;height:18px}.paper-section{border-top:1.5px solid var(--line);padding-top:18px}.empty{color:var(--muted)}.empty strong{color:var(--ink)}.month-nav{justify-content:flex-start;gap:14px}.month-nav h2{font-family:var(--font-num);letter-spacing:.04em;color:var(--ink);flex:none;font-size:1.3rem;font-weight:500}.icon-btn{width:34px;height:34px;color:var(--ink);background:0 0}.icon-btn svg{width:20px;height:20px}.tagline{text-align:left;color:inherit;background:0 0;border-radius:0;flex-direction:column;align-items:flex-start;gap:14px;padding:8px 0 0;font-weight:400;display:flex}.tagline:active{transform:none}.tagline h1{letter-spacing:.1em;white-space:pre-line;font-size:clamp(2.2rem,10.5vw,2.9rem);font-weight:900;line-height:1.28;animation:.5s ease-out fade}.tagline p{color:var(--muted);letter-spacing:.12em;margin:0;font-size:1.02rem;animation:.7s ease-out fade}.add-row{justify-content:flex-end;margin-top:-4px;display:flex}.add-row .text-link{font-size:1.25rem}.add-row .text-link svg{width:22px;height:22px}.balance-strip{background:var(--surface);border:1px solid var(--line);box-shadow:none;border-radius:var(--radius);color:var(--text)}.balance-text{font-family:var(--font-display);font-weight:500}.balance-text strong{font-family:var(--font-num)}.month-summary{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);flex-direction:column;gap:10px;padding:14px 16px;display:flex}.month-figures .big{color:var(--ink);font-size:1.9rem}.goals-strip{background:var(--surface);border:1px solid var(--line);box-shadow:none}.empty-cta{background:var(--surface);border-color:var(--line-strong)}.budget-alert{border:1px solid color-mix(in oklab, var(--warn) 30%, transparent)}.timeline{flex-direction:column;gap:14px;margin-top:-4px;display:flex}.tl-date{font-family:var(--font-num);color:var(--ink);letter-spacing:.02em;padding-bottom:4px;font-size:1.15rem;font-weight:500}.tl-list{margin:0;padding:0 0 0 30px;list-style:none;position:relative}.tl-list:not(.plain):before{content:"";background:var(--line-strong);border-radius:2px;width:2px;position:absolute;top:0;bottom:0;left:30px}.tl-list.plain{padding-left:0}.tl-row{text-align:left;width:100%;color:var(--text);background:0 0;border-radius:10px;align-items:center;gap:14px;padding:10px 0;font-weight:400;display:flex;position:relative}.tl-row.static{border-top:1px solid var(--line);padding:12px 0}.tl-list.plain li:first-child .tl-row.static{border-top:none}button.tl-row:active{background:#fff6;transform:none}@media (hover:hover){button.tl-row:hover{background:#ffffff59}}.tl-dot{width:16px;height:16px;box-shadow:0 0 0 4px var(--paper);z-index:1;border-radius:50%;flex-shrink:0;margin-left:-7px;position:relative}.tl-main{flex-direction:column;flex:1;gap:2px;min-width:0;padding-left:14px;display:flex}.tl-list.plain .tl-main{padding-left:0}.tl-title{color:var(--ink);letter-spacing:.06em;text-overflow:ellipsis;white-space:nowrap;font-size:1.3rem;font-weight:700;overflow:hidden}.tl-meta{color:var(--muted);letter-spacing:.04em;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:.98rem;display:flex}.tl-payer{align-items:center;gap:4px;display:inline-flex}.tl-payer .avatar{border-width:1px;font-size:9px!important}.tl-amount{font-family:var(--font-num);white-space:nowrap;letter-spacing:0;font-size:1.4rem;font-weight:500}.tl-amount.expense{color:var(--expense)}.tl-amount.income{color:var(--income)}.tl-list.plain .tl-amount{font-size:1.1rem}.pill-seg{background:var(--surface-2);border-radius:99px;align-self:flex-start}.pill-seg button{border-radius:99px;padding:7px 16px}.pill-seg button.on{background:var(--surface-solid);color:var(--accent);box-shadow:none}.stat-hero{flex-direction:column;gap:6px;padding-bottom:4px;display:flex}.stat-label{color:var(--muted);letter-spacing:.08em;align-items:center;gap:10px;font-size:1rem;display:inline-flex}.stat-label:before{content:"";background:#b9cdb6;border-radius:3px;width:5px;height:20px}.stat-row{flex-wrap:wrap;align-items:center;gap:20px;padding-left:18px;display:flex}.stat-big{font-size:3rem;line-height:1.1}.stat-compare{border-left:1.5px solid var(--line-strong);color:var(--muted);padding-left:20px;font-size:1rem}.stat-compare b{color:var(--ink);font-weight:600}.soft-cta{text-align:left;background:var(--sage-soft);border-radius:var(--radius);width:100%;color:var(--text);letter-spacing:.06em;align-items:center;gap:16px;padding:16px 20px;font-size:1rem;font-weight:400;display:flex}.soft-cta>span:last-child{border-left:1.5px solid #c9cfb7;padding-left:16px}.cat-bars li{align-items:flex-start;gap:16px}.cat-dot{opacity:.85;border-radius:50%;flex-shrink:0;width:18px;height:18px;margin-top:4px}.cat-bar-head{color:var(--ink);font-size:1.15rem}.cat-bar-head>span:first-child{letter-spacing:.06em;font-weight:700}.cat-bar-head .num{font-family:var(--font-num);font-size:1.05rem}.hbar{background:var(--surface-2);border-radius:99px;height:10px}.hbar span{border-radius:99px}.trend{border-bottom:1.5px solid var(--line-strong);padding-bottom:0}.trend-col{padding-bottom:0}.trend-bar{background:var(--line);border-radius:6px 6px 0 0;width:66%;max-width:46px;min-height:3px}.trend-col.on .trend-bar{background:var(--bar)}.trend-col.on .trend-label{color:var(--ink);font-family:var(--font-serif);font-weight:700}.meter-track{background:var(--surface-2)}.settle-hero{text-align:center;box-shadow:none;background:0 0;flex-direction:column;align-items:center;gap:12px;padding:10px 0 24px;display:flex}.settle-flow{gap:18px}.settle-flow .arrow{background:repeating-linear-gradient(90deg,#6d7f74 0 9px,#0000 9px 16px);width:110px}.settle-flow .arrow:after{border-left-color:#6d7f74}.settle-flow .avatar{border:none;box-shadow:0 2px 8px #3c32141f}.settle-who{color:var(--text);letter-spacing:.06em;font-size:1.3rem}.pill-label{background:var(--surface-2);color:var(--ink);letter-spacing:.1em;border-radius:99px;padding:5px 18px;font-size:.98rem}.settle-big{letter-spacing:-.02em;font-size:4rem;font-weight:800;line-height:1}.settle-big.owed{color:#4f8a3a}.settle-big.owe{color:var(--expense)}.settle-done{color:var(--ink);font-size:1.3rem}.settle-form h2{letter-spacing:.08em;font-size:1.6rem}.sub{color:var(--muted);letter-spacing:.06em;margin:6px 0 0}.money-field{background:var(--sage-soft);border-radius:var(--radius);flex-direction:row;align-items:center;gap:0;padding:4px 8px 4px 20px}.money-field .cur{color:#5d8a3c;font-size:1.5rem;font-family:var(--font-num);border-right:1.5px solid #c9cfb7;padding-right:14px}.money-field input{min-width:0;font-size:1.4rem;font-family:var(--font-num);color:var(--ink);background:0 0;border:none;flex:1}.big-btn{letter-spacing:.12em;border-radius:var(--radius);padding:16px;font-size:1.25rem}.center-link{color:var(--text);align-self:center;font-size:1.15rem;font-weight:500}.center-link svg{color:#4f8a3a;width:26px;height:26px}.couple{gap:18px;padding:2px 0 4px}.couple-pair>*+*{margin-left:-14px}.couple-pair .avatar{border:none;box-shadow:0 2px 8px #3c32141f}.couple-names strong{font-family:var(--font-num);color:var(--ink);letter-spacing:.02em;font-size:1.35rem;font-weight:700}.group-title{letter-spacing:.1em;align-items:center;gap:16px;margin:6px 0 -6px;font-size:1.35rem;display:flex}.group-title:after{content:"";background:var(--line-strong);flex:1;height:1.5px}.set-group{background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius)}.set-group li+li .set-row:before{background:var(--line);left:62px;right:18px}.set-row{letter-spacing:.06em;min-height:58px;color:var(--ink);gap:16px;padding:8px 18px;font-size:1.1rem}.set-icon{width:30px;height:30px;color:var(--ink);background:0 0}.set-icon svg{width:26px;height:26px}.set-value{color:var(--muted);letter-spacing:.02em;font-size:1rem}.set-chev{opacity:1;color:var(--ink)}.set-dot{width:20px;height:20px}.logout-btn{color:#c4503b;border-radius:var(--radius);letter-spacing:.3em;background:0 0;border:1.5px solid #d77b6a;margin-top:14px;padding:14px;font-size:1.2rem;font-weight:700}.delete-link{color:var(--muted);letter-spacing:.06em;font-size:.95rem}.sheet{background:var(--paper) url(/backgrounds/duotime-paper-bg.webp) top right / 100% auto no-repeat}.sheet-head strong{color:var(--ink);letter-spacing:.08em;font-size:1.15rem;font-weight:700}.grabber{background:var(--line-strong)}.segmented{background:var(--surface-2)}.segmented button.on{background:var(--surface-solid);color:var(--accent)}.tx-sheet{height:100dvh;max-height:100dvh;padding-top:calc(env(safe-area-inset-top) + 14px);border-radius:0;gap:16px}.tx-sheet .grabber{display:none}.tx-head{padding:6px 0 4px}.tx-head strong{letter-spacing:.1em;font-size:1.6rem}.tx-head .cancel{color:#d08a2e;font-size:1.1rem;font-weight:700}.draft-btn{align-items:center;gap:4px;font-size:1rem;display:inline-flex;color:var(--text)!important}.draft-btn svg{width:20px;height:20px}.draft-note{justify-content:center;align-items:center;gap:8px;display:flex}.draft-note .text-link{padding:2px 4px;font-size:.85rem}.type-toggle{background:#e6e3d2;border-radius:99px;grid-template-columns:1fr 1fr;padding:0;display:grid;box-shadow:inset 0 1px 2px #3c321414}.type-toggle button{letter-spacing:.12em;color:var(--ink);background:0 0;border-radius:99px;padding:13px;font-size:1.2rem;font-weight:500}.type-toggle button.on{background:var(--accent);color:var(--on-accent);font-weight:700;box-shadow:0 2px 6px #12796b4d}.brush-label{color:var(--ink);letter-spacing:.08em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M2 4 C30 1.5 70 1.5 98 3' stroke='%2389a77b' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") 0 100%/100% 6px no-repeat;align-self:flex-start;padding:0 2px 8px;font-size:1.15rem}.amount-line{align-items:flex-start;gap:24px;display:flex}.amount-line .brush-label{margin-top:12px}.amount-box{min-width:0;color:var(--ink);background:0 0;border-bottom:2px solid #b8c3a6;border-radius:0;flex-direction:row;flex:1;align-items:baseline;gap:12px;padding:4px 0 6px}.amount-box .cur{font-family:var(--font-num);color:var(--ink);font-size:1.6rem;font-weight:700}.amount-input{text-align:left;caret-color:var(--accent);color:var(--ink)!important;font-size:3rem!important}.amount-box.expense .amount-input,.amount-box.income .amount-input{color:var(--ink)}.amount-input::placeholder{color:var(--ink);opacity:1}.cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:-4px}.cat{letter-spacing:.06em;background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius-sm);color:var(--ink);flex-direction:row;justify-content:center;gap:10px;padding:14px 6px;font-size:1.1rem;font-weight:500}.cat span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cat.on{border-color:var(--accent);background:var(--accent-soft);color:var(--ink);font-weight:700}.pick-pair{grid-template-columns:1fr 1fr;gap:12px;display:grid}.pick-card{text-align:left;background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius-sm);color:var(--ink);grid-template-rows:auto auto;grid-template-columns:1fr auto;align-items:center;gap:2px 8px;padding:10px 14px 12px 18px;font-weight:400;display:grid}.pick-card:disabled{opacity:.6}.pick-card.open{border-color:var(--accent)}.pick-label{color:var(--muted);letter-spacing:.08em;grid-column:1;font-size:.95rem}.pick-value{letter-spacing:.06em;text-overflow:ellipsis;white-space:nowrap;grid-column:1;font-size:1.3rem;font-weight:700;overflow:hidden}.pick-card svg{grid-area:1/2/3;width:20px;height:20px}.pick-card.open svg{transform:rotate(90deg)}.split-panel{animation:.2s ease-out fade}.field-row{background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius-sm);min-height:60px;color:var(--ink);flex-direction:row;align-items:center;gap:14px;padding:6px 16px 6px 22px;font-size:1.05rem}.field-row>svg{color:#50665a;flex-shrink:0;width:26px;height:26px}.field-row>svg:last-child{width:18px;height:18px}.field-label{letter-spacing:.08em;flex-shrink:0}.field-row input{min-width:0;color:var(--ink);background:0 0;border:none;flex:1;padding:8px 0 8px 18px}.field-row input[type=date]{text-align:right;font-family:var(--font-num);appearance:none;justify-content:flex-end;min-height:40px;font-size:1.2rem;display:flex}.field-row input[type=date]::-webkit-date-and-time-value{text-align:right}.field-row input[type=date]::-webkit-calendar-picker-indicator{opacity:0;width:0;margin:0;padding:0}.field-row input::placeholder{color:#8a8d80}.photo-add{border:1.5px dashed var(--line-strong);color:var(--ink);letter-spacing:.08em;background:0 0;font-size:1.05rem}.photo-add.wide{border-radius:var(--radius-sm);flex-direction:row;gap:14px;width:100%;height:70px}.photo-add svg{color:#50665a;width:30px;height:30px}.tx-sheet .big-btn{border-radius:99px;margin-top:4px;padding:17px;font-size:1.35rem}.today-pill{background:var(--accent-soft);color:var(--accent);letter-spacing:.06em;border-radius:99px;margin-left:auto;padding:6px 14px;font-size:.9rem;font-weight:700}.page-title{margin-top:0;font-size:2rem}.stat-big{font-size:2.5rem}.stat-hero{gap:2px;padding-bottom:0}.paper-section{padding-top:12px}.paper-section.stack{gap:10px}.soft-cta{padding:10px 16px;font-size:.95rem}.soft-cta svg{width:30px;height:30px}.cat-bars{gap:10px}.cat-bar-head{font-size:1.02rem}.trend-bar-wrap{height:88px}.trend-val{font-size:.8rem}.trend-label{padding:6px 0 2px;font-size:.85rem}:root[data-bg=night]{--paper:#f3e4d8;--ink:#1f2b4a;--text:#2b3350;--muted:#737487;--line:#ddd3cb;--line-strong:#cbc1bb;--accent:#3e5d8f;--accent-soft:#dfe5f1;--sage-soft:#e5e3e6;--bar:#3e5d8f}:root[data-bg=night] body:before,:root[data-bg=night] .sheet{background-image:url(/backgrounds/duotime-night-bg.webp)}:root[data-bg=night] .add-pill{box-shadow:0 4px 14px #3e5d8f59}:root[data-bg=night] .tl-dot{box-shadow:0 0 0 4px var(--paper)}:root[data-bg=night] .brand,:root[data-bg=night] .month-nav,:root[data-bg=night] .page-title,:root[data-bg=night] .tagline h1{text-shadow:0 0 14px #fffaf08c}.bg-options{flex-direction:column;gap:10px;display:flex}.bg-option{text-align:left;background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius-sm);color:var(--ink);align-items:center;gap:14px;padding:10px 14px;font-weight:400;display:flex}.bg-option.on{border-color:var(--accent);background:var(--accent-soft)}.bg-text{flex-direction:column;gap:2px;display:flex}.bg-text strong{letter-spacing:.06em;font-size:1.05rem}.bg-thumb{background-position:100% 0;background-size:cover;border-radius:10px;flex-shrink:0;width:44px;height:60px;box-shadow:inset 0 0 0 1px #00000014}.bg-thumb.day{background-image:url(/backgrounds/duotime-paper-bg.webp)}.bg-thumb.night{background-image:url(/backgrounds/duotime-night-bg.webp)}.bg-thumb.time,.bg-thumb.system{background-image:url(/backgrounds/duotime-paper-bg.webp),url(/backgrounds/duotime-night-bg.webp);background-position:0 0,100% 0;background-repeat:no-repeat;background-size:50% 100%,cover}.screen.with-tabs{padding-top:calc(env(safe-area-inset-top) + 22px)}.tab-ico{background:currentColor;width:24px;height:24px;-webkit-mask:none 50%/contain no-repeat;mask:none 50%/contain no-repeat}.tabbar-inner>button:has(.tab-ico){gap:3px;padding-bottom:6px;font-size:.8rem}.tabbar-inner>button:has(.tab-ico).on:after{width:28px;height:3px;margin-left:-14px;bottom:4px}.empty.compact{gap:6px;padding:12px 16px 4px;font-size:.92rem}.tl-personal{align-items:center;gap:3px;display:inline-flex}.tl-row.static>.icon{flex-shrink:0}.set-icon:has(img.icon){background:0 0}.tl-cat{background:var(--paper);width:40px;height:40px;box-shadow:0 0 0 3px var(--paper);z-index:1;border:2px solid;border-radius:50%;flex-shrink:0;place-items:center;margin-left:-19px;display:grid;position:relative}.tl-cat+.tl-main{padding-left:2px}.hello{color:var(--muted);letter-spacing:.08em;justify-content:space-between;align-items:baseline;gap:12px;margin:0;font-size:1rem;display:flex}.hello span:first-child{color:var(--ink);font-weight:700}.quick-add{background:var(--accent);color:#fff;letter-spacing:.12em;width:100%;box-shadow:0 6px 16px color-mix(in oklab, var(--accent) 28%, transparent);border-radius:99px;justify-content:center;align-items:center;gap:10px;padding:15px;font-size:1.25rem;font-weight:700;display:flex}.quick-add svg{width:24px;height:24px}.today-block{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);flex-direction:column;gap:6px;padding:14px 16px 8px;display:flex}.today-block .tl-list{padding-left:0}.today-block .tl-list:before{display:none}.today-empty{letter-spacing:.04em;margin:2px 0 8px;font-size:.98rem}.earlier-head{align-items:center;margin-top:6px}.mini-month{color:var(--muted);font-family:var(--font-num);align-items:center;gap:2px;font-size:.98rem;display:inline-flex}.mini-month .icon-btn{width:30px;height:30px}.mini-month .icon-btn:disabled{opacity:.25}.back-month{align-self:flex-end;margin:-8px 0 0}.stat-cash{margin-top:4px;padding-left:18px}.stat-cash b{color:var(--ink)}.stat-cash b.income{color:var(--income)}.today-block .tl-cat,.today-block .tl-dot{margin-left:0}.today-block .tl-cat+.tl-main,.today-block .tl-dot+.tl-main{padding-left:0}.side-tabs{z-index:6;right:max(0px,50vw - 240px);bottom:calc(env(safe-area-inset-bottom) + 96px);flex-direction:column;gap:8px;display:flex;position:fixed}.side-tab{--tab:var(--accent);background:var(--surface-solid);width:48px;color:var(--ink);border:1.5px solid var(--line-strong);border-right:none;border-left:5px solid var(--tab);border-radius:14px 0 0 14px;flex-direction:column;align-items:center;gap:6px;padding:10px 0 10px 2px;font-weight:700;transition:transform .15s;display:flex;box-shadow:-3px 4px 12px #3c321429}.side-tab:active{transform:translate(-4px)}.side-tab.goals{--tab:#e3a24c}.side-tab.budget{--tab:var(--accent)}.side-tab.budget.warn{--tab:var(--warn)}.side-tab.budget.over{--tab:var(--expense)}.side-tab.trend-tab{--tab:#8fae8b}.side-label{word-break:break-all;text-align:center;width:1em;font-size:.98rem;line-height:1.25;display:block}.side-pct{color:var(--muted);font-size:.68rem;font-weight:600}.side-tab.warn .side-pct{color:var(--warn)}.side-tab.over .side-pct{color:var(--expense)}.screen:has(>.side-tabs){padding-right:max(52px, env(safe-area-inset-right))}.sheet-backdrop.side{justify-content:flex-end;align-items:stretch}.sheet.side{width:min(88vw,420px);max-width:none;height:100dvh;max-height:none;padding-top:calc(env(safe-area-inset-top) + 14px);border-radius:26px 0 0 26px;animation:.26s cubic-bezier(.2,.9,.3,1) slide-left}.sheet.side .grabber{display:none}.sheet .trend{margin-top:8px}@keyframes slide-left{0%{opacity:0;transform:translate(60px)}}.sheet.side .timeline{margin-top:0;padding-left:14px}.sheet.side .month-nav{gap:6px}.day-fold-list{flex-direction:column;gap:8px;display:flex}.day-fold{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);overflow:hidden}.day-fold-head{width:100%;color:var(--ink);text-align:left;background:0 0;border-radius:0;align-items:center;gap:10px;padding:13px 14px;font-weight:400;display:flex}.day-fold-head:active{background:#ffffff59;transform:none}.day-fold-date{font-family:var(--font-num);font-size:1.05rem;font-weight:600}.day-fold-count{color:var(--muted);font-size:.9rem}.day-fold-sum{gap:8px;margin-left:auto;font-size:1.02rem;display:flex}.day-fold-chev{color:var(--muted);transition:transform .2s;display:inline-flex}.day-fold-chev svg{width:18px;height:18px}.day-fold.open .day-fold-chev{transform:rotate(90deg)}.tl-list.day-fold-body{border-top:1px solid var(--line);padding:0 14px 6px;animation:.2s ease-out fade}.day-fold-body .tl-cat,.day-fold-body .tl-dot{margin-left:0}.day-fold-body .tl-main{padding-left:0}.amount-col{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.amount-col .amount-box{flex:none;width:100%}.amount-input.expr{font-size:1.9rem!important}.calc-result{font-family:var(--font-num);color:var(--accent);align-self:flex-end;margin-top:-2px;font-size:1.25rem;font-weight:700}.calc-result.bad{color:var(--expense);font-size:.95rem;font-weight:500}.calc-keys{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.calc-keys button{background:var(--surface);border:1.5px solid var(--line);min-width:0;color:var(--ink);font-family:var(--font-num);border-radius:10px;padding:7px 0;font-size:1.2rem;font-weight:700;line-height:1}.calc-keys button.eq{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.again-btn{justify-content:center;align-items:center;gap:6px;margin-top:-6px;font-weight:700;display:inline-flex}.again-btn svg{width:20px;height:20px}.payer-pick button{min-width:0}.payer-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.segmented.split-modes button{text-overflow:ellipsis;flex:28%;min-width:0;overflow:hidden}.pct-row{align-items:center;gap:12px;display:flex}.pct-row input[type=range]{flex:1;min-width:0}.pct-box{color:var(--ink);font-family:var(--font-num);flex-direction:row;flex-shrink:0;align-items:center;gap:2px;font-weight:700}.pct-box input{text-align:right;width:3.4em;font-family:var(--font-num);padding:6px 4px;font-weight:700}.amount-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.amount-split-box{border-radius:var(--radius-sm);background:var(--surface-2);border:1.5px solid #0000;gap:4px;min-width:0;padding:8px 10px}.amount-split-box.me{border-color:color-mix(in oklab, var(--me) 45%, transparent)}.amount-split-box.you{border-color:color-mix(in oklab, var(--you) 45%, transparent)}.amount-split-who{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.amount-split-input{align-items:baseline;gap:4px;min-width:0;display:flex}.amount-split-input b{font-family:var(--font-num);color:var(--ink)}.amount-split-input input{width:100%;min-width:0;font-family:var(--font-num);color:var(--ink);flex:1;padding:2px 0;font-size:1.3rem;font-weight:700;background:0 0!important;border:none!important}.find-bar{align-items:center;gap:8px;padding:4px 4px 0 0;display:flex}.search-box{background:var(--surface-solid);border:1.5px solid var(--line);min-width:0;color:var(--muted);border-radius:99px;flex-direction:row;flex:1;align-items:center;gap:8px;padding:0 6px 0 12px}.search-box:focus-within{border-color:var(--accent)}.search-box svg{flex-shrink:0;width:18px;height:18px}.search-box input{min-width:0;color:var(--ink);flex:1;padding:10px 0;font-size:1rem;background:0 0!important;border:none!important}.search-box input::-webkit-search-cancel-button{display:none}.search-clear{background:var(--surface-2);width:28px;height:28px;color:var(--muted);border-radius:50%;flex-shrink:0;padding:0;font-size:1rem;line-height:1}.filter-btn{background:var(--surface-solid);border:1.5px solid var(--line);width:42px;height:42px;color:var(--ink);border-radius:50%;flex-shrink:0;place-items:center;padding:0;display:grid;position:relative}.filter-btn.on{border-color:var(--accent);color:var(--accent)}.filter-btn svg{width:20px;height:20px}.filter-count{background:var(--accent);min-width:18px;height:18px;color:var(--on-accent);border-radius:99px;place-items:center;padding:0 4px;font-size:.7rem;display:grid;position:absolute;top:-4px;right:-4px}.filter-panel{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line);flex-direction:column;gap:10px;padding:12px;animation:.2s ease-out fade;display:flex}.filter-row{min-width:0;color:var(--ink);flex-direction:row;align-items:center;gap:10px;font-size:.92rem}.filter-row>span:first-child{width:3.5em;color:var(--muted);flex-shrink:0}.filter-row select{flex:1;min-width:0;padding:8px 10px}.segmented.mini-seg{flex:1;gap:3px;min-width:0;padding:3px}.segmented.mini-seg button{text-overflow:ellipsis;min-width:0;padding:6px 4px;font-size:.85rem;overflow:hidden}.found-sum{color:var(--ink);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin:0;font-size:.95rem;display:flex}.found-sum .muted{font-size:.82rem}.found-sum .num{gap:8px;display:inline-flex}.found-sum .expense{color:var(--expense)}.found-sum .income{color:var(--income)}.react-chip{gap:1px}.settled-divider{color:var(--accent);align-items:center;gap:8px;margin:2px 0;font-size:.85rem;font-weight:700;display:flex}.settled-divider:before,.settled-divider:after{content:"";border-top:1.5px dashed color-mix(in oklab, var(--accent) 55%, transparent);flex:1;min-width:12px}.settled-divider>span{text-align:center;min-width:0;line-height:1.3}.settled-divider small{color:var(--muted);font-size:.75rem;font-weight:400;display:block}.cat-bars>li{display:block}.cat-bar-btn{text-align:left;width:100%;color:inherit;background:0 0;border-radius:10px;align-items:flex-start;gap:12px;padding:4px 0;font-weight:400;display:flex}.cat-bar-btn:active{background:#ffffff59;transform:none}.cat-chev{color:var(--muted);flex-shrink:0;margin-top:2px;transition:transform .2s;display:inline-flex}.cat-chev svg{width:16px;height:16px}.cat-bars>li.open .cat-chev{transform:rotate(90deg)}.cat-detail,.since-list{border-left:2px solid var(--line);flex-direction:column;margin:4px 0 2px 30px;padding:4px 0 4px 12px;list-style:none;animation:.2s ease-out fade;display:flex}.cat-detail-row{text-align:left;width:100%;color:var(--ink);background:0 0;border-radius:8px;align-items:center;gap:10px;min-width:0;padding:7px 4px;font-weight:400;display:flex}.cat-detail-row:active{background:#ffffff59;transform:none}.cat-detail-date{width:3.2em;color:var(--muted);flex-shrink:0;font-size:.88rem}.cat-detail-note{text-overflow:ellipsis;white-space:nowrap;flex:1;align-items:center;gap:4px;min-width:0;font-size:.95rem;display:inline-flex;overflow:hidden}.cat-detail-amt{flex-shrink:0;font-size:.95rem}.cat-detail-row .chip{white-space:nowrap;flex-shrink:0}.cat-detail-hint{padding:4px 4px 0}.since-settled{flex-direction:column;display:flex}.since-head{background:var(--surface);border:1px solid var(--line);width:100%;color:var(--ink);border-radius:99px;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:.95rem;font-weight:400;display:flex}.since-head>span:first-child{min-width:0}.since-chev{color:var(--muted);flex-shrink:0;transition:transform .2s;display:inline-flex}.since-chev svg{width:16px;height:16px}.since-chev.open{transform:rotate(90deg)}.since-list{max-height:320px;margin:6px 0 0 8px;overflow-y:auto}.settle-note{min-height:52px}.settle-note-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:12em;overflow:hidden}.react-row{flex-wrap:wrap;gap:5px;display:flex}.react-btn{background:var(--surface-2);border:1.5px solid #0000;border-radius:99px;align-items:center;gap:4px;padding:5px 7px;line-height:1;display:inline-flex;position:relative}.react-btn.on{border-color:var(--accent);background:var(--accent-soft)}.react-btn .icon-emoji{font-size:18px!important}.react-who{gap:2px;display:inline-flex}.react-who i{background:var(--muted);border-radius:50%;width:7px;height:7px}.react-who i.me{background:var(--me)}.react-who i.you{background:var(--you)}.search-box input:focus-visible{outline:none}.settle-note input::-webkit-calendar-picker-indicator{display:none!important}div.filter-row{display:flex}.day-fold-head{gap:8px}.day-fold-date,.day-fold-count,.day-fold-sum{white-space:nowrap}.day-fold-sum{gap:6px}.day-fold-body .tl-row{gap:10px}.day-fold-body .tl-title{font-size:1.08rem}.day-fold-body .tl-meta{gap:2px 8px;font-size:.85rem}.day-fold-body .tl-amount{font-size:1.02rem}.day-fold-body .tl-cat{width:34px;height:34px}.day-fold-body .tl-cat .icon{width:24px;height:24px}@media (width<=340px){.day-fold-count{display:none}.day-fold-head{padding:12px 10px}}.cat-detail{margin-right:28px;padding-right:2px}.cat-detail-row{padding:7px 6px}.cat-bar-btn:focus-visible{outline-offset:0}.react-btn img.icon{width:24px;height:24px}.field-select{min-width:0;color:var(--ink);text-align:right;text-align-last:right;appearance:none;flex:1;padding:8px 0 8px 18px;font-size:1.02rem;background:0 0!important;border:none!important}.pool-note{color:var(--accent)}.tag-hints{flex-wrap:wrap;gap:6px;margin-top:-6px;display:flex}.tag-chip{background:var(--accent-soft);color:var(--accent);text-overflow:ellipsis;white-space:nowrap;border-radius:99px;max-width:100%;padding:5px 10px;font-size:.85rem;font-weight:700;overflow:hidden}.tx-history{color:var(--muted);text-align:center;flex-wrap:wrap;justify-content:center;margin:-4px 0 0;font-size:.8rem;display:flex}.pool-chip{gap:3px}.inline-field{color:var(--ink);flex-flow:wrap;align-items:center;gap:6px;font-size:.92rem}.inline-field input{width:auto;min-width:0;padding:6px 8px}.inline-field input[inputmode=numeric]{text-align:center;width:4em}.pool-card{text-align:left;border-radius:var(--radius);background:var(--accent-soft);border:1.5px solid color-mix(in oklab, var(--accent) 40%, transparent);width:100%;color:var(--ink);flex-direction:column;gap:6px;padding:14px 16px;font-weight:400;display:flex}.pool-head{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.pool-head b{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:8px;min-width:0;font-size:1.05rem;display:inline-flex;overflow:hidden}.pool-bal{flex-shrink:0;font-size:1.4rem;font-weight:700}.pool-sub{color:var(--muted);flex-wrap:wrap;gap:4px 12px;font-size:.85rem;display:flex}.pool-sub i{font-style:normal;font-weight:700}.pool-sub i.me{color:var(--me-ink)}.pool-sub i.you{color:var(--you-ink)}.acct-group{gap:4px}.acct-row{border-top:1px solid var(--line);text-align:left;width:100%;color:var(--ink);background:0 0;border-radius:0;align-items:center;gap:10px;padding:10px 2px;font-weight:400;display:flex}.acct-row:first-of-type{border-top:none}.acct-row.archived{opacity:.55}.acct-row svg{width:16px;height:16px;color:var(--muted);flex-shrink:0}.acct-name{text-overflow:ellipsis;white-space:nowrap;flex-direction:column;flex:1;min-width:0;font-weight:700;display:flex;overflow:hidden}.acct-name small{color:var(--muted);font-size:.78rem;font-weight:400}.acct-bal{flex-shrink:0;font-size:1.05rem}.acct-bal.neg{color:var(--expense)}.transfer-row{gap:10px}.transfer-title{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.stack-sm{flex-direction:column;gap:6px;display:flex}.stat-recap{margin-top:4px;padding-left:18px}.stat-recap b{color:var(--ink)}.side-tab.tags-tab{--tab:#b48ac9}.trend-seg{align-self:center}.trend-legend{color:var(--muted);justify-content:center;gap:16px;display:flex}.trend-legend span{align-items:center;gap:6px;display:inline-flex}.trend-legend i{border-radius:3px;width:10px;height:10px}.trend-legend i.exp,.trend.two .trend-bar.exp{background:color-mix(in oklab, var(--expense) 70%, var(--paper))}.trend-legend i.inc,.trend.two .trend-bar.inc{background:color-mix(in oklab, var(--income) 70%, var(--paper))}.trend.two .trend-bar-wrap{gap:2px}.trend.two .trend-bar{width:40%;max-width:18px;min-height:2px}.trend.two .trend-col:not(.on) .trend-bar{opacity:.55}.trend.year{grid-template-columns:repeat(12,minmax(0,1fr));gap:2px}.trend.year .trend-bar{border-radius:3px 3px 0 0;width:45%;max-width:9px}.trend.year .trend-label{font-size:.75rem}.trend-col{min-width:0}.trend-sum{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line);color:var(--muted);grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;padding:12px 14px;font-size:.85rem;display:grid}.trend-sum strong{color:var(--ink);grid-column:1/-1;font-size:.95rem}.trend-sum span{flex-direction:column;min-width:0;display:flex}.trend-sum b{color:var(--ink);text-overflow:ellipsis;font-size:1.05rem;overflow:hidden}.trend-sum b.expense{color:var(--expense)}.trend-sum b.income{color:var(--income)}.tag-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.tag-list>li{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line);overflow:hidden}.tag-head{text-align:left;width:100%;color:var(--ink);background:0 0;border-radius:0;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:8px;padding:10px 12px;font-weight:400;display:grid}.tag-head:active{background:#ffffff59;transform:none}.tag-name{text-overflow:ellipsis;white-space:nowrap;grid-column:1;font-size:1.02rem;font-weight:700;overflow:hidden}.tag-meta{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;grid-area:2/1;font-size:.78rem;overflow:hidden}.tag-sum{grid-area:1/2/3;font-size:1.05rem;font-weight:700}.tag-head .cat-chev{grid-area:1/3/3}.tag-list>li.open .cat-chev{transform:rotate(90deg)}.tag-detail{margin:0 12px 8px}.cat-detail-amt.income{color:var(--income)}.field-btn{text-align:left;width:100%;font-weight:400;line-height:1.4;font:inherit;color:var(--ink);cursor:pointer;display:flex}.field-btn:disabled{opacity:.7;cursor:default}.field-btn .field-value{white-space:nowrap;text-overflow:ellipsis;flex:1;justify-content:flex-end;align-items:center;gap:6px;min-width:0;padding-left:18px;font-size:1.02rem;display:inline-flex;overflow:hidden}.field-btn .field-value.muted{color:#8a8d80}.field-btn .chev{flex-shrink:0;transition:transform .2s;display:inline-flex}.field-btn .chev svg{color:#50665a;width:18px;height:18px}.field-btn .chev.open{transform:rotate(90deg)}.acct-pick{flex-wrap:wrap;gap:8px;padding:2px 4px 4px;animation:.2s ease-out fade;display:flex}.acct-chip{background:var(--surface-2);max-width:100%;color:var(--ink);white-space:nowrap;text-overflow:ellipsis;box-shadow:none;border:1.5px solid #0000;border-radius:99px;align-items:center;gap:5px;padding:8px 14px;font-size:.95rem;line-height:1.2;display:inline-flex;overflow:hidden}.acct-chip.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);font-weight:700}.acct-chip:disabled{opacity:.4}.field-btn:active{background:var(--surface-2);transform:none}.scan-btn{background:var(--surface);border:1.5px dashed var(--accent);color:var(--accent);box-shadow:none;border-radius:99px;align-self:flex-start;align-items:center;gap:8px;padding:7px 16px 7px 10px;font-size:.95rem;font-weight:700;display:inline-flex}.invoice-note{flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}.invoice-actions{gap:12px;display:inline-flex}.invoice-note.warn{color:#8a5a12;background:#fdf0d8}.scanner{z-index:45;color:#f5efe2;padding:env(safe-area-inset-top) 0 calc(env(safe-area-inset-bottom) + 16px);background:#14201c;flex-direction:column;animation:.15s ease-out fade;display:flex;position:fixed;inset:0}.scanner-head{grid-template-columns:1fr auto 1fr;align-items:center;padding:8px 12px;display:grid}.scanner-head strong{letter-spacing:.08em;font-size:1.05rem}.scanner .scanner-close{color:#f3c97a;justify-self:start}.scanner-view{flex:1;place-items:center;min-height:0;display:grid;position:relative;overflow:hidden}.scanner-view video{object-fit:cover;width:100%;height:100%}.scanner-view video.hidden{display:none}.scanner-frame{aspect-ratio:2;border-radius:18px;grid-template-columns:1fr 1fr;gap:6%;width:min(86vw,420px);padding:0 2%;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #0a100f73}.scanner-frame i{aspect-ratio:1;border:3px solid #ffffffd9;border-radius:14px;align-self:center}.scanner-msg{text-align:center;color:#e9e2d2;justify-items:center;gap:8px;padding:24px;line-height:1.7;display:grid}.scanner-hint{text-align:center;color:#f3e6c8;min-height:1.6em;margin:12px 16px 8px;font-size:.95rem}.scanner-photo{color:#1d3a30;cursor:pointer;background:#f5efe2;border-radius:99px;align-self:center;padding:12px 22px;font-weight:700;display:inline-flex}.scanner-photo input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.offline-bar{background:var(--accent-soft);color:var(--accent);border-radius:14px;margin:-4px 0 0;padding:8px 14px;font-size:.86rem;line-height:1.5}.offline-bar.off{color:#8a5a12;background:#fdf0d8}.pending-chip{color:#8a5a12!important;background:#fdf0d8!important}.pending-chip.bad{color:#a23a2a!important;background:#fbe1dc!important}.mode-seg{margin-top:-4px}.mode-seg button{padding:11px 6px;font-size:.95rem}.add-pill.round{width:56px;height:56px;margin:0 10px}.add-pill.round>button.add{width:100%;padding:0}.add-pill.round>button.add svg{width:28px;height:28px}.tabbar-inner>button.scan-tab{gap:3px;padding-bottom:6px;font-size:.8rem}.tabbar-inner>button.scan-tab svg{width:24px;height:24px}.mode-option{padding:14px}.mode-option:disabled{opacity:.7}.mode-thumb{flex-shrink:0;justify-content:center;width:58px}.mode-thumb .avatar+.avatar{margin-left:-12px}.item-split{gap:10px;animation:.2s ease-out fade}.item-split-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 10px;display:flex}.item-split-all{color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:2px 10px;font-size:.85rem;display:inline-flex}.item-split-list{overscroll-behavior:contain;gap:2px;max-height:46vh;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.item-split-row{border-bottom:1px dashed color-mix(in oklab, var(--muted) 35%, transparent);align-items:center;gap:10px;padding:8px 2px;display:flex}.item-split-row:last-child{border-bottom:none}.item-split-name{flex:1;gap:1px;min-width:0;display:grid}.item-split-title{text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.item-split-name small{color:var(--muted);font-size:.8rem}.item-split-seg{background:var(--surface-2);border-radius:99px;flex-shrink:0;gap:2px;padding:3px;display:inline-flex}.item-split-seg button{box-shadow:none;min-height:32px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;background:0 0;border:none;border-radius:99px;max-width:5.5em;padding:6px 10px;font-size:.82rem;overflow:hidden}.item-split-seg button.on{color:var(--ink);background:var(--surface);box-shadow:var(--shadow);font-weight:700}.item-split-seg button.on.me{background:var(--me-soft);color:var(--me-ink)}.item-split-seg button.on.you{background:var(--you-soft);color:var(--you-ink)}.item-split-actions{justify-content:flex-end;gap:10px;display:flex}.item-split-actions .accent{flex:1}@media (width<=340px){.item-split-row{flex-wrap:wrap;gap:4px 8px}.item-split-name{flex-basis:100%}.item-split-seg{margin-left:auto}}.settle-acct{min-height:0;padding:0;font-size:.85rem}.settle-acct-pick{padding:4px 8px 10px 48px}@media (width<=360px){.settle-acct-pick{padding-left:8px}}.rec-account .field-row{margin:0}.cat{gap:8px}.set-label{white-space:nowrap;flex:1 0 auto}.set-value{flex:0 auto;min-width:0}.pick-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (width<=400px){.cat{letter-spacing:.02em;flex-direction:column;gap:4px;padding:10px 4px 8px;font-size:1rem}}@media (width<=360px){.set-row{letter-spacing:.02em;gap:12px;padding:8px 14px}.set-group li+li .set-row:before{left:56px;right:14px}.pick-label{letter-spacing:.02em;font-size:.88rem}}.meter-daily{color:var(--muted);font-weight:400}.meter-daily b{color:var(--ink)}.guess-note{background:var(--accent-soft);color:var(--ink);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 10px;display:flex}.guess-note b{color:var(--accent)}.filter-row.top{align-items:flex-start}.filter-row.top>span:first-child{padding-top:5px}.range-pair{flex:1;align-items:center;gap:6px;min-width:0;display:flex}.range-pair input{flex:1;width:0;min-width:0;padding:8px;font-size:.88rem}.range-pair i{color:var(--muted);flex-shrink:0;font-style:normal}.filter-tags{flex-wrap:wrap;flex:1;gap:6px;min-width:0;display:flex}.filter-tags .tag-chip{background:var(--surface-solid);border:1.5px solid var(--line);color:var(--ink);font-weight:500}.filter-tags .tag-chip.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:700}.filter-checks{flex-wrap:wrap;gap:6px 16px;display:flex}.filter-checks label{color:var(--ink);flex-direction:row;align-items:center;gap:6px;font-size:.9rem;display:inline-flex}.filter-checks input{width:18px;height:18px;accent-color:var(--accent)}.view-seg{align-self:center;margin:2px auto 4px}.cal{flex-direction:column;gap:10px;display:flex}.cal-sum{color:var(--muted);justify-content:center;gap:18px;margin:0;display:flex}.cal-sum b{color:var(--ink)}.cal-sum b.expense{color:var(--expense)}.cal-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.cal-dow{text-align:center;color:var(--muted);padding-bottom:2px;font-size:.75rem}.cal-day{min-height:54px;color:var(--ink);background:color-mix(in oklab, var(--expense) var(--lv,0%), var(--surface-solid));border:1.5px solid #0000;border-radius:10px;flex-direction:column;justify-content:flex-start;align-items:center;gap:1px;padding:5px 1px 4px;font-weight:400;display:flex;position:relative;overflow:hidden}.cal-day[style] .cal-num,.cal-day[style] .cal-out{color:var(--ink)}.cal-day.today{border-color:var(--accent)}.cal-day.on{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink) inset}.cal-day.future{opacity:.45;background:0 0}.cal-num{font-size:.78rem;line-height:1.1}.cal-out{font-size:.74rem;font-weight:700;line-height:1.1}.cal-inc{color:var(--income);font-size:.66rem;font-weight:700;line-height:1.1}.cal-zero{color:var(--income);font-size:.8rem;line-height:1.1}.cal-detail{flex-direction:column;gap:6px;display:flex}@media (width<=360px){.cal-day{min-height:48px}.cal-out{font-size:.66rem}}.acct-hero{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);grid-template-columns:1fr auto;align-items:end;gap:6px 12px;padding:14px 16px;display:grid}.acct-hero-name{color:var(--ink);flex-wrap:wrap;align-items:center;gap:6px;min-width:0;font-weight:700;display:flex}.acct-hero-name small{width:100%;color:var(--muted);font-size:.78rem;font-weight:400}.acct-hero-bal{text-align:right;font-size:1.7rem}.acct-hero-bal.neg{color:var(--expense)}.acct-hero-actions{grid-column:1/-1;justify-content:flex-end;gap:8px;display:flex}.small-btn{border:1.5px solid var(--line);border-radius:99px;padding:6px 12px;font-size:.85rem}.small-btn.on{border-color:var(--accent);color:var(--accent)}.pool-totals{padding:0 4px}.acct-flow .tl-row{border-top:1px solid var(--line);border-radius:0;gap:10px;padding:10px 2px}.acct-flow li:first-child .tl-row{border-top:none}.flow-amt{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:1px;display:flex}.flow-amt>.num{font-weight:700}.flow-amt small{font-size:.72rem}.calibrate{gap:10px}.calibrate-diff{color:var(--muted);margin:0}.calibrate-methods{flex-direction:column;gap:6px;display:flex}.radio-card{border-radius:var(--radius-sm);border:1.5px solid var(--line);background:var(--surface-solid);color:var(--ink);flex-direction:row;align-items:flex-start;gap:10px;padding:10px 12px;font-size:.9rem;display:flex}.radio-card.on{border-color:var(--accent);background:var(--accent-soft)}.radio-card input{accent-color:var(--accent);margin-top:3px}.radio-card span{flex-direction:column;gap:2px;display:flex}.radio-card small{color:var(--muted);font-size:.78rem}.segmented.view-seg{flex:none;align-self:center;width:168px;height:auto}.segmented.freq-seg button{flex:30%}.segmented.weekday-seg button{min-width:0;padding:8px 0}.pair-fields{grid-template-columns:1fr 1fr;gap:10px;display:grid}.card-cycle{border-radius:var(--radius-sm);background:var(--you-soft);color:var(--ink);grid-template-columns:1fr auto;align-items:baseline;gap:2px 10px;padding:10px 14px;display:grid}.card-cycle>span:first-child{flex-direction:column;font-weight:700;display:flex}.card-cycle small{color:var(--muted);font-size:.78rem;font-weight:400}.card-cycle b{color:var(--expense);font-size:1.2rem}.card-cycle .muted{grid-column:1/-1}.quick-row{scrollbar-width:none;-webkit-overflow-scrolling:touch;align-items:center;gap:8px;margin:-2px -4px 0;padding:2px 4px 4px;display:flex;overflow-x:auto}.quick-row::-webkit-scrollbar{display:none}.quick-label{color:var(--accent);flex-shrink:0;align-items:center;gap:3px;font-size:.8rem;font-weight:700;display:inline-flex}.quick-label svg{width:16px;height:16px}.quick-chip{background:var(--surface-solid);border:1.5px solid var(--line);color:var(--ink);white-space:nowrap;border-radius:99px;flex-shrink:0;align-items:baseline;gap:5px;padding:7px 12px;font-size:.88rem;font-weight:700;display:inline-flex}.quick-chip small{color:var(--muted);font-size:.75rem;font-weight:500}.quick-chip.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.inst-panel{gap:10px}.inst-panel .inline-field input{width:4.5em}.inst-preview{margin:0}.inst-preview b{color:var(--ink)}.tpl-form{gap:10px}.tpl-row{border-top:1px solid var(--line);align-items:center;gap:10px;padding:10px 2px;display:flex}.tpl-row:first-child{border-top:none}.tpl-row .tpl-main{text-align:left;min-width:0;color:var(--ink);background:0 0;flex-direction:column;flex:1;padding:0;font-weight:400;display:flex}.tpl-row .tpl-main b{font-weight:700}.tpl-row .tpl-main small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.tpl-move{gap:2px;display:flex}.tpl-move button{background:var(--surface-2);width:30px;height:30px;color:var(--muted);border-radius:50%;padding:0;font-size:.8rem}.quick-row{flex-shrink:0}.segmented.inst-seg button{min-width:0;padding:8px 2px}.recap-link{background:var(--accent-soft);color:var(--accent);border-radius:99px;align-self:flex-start;align-items:center;gap:6px;margin-top:4px;padding:6px 12px 6px 8px;font-size:.85rem;font-weight:700;display:inline-flex}.recap-link svg{width:15px;height:15px}.recap{gap:14px}.recap-hero{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);flex-direction:column;gap:4px;padding:14px 16px;display:flex}.recap-big{font-size:2.3rem;line-height:1.1}.recap-cash{color:var(--muted)}.recap-card{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.recap-card h3{font-size:.95rem}.recap-card p{margin:0}.recap-top{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.recap-top li{align-items:center;gap:8px;display:flex}.recap-rank{width:1.2em;color:var(--accent);font-weight:800}.recap-name{flex:1;min-width:0}.recap-dot{background:var(--surface-2);border-radius:50%;width:26px;height:26px}.recap-facts{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.recap-facts li{justify-content:space-between;align-items:baseline;gap:10px;font-size:.9rem;display:flex}.recap-facts li>span{color:var(--muted);flex-shrink:0}.recap-facts li>b,.recap-facts .text-link{text-align:right;overflow-wrap:anywhere;min-width:0}.select-btn{background:var(--surface-solid);border:1.5px solid var(--line);height:42px;color:var(--ink);border-radius:99px;flex-shrink:0;padding:0 12px;font-size:.85rem;font-weight:700}.select-btn.on{border-color:var(--accent);color:var(--accent)}.tl-check{border:2px solid var(--line-strong);background:var(--surface-solid);width:22px;height:22px;color:var(--on-accent);border-radius:50%;flex-shrink:0;place-items:center;font-size:.8rem;font-weight:800;display:grid}.tl-check.on{background:var(--accent);border-color:var(--accent)}.tl-row.unselectable{opacity:.45}.select-hint{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin:0;font-size:.85rem;display:flex}.batch-bar{bottom:calc(-1 * env(safe-area-inset-bottom) - 20px);padding:10px 10px calc(10px + env(safe-area-inset-bottom));border-radius:var(--radius) var(--radius) 0 0;background:var(--surface-solid);border:1px solid var(--line);z-index:3;flex-direction:column;gap:8px;margin:auto -4px 0;display:flex;position:sticky;box-shadow:0 -6px 20px #3c32141f}.batch-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.batch-count{min-width:0;color:var(--muted);white-space:nowrap;flex:1 0 100%;font-size:.85rem}.batch-count b{color:var(--ink)}.batch-actions button{background:var(--surface-2);color:var(--ink);white-space:nowrap;border-radius:99px;padding:8px 10px;font-size:.85rem}.batch-actions button.on{background:var(--accent-soft);color:var(--accent)}.batch-actions button.del{color:var(--expense)}.batch-actions button.ghost{color:var(--accent);background:0 0;font-weight:700}.batch-panel{align-items:center;gap:8px;display:flex}.batch-panel select,.batch-panel input{flex:1;min-width:0}.batch-panel button{flex-shrink:0;padding:9px 14px}@media (width<=360px){.batch-actions button{padding:7px;font-size:.8rem}}label.file-btn{background:var(--accent);color:var(--on-accent);cursor:pointer;border-radius:14px;justify-content:center;align-items:center;padding:12px;font-weight:700;display:flex}.import-sum{flex-wrap:wrap;gap:8px 16px;font-size:14px;display:flex}.import-sum b{color:var(--accent);margin-right:4px;font-size:22px}.import-issues{color:var(--muted);font-size:13px}.import-issues ul{margin:6px 0 0;padding-left:18px}.import-preview{background:var(--surface-2);border-radius:12px;flex-direction:column;gap:6px;margin:0;padding:8px 12px;font-size:13px;list-style:none;display:flex}.import-preview li{align-items:baseline;gap:10px;display:flex}.import-preview .grow{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.import-preview .expense{color:var(--expense,inherit)}.import-preview .income{color:var(--income,inherit)}.recap-biggest{text-align:right;flex-direction:column;align-items:flex-end;min-width:0;display:flex}.recap-biggest span{overflow-wrap:anywhere}
