:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.amt-in:focus-visible,.fin:focus-visible,.sheet-search input:focus-visible{outline:0}.cur select:focus-visible{outline:2px solid var(--ring);outline-offset:0}.row:focus-within{background:var(--accent-soft)}.pick{cursor:pointer}.pick:active{background:var(--press)}.row-top{align-items:flex-start;padding-top:12px;padding-bottom:12px}.row-top .ri{margin-top:5px}.ri.tinted{color:var(--tint)}input[type=date].fin{position:relative;line-height:50px;text-align:left}input[type=date].fin::-webkit-date-and-time-value{text-align:left;margin:0}input[type=date].fin::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.row .cat-spin{display:none;width:15px;height:15px;color:var(--ink-3)}.row.loading .cat-spin{display:inline-block}.row.loading .chev{display:none}.row.flash::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--accent-soft);pointer-events:none;animation:fade-out .6s ease-out forwards}.st-ok{display:grid;place-items:center;width:22px;height:22px;color:var(--ok)}.st-ok .ic{width:17px;height:17px;stroke-width:2.4}.st-spark{display:grid;place-items:center;width:20px;height:20px;color:var(--spark)}.st-spark .ic{width:14px;height:14px}.st-x{position:relative;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:var(--surface-2);color:var(--ink-2)}.st-x .ic{width:13px;height:13px;stroke-width:2.4}.st-x::before{content:"";position:absolute;inset:-8px}.pill{position:relative;display:inline-flex;align-items:center;gap:4px;max-width:150px;height:28px;padding:0 10px;border:0;border-radius:999px;background:var(--surface-2);color:var(--ink);font-size:14px;font-weight:500;white-space:nowrap}.pill::before{content:"";position:absolute;inset:-8px -2px}.pill .ell{max-width:110px}.pill i{font-style:normal;color:var(--ink-3)}.pop{animation:pop .18s ease-out both}.slot::-webkit-scrollbar{display:none}.cpill{position:relative;display:inline-flex;flex:none;align-items:center;gap:6px;height:32px;padding:0 12px 0 8px;border:0;border-radius:999px;background:var(--surface-2);color:var(--ink);font-size:15px}.cpill::before{content:"";position:absolute;inset:-6px -2px}.cpill .ic{width:16px;height:16px}.spin{display:inline-block;flex:none;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}.mlist{position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;max-height:min(360px,46vh);margin:0;padding:6px 0;overflow-y:auto;overscroll-behavior:contain;list-style:none;border-radius:var(--r);background:var(--surface);box-shadow:var(--sh-pop);animation:pop .16s ease-out}@media (prefers-color-scheme:dark){.mlist{background:#2c2c2e}.mlist .mopt+.mopt::before{background:rgba(120,120,128,.35)}}.mopt{position:relative;display:flex;align-items:center;gap:12px;min-height:52px;padding:6px 16px;cursor:pointer}.mopt+.mopt::before{content:"";position:absolute;top:0;right:0;left:52px;height:.5px;background:var(--sep)}.mopt.on,.mopt:hover{background:var(--accent-soft)}.mopt b{font-weight:650}.mo-ic{display:grid;place-items:center;flex:none;width:24px;height:24px;color:var(--ink-3)}.mo-ic .ic{width:20px;height:20px}.mo-ic.tinted{color:var(--tint)}.mo-t{display:flex;flex:1;flex-direction:column;min-width:0;line-height:1.25}.mo-n{color:var(--ink)}.mo-s{color:var(--ink-3);font-size:13px}.msg{margin:0 0 10px;padding:10px 14px;border-radius:12px;background:var(--err-bg);color:var(--err);font-size:15px;animation:pop .18s ease-out}.msg.info{background:var(--surface);color:var(--ink-2)}.banner{display:flex;align-items:center;gap:12px;margin-bottom:8px;padding:6px 6px 6px 14px;border-radius:12px;background:var(--err-bg);color:var(--err);font-size:15px;animation:pop .18s ease-out}.banner span{flex:1}.banner button{position:relative;height:40px;padding:0 14px;border:0;border-radius:9px;background:var(--surface);color:var(--ink);font-size:15px;font-weight:600}.banner button::before{content:"";position:absolute;inset:-2px}.cta:not(:disabled):active{transform:scale(.98)}.cta[data-state=busy]:disabled{opacity:.85;cursor:progress}.cta[data-state=dupe]{background:var(--err);color:#fff}.cta:not(:disabled):hover{filter:brightness(1.04)}.cta .spin{width:16px;height:16px}.sheet{position:fixed;inset:auto 0 0;width:100%;max-width:500px;max-height:86vh;max-height:min(86dvh,720px);margin:0 auto;padding:0;border:0;border-radius:14px 14px 0 0;background:var(--bg);color:var(--ink);overflow:hidden}.sheet[open]{display:flex;flex-direction:column;animation:sheet-in .32s cubic-bezier(.2,.9,.25,1)}.sheet.closing{animation:sheet-out .2s ease-in forwards}.sheet::backdrop{background:rgba(0,0,0,.35);animation:fade-in .2s ease-out}.sheet-in{display:flex;flex:1;flex-direction:column;width:100%;min-height:0;margin:0}.sheet-grab{flex:none;width:36px;height:5px;margin:6px auto 0;border-radius:3px;background:var(--line-2)}.sheet-h{position:relative;display:flex;flex:none;align-items:center;justify-content:center;height:48px;padding:0 56px}.sheet-h h2{margin:0;font-size:17px;font-weight:600}.sheet-x{position:absolute;top:8px;right:12px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:var(--surface-2);color:var(--ink-2)}.sheet-x .ic{width:14px;height:14px;stroke-width:2.4}.sheet-x::before{content:"";position:absolute;inset:-6px}.sheet-search{position:relative;flex:none;margin:0 16px 10px}.sheet-search .ic{position:absolute;top:50%;left:10px;width:17px;height:17px;color:var(--ink-3);transform:translateY(-50%)}.sheet-search input{width:100%;height:38px;padding:0 12px 0 34px;border:0;border-radius:10px;outline:0;background:var(--surface-2);font-size:17px;-webkit-appearance:none;appearance:none}.sheet-body{flex:1;min-height:0;padding:0 16px calc(16px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.sheet-empty{margin:0;padding:8px 24px calc(28px + env(safe-area-inset-bottom));color:var(--ink-3);text-align:center}.olist{margin:0;padding:0;list-style:none;border-radius:var(--r);background:var(--surface);overflow:hidden}.olist li{position:relative}.olist li+li::before{content:"";position:absolute;top:0;right:0;left:52px;z-index:1;height:.5px;background:var(--sep)}.opt{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:8px 16px;border:0;background:0 0;color:var(--ink);font-size:17px;text-align:left}.opt:hover{background:var(--accent-soft)}.opt:active{background:var(--press)}.opt:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--ring)}.opt .o-ic{display:grid;place-items:center;flex:none;width:24px;height:24px;color:var(--ink-3)}.opt .o-ic .ic{width:20px;height:20px}.opt .o-ic.tinted{color:var(--tint)}.o-t{display:flex;flex:1;flex-direction:column;min-width:0}.o-p{color:var(--ink-3)}.o-cur{flex:none;color:var(--ink-3);font-size:15px}.o-ck{color:var(--ink);opacity:0;stroke-width:2.6}.opt[aria-selected=true] .o-ck{opacity:1}.o-none .o-t{color:var(--ink-2)}.done{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;background:0 0;color:var(--ink);overflow:hidden}.done[open]{display:flex}.done::backdrop{background:0 0}.done::before{content:"";position:fixed;inset:0;background:var(--bg);animation:fade-in .3s ease-out both}.done.closing{animation:fade-out .22s ease-in forwards}.done-in{position:relative;display:flex;flex-direction:column;width:100%;max-width:460px;margin:0 auto;padding:max(24px,env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom))}.done-center{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center}.done-amt{display:flex;align-items:baseline;gap:6px;margin:0;font-size:clamp(52px,16vw,68px);font-weight:600;line-height:1.1;letter-spacing:-.035em;font-variant-numeric:tabular-nums;will-change:transform}.done-amt .sg{color:var(--sign);font-size:.65em;font-weight:400;letter-spacing:0}.done-amt .sg.pos{color:var(--pos)}.done-amt small{margin-left:2px;color:var(--ink-3);font-size:22px;font-weight:600;letter-spacing:0}.done-mark{width:44px;height:44px;margin:26px 0 12px}.done-ck{width:44px;height:44px;fill:none;stroke:var(--mood,var(--ok));stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.done-ck circle{stroke-dasharray:139;stroke-dashoffset:139;transform:rotate(-90deg);transform-origin:center;animation:draw .55s .38s cubic-bezier(.55,0,.25,1) forwards}.done-ck path{stroke-dasharray:28;stroke-dashoffset:28;animation:draw .3s .8s cubic-bezier(.5,0,.3,1) forwards}.done-title{margin:0;font-size:17px;font-weight:600;animation:rise .4s .7s both}.done-meta{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;margin:6px 0 0;color:var(--ink-3);font-size:15px;animation:rise .4s .78s both}.done-meta:empty{display:none}.done-meta .ic{width:16px;height:16px}.done-meta .tinted{color:var(--tint)}.done-hint{margin:6px 0 0;color:var(--ink-3);font-size:15px}.done-act{display:flex;flex-direction:column;gap:8px;animation:rise .45s .9s both}.ghost{height:54px;border:0;border-radius:14px;background:0 0;color:var(--ink);font-size:17px;font-weight:500;transition:background-color .15s}.ghost:active{background:var(--press)}.done.final .done-act,.done.final .done-amt,.done.final .done-meta{display:none}@media (min-width:640px){.app{padding-top:28px}.sheet{inset:0;max-height:min(80vh,640px);margin:auto;border-radius:14px}.sheet[open]{animation:modal-in .22s ease-out}.sheet.closing{animation:modal-out .16s ease-in forwards}.sheet-grab{display:none}}@keyframes pop{from{opacity:0;transform:translateY(4px)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{from{opacity:0}}@keyframes fade-out{from{opacity:1}to{opacity:0}}@keyframes sheet-in{from{transform:translateY(100%)}}@keyframes sheet-out{to{transform:translateY(100%)}}@keyframes modal-in{from{opacity:0;transform:scale(.97)}}@keyframes modal-out{to{opacity:0;transform:scale(.97)}}@keyframes draw{to{stroke-dashoffset:0}}@keyframes rise{from{opacity:0;transform:translateY(8px)}}@media (prefers-reduced-motion:reduce){::after,::before,:not(.spin){animation-duration:NaNs!important;animation-iteration-count:1!important;animation-delay:0s!important;transition-duration:NaNs!important;scroll-behavior:auto!important}.spin{animation-duration:1.6s}}