:root{color:#263a33;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#263a33;--muted:#69756e;--green:#285847;--border:#e0e4dc;--paper:#fff;--mint:#e6eee5;--lavender:#eeebf7;background:#f7f7f2;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:400}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.55}button{touch-action:manipulation;background:0 0;border:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #9584c8}h1:focus{outline:none}input,select,textarea{min-width:0;font-size:16px}input,textarea{color:var(--ink)}button,select,input[type=checkbox]{touch-action:manipulation}svg{flex-shrink:0}p,h1,h2{margin:0}h1{letter-spacing:-1.2px;font-size:clamp(27px,6.8vw,34px);font-weight:650;line-height:1.15}h2{font-size:17px;font-weight:650}p{line-height:1.6}strong{font-weight:650}.app{max-width:600px;padding:0 max(22px, env(safe-area-inset-right)) 0 max(22px, env(safe-area-inset-left));min-height:100svh;margin:auto}.app-header{padding-top:calc(18px + env(safe-area-inset-top));justify-content:space-between;align-items:center;gap:8px;padding-bottom:22px;display:flex}.brand{letter-spacing:-.45px;align-items:center;gap:10px;font-size:17px;font-weight:650;display:flex}.brand-icon{background:var(--green);color:#fff;border-radius:11px;place-items:center;width:35px;height:39px;display:grid}.icon-button{border-radius:50%;flex-shrink:0;place-items:center;min-width:46px;min-height:46px;display:grid}.icon-button:hover{background:#eceee6}.screen{padding:14px 0 32px}.section-heading{margin-bottom:26px}.section-heading>p:last-child{color:var(--muted);margin-top:12px;font-size:15px}.eyebrow{letter-spacing:1.8px;color:var(--green);font-size:10px;font-weight:750;line-height:1.6}.section-heading .eyebrow{margin-bottom:14px}.hero{margin-bottom:0;padding-top:17px}.hero h1{letter-spacing:-2.6px;font-size:clamp(44px,12vw,60px);line-height:1.04}.hero>p:last-child{margin-top:18px;font-size:16px;line-height:1.5}.button{border-radius:16px;justify-content:center;align-items:center;gap:11px;min-height:56px;padding:14px 18px;font-size:16px;font-weight:600;transition:background .15s,transform .15s;display:flex}.button:active{transform:scale(.985)}.primary{background:var(--green);color:#fff}.primary:hover{background:#214c3d}.secondary{border:1px solid var(--border);background:#fff}.secondary:hover{background:#f0f3eb}.full{width:100%}.text-button{min-height:44px;color:var(--green);justify-content:center;align-items:center;gap:6px;padding:8px 3px;font-size:14px;font-weight:600;display:inline-flex}.back-button{margin:-12px 0 20px}.quiet{color:var(--muted);font-size:12px}.center{text-align:center}.hint{color:var(--muted);margin-top:12px;font-size:12px;line-height:1.6}.receipt-art{place-items:center;width:260px;height:234px;margin:7px auto 13px;display:grid;position:relative}.art-slip{color:#788177;background:#fff;border-radius:4px 4px 0 0;width:191px;padding:23px 20px 18px;font-size:11px;position:relative;transform:rotate(-6deg);box-shadow:0 10px 40px #34492e10}.art-slip:after{content:"";background:linear-gradient(135deg,#fff 50%,#0000 50%) 0 0/12px 12px,linear-gradient(225deg,#fff 50%,#0000 50%) 0 0/12px 12px;height:9px;position:absolute;bottom:-8px;left:0;right:0}.art-title{letter-spacing:1.4px;color:#475847;font-size:10px;font-weight:700}.art-rule{background:#e7e9e2;height:1px;margin:14px 0}.art-row{justify-content:space-between;gap:16px;margin:9px 0;display:flex}.art-row span:last-child{font-variant-numeric:tabular-nums}.art-rule.dashed{background:0 0;border-top:1px dashed #d8ded4}.art-total{color:#3d5847;align-items:center;margin-bottom:0;font-weight:650}.art-badge{color:#465234;background:#e7ebd3;border:4px solid #f7f7f2;border-radius:13px;align-items:center;gap:8px;padding:10px 13px;font-size:12px;font-weight:650;display:flex;position:absolute;bottom:37px;right:-11px;transform:rotate(5deg)}.art-badge span{font-size:24px;line-height:1}.art-spark{color:#8d9f75;font-size:26px;position:absolute}.spark-one{top:18px;right:18px}.spark-two{font-size:25px;bottom:27px;left:6px}.upload-options{justify-content:space-between;align-items:center;gap:4px;margin:4px 0 12px;display:flex}.upload-options>span{color:var(--muted);font-size:11px}.upload-options .text-button{font-size:12px}.sample-divider{color:#90998f;align-items:center;gap:15px;margin:16px 0;font-size:11px;display:flex}.sample-divider:before,.sample-divider:after{content:"";background:var(--border);flex:1;height:1px}.upload-actions>.quiet{margin-top:10px}.how-it-works{color:#687368;justify-content:center;gap:24px;margin:30px 0 15px;font-size:11px;display:flex}.how-it-works span{gap:7px;display:flex}.how-it-works b{color:#9da791;font-size:10px;font-weight:500}.privacy-footnote{color:#838c81;text-align:center;padding-bottom:env(safe-area-inset-bottom);font-size:11px;line-height:1.7}.notice{color:#4f5d39;background:#edf0e4;border:1px solid #dbe3c9;border-radius:13px;margin:12px 0;padding:14px 16px;font-size:13px;line-height:1.6}.notice.error{color:#863f2c;background:#fff0e9;border-color:#ebd4c7}.notice .text-button{color:inherit;justify-content:flex-start;padding-bottom:0;display:flex}.loading-panel{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:260px;display:flex}.loading-panel strong{font-size:17px}.loading-panel p{color:var(--muted);max-width:240px;font-size:13px}.spinner{border:3px solid var(--border);border-top-color:var(--green);border-radius:50%;width:32px;height:32px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.panel{border:1px solid var(--border);background:#fff;border-radius:18px;min-width:0;margin:0 0 22px;padding:20px}.field{flex-direction:column;gap:8px;min-width:0;display:flex}.field>span{color:#68756a;font-size:12px;font-weight:550}.field input,.field select,.field textarea{outline-offset:1px;background:#fafbf7;border:1px solid #dce1d6;border-radius:10px;width:100%;min-height:48px;padding:11px 12px;line-height:24px}.field input[type=date]{appearance:none;width:100%;min-width:0;max-width:100%;padding:11px 8px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#839c81}.field input::placeholder{color:#929b90}.field+.field{margin-top:18px}.two-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;display:grid}.two-fields .field{margin:0}.panel>.two-fields{margin-top:18px}.panel legend{padding:0 7px;font-size:15px;font-weight:650}.settings-screen fieldset{padding-top:17px}.settings-screen .panel>.two-fields{margin-top:0}.settings-screen .danger-text{color:#9a5141;font-size:12px}.privacy-note{color:var(--muted);gap:12px;margin:24px 0;font-size:12px;display:flex}.privacy-note svg{margin-top:4px}.install-note{border-top:1px solid var(--border);margin-top:30px;padding-top:24px;font-size:13px}.install-note p{color:var(--muted);margin-top:7px;font-size:12px}.optional{font-size:10px;font-weight:400}.receipt-nav{justify-content:space-between;align-items:center;margin:-10px 0 19px;display:flex}.receipt-nav .text-button{font-size:12px}.receipt-screen>.section-heading{margin-bottom:23px}.receipt-screen h1{font-size:clamp(26px,6.6vw,34px)}.money-input{position:relative}.money-input>span{color:var(--muted);pointer-events:none;font-size:15px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.money-input input{font-variant-numeric:tabular-nums;padding-left:34px}.list-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.list-heading>span{color:var(--muted);font-size:12px}.edit-list,.split-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.edit-card{border:1px solid var(--border);background:#fff;border-radius:15px;padding:13px}.edit-name-row{align-items:center;gap:6px;display:flex}.edit-name-row .field input{background:0 0;border-color:#0000;padding-left:5px;font-size:16px;font-weight:550}.edit-name-row .field input:focus{border-color:#dce1d6}.grow{flex:1}.line-number{color:#929b8f;flex-shrink:0;width:20px;font-size:10px}.delete{color:#9b9e91;width:44px;min-width:44px;height:44px;min-height:44px}.delete:hover{color:#9d4a3d;background:#fff0e9}.edit-value-row{grid-template-columns:65px minmax(80px,1fr) 92px;align-items:end;gap:10px;margin-top:9px;padding-left:25px;display:grid}.edit-value-row .field input{min-height:46px}.edit-value-row .field>span{font-size:10px}.edit-value-row .field{margin-top:0}.quantity input{padding-left:8px;padding-right:4px}.discount-toggle{min-height:46px;color:var(--muted);cursor:pointer;justify-content:flex-end;align-items:center;gap:5px;font-size:11px;display:flex}.discount-toggle input{accent-color:var(--green);width:18px;height:18px;margin:0}.add-line{border-style:dashed;min-height:50px;margin-top:14px;font-size:14px}.receipt-check{justify-content:space-between;align-items:center;padding:22px 3px 10px;font-size:14px;display:flex}.receipt-check strong{font-variant-numeric:tabular-nums;font-size:20px}.mismatch{color:#91513b}.review-action{padding:22px 0 max(15px, env(safe-area-inset-bottom));z-index:3;background:linear-gradient(#0000,#f7f7f2 12px);margin-top:10px;position:sticky;bottom:0}.receipt-strip{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;margin-bottom:21px;padding-bottom:21px;display:flex}.receipt-strip>span{min-width:0}.receipt-strip strong{overflow-wrap:anywhere;font-size:15px;display:block}.receipt-strip small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.receipt-strip .text-button{flex-shrink:0;font-size:12px}.identity{align-items:center;gap:13px;margin-bottom:23px;display:flex}.identity>span{color:var(--muted);flex-shrink:0;font-size:13px}.segmented{background:#e9ece4;border-radius:12px;flex:1;min-width:0;padding:4px;display:flex}.segmented button{overflow-wrap:anywhere;border-radius:9px;flex:1;min-width:0;min-height:44px;padding:8px 10px;font-size:14px;transition:background .15s}.segmented .selected{background:#fff;font-weight:650;box-shadow:0 1px 4px #304c2810}.gesture-guide{justify-content:space-between;gap:8px;font-size:12px;display:flex}.gesture-guide span{color:#71618f;align-items:center;gap:7px;display:flex}.gesture-guide span:last-child{color:#4d7459}.gesture-guide b{font-weight:600}.tap-hint{color:var(--muted);margin:9px 0 18px;font-size:11px;line-height:1.6}.swipe-item{min-width:0}.swipe-wrap{isolation:isolate;border-radius:15px;position:relative;overflow:hidden}.swipe-feedback{opacity:0;color:#395c42;background:#dfeadc;justify-content:space-between;align-items:center;padding:0 14px;font-size:12px;font-weight:650;transition:opacity .15s;display:flex;position:absolute;inset:0}.swipe-feedback[data-direction=left]{color:#6d527c;background:#e5ddf2}.swipe-feedback span{overflow-wrap:anywhere;align-items:center;gap:6px;max-width:110px;display:flex}.swipe-feedback[data-direction=left] .feedback-share,.swipe-feedback[data-direction=right] .feedback-mine{visibility:hidden}.item-card{text-align:left;border:1px solid var(--border);touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#fff;border-radius:15px;align-items:center;gap:12px;width:100%;min-height:89px;padding:17px 14px;transition:transform .2s cubic-bezier(.2,.8,.2,1),background .18s;display:flex;position:relative;transform:translate(0,0)}.item-card.dragging{will-change:transform;transition:none}.item-card:focus-visible{outline-offset:-4px}.item-indicator{color:#adb5a5;background:#f1f2ed;border-radius:10px;flex-shrink:0;place-items:center;width:31px;height:34px;font-size:23px;font-weight:500;display:grid}.item-body{flex-direction:column;flex:1;gap:7px;min-width:0;display:flex}.item-name{overflow-wrap:anywhere;font-size:14px;font-weight:550;line-height:1.35}.item-meta{color:#84907e;align-items:center;gap:3px;font-size:10px;line-height:1.4;display:flex}.item-end{text-align:right;flex-direction:column;flex-shrink:0;align-items:flex-end;gap:7px;max-width:37%;display:flex}.item-end strong{font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:-.3px;font-size:16px}.owner-label{color:#838c7f;overflow-wrap:anywhere;font-size:10px;line-height:1.4}.shared .item-indicator{color:#53794c;background:#e4eddc}.shared .item-card{background:#f6faf1;border-color:#d9e3cd}.shared .owner-label{color:#5a7954}.mine .item-card{background:#faf7ff;border-color:#e3dcec}.mine .item-indicator{color:#87689d;background:#eee5f8;font-size:17px}.mine .owner-label{color:#846399}.discount-price{color:#648251}.relink{min-height:44px;color:var(--muted);justify-content:flex-end;align-items:center;gap:5px;margin-left:auto;padding:6px 4px;font-size:11px;display:flex}.end-note{margin:20px 0 10px}.has-totals{padding-bottom:calc(var(--footer-height,220px) + 24px)}.totals-footer{z-index:5;padding:16px max(22px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));background:#fbfcf7;border-top:1px solid #dce2d4;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 28px #30402a06}.totals-inner{max-width:556px;margin:auto}.totals-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.person-total>span{color:#6d7865;overflow-wrap:anywhere;align-items:center;gap:6px;min-height:20px;font-size:12px;display:flex}.person-total small{flex-shrink:0;font-size:10px}.person-total strong{letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:4px;font-size:clamp(25px,7vw,32px);font-weight:600;display:block}.person-dot{background:#829575;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:block}.person-dot.b{background:#ad95bb}.currency-tag{letter-spacing:1px;color:#85917b;padding-bottom:7px;font-size:9px}.total-status{color:#7b866f;justify-content:center;align-items:center;gap:5px;min-height:33px;font-size:10px;line-height:1.5;display:flex}.total-status.mismatch{color:#91513b}.inline-button{font-size:inherit;min-height:33px;padding:0 5px;text-decoration:underline}.share-button{border-radius:13px;min-height:48px;font-size:14px}.toast{z-index:20;left:50%;top:calc(14px + env(safe-area-inset-top));color:#fff;pointer-events:none;background:#263a33;border-radius:12px;width:max-content;max-width:calc(100% - 32px);padding:14px 20px;font-size:13px;position:fixed;transform:translate(-50%);box-shadow:0 4px 20px #0002}.manual-share{margin-top:24px}.manual-share textarea{font-size:16px}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;overflow:hidden;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important}@media (width>=700px){body{background:#eeefe8}.app{background:#f7f7f2;border-left:1px solid #e0e4d9;border-right:1px solid #e0e4d9;padding-left:36px;padding-right:36px}.app-header{padding-top:28px}.screen{padding-top:22px}.hero{padding-top:21px}.receipt-art{height:252px;margin-top:12px;margin-bottom:24px}.totals-inner{max-width:526px}.totals-footer{background:#fbfcf7}.hero h1{font-size:61px}.upload-screen{padding-bottom:45px}}@media (width<=359px){.app{padding-left:max(16px, env(safe-area-inset-left));padding-right:max(16px, env(safe-area-inset-right))}.brand{font-size:16px}.edit-card{padding:9px}.edit-value-row{grid-template-columns:58px minmax(72px,1fr) 84px;gap:8px;padding-left:0}.discount-toggle{font-size:10px}.item-card{gap:9px;padding:16px 11px}.item-indicator{width:26px}.totals-footer{padding-left:16px;padding-right:16px}.totals-row{gap:8px}.person-total strong{font-size:25px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.spinner{border-color:var(--green);border-style:dotted}}.has-totals .app-header{padding-bottom:8px}.has-totals .receipt-nav{margin-bottom:10px}.has-totals .section-heading{margin-bottom:18px}.has-totals .receipt-strip{margin-bottom:14px;padding-bottom:14px}.has-totals .identity{margin-bottom:16px}.has-totals .tap-hint{margin-bottom:14px}.total-status,.inline-button{min-height:44px}
