:root{--cream:#faf8f1;--paper:#fffef9;--teal:#123f38;--muted:#74807a;--line:#e5e7dd;--lime:#d7f282;--orange:#ee916d;--red:#b34338;color-scheme:light;font-family: 'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--teal);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}input:focus,select:focus{outline:2px solid #83aa85;outline-offset:1px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.04em}h2{font-size:27px;font-weight:650}h3{font-size:19px}p{line-height:1.6}button{border:0;background:none;color:inherit}svg{max-width:100%}.topbar{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:26px 36px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;font-size:31px;letter-spacing:-1.5px;font-weight:800;gap:9px}.brand img{border-radius:11px}.brand-dot{color:var(--orange);margin-left:-8px}.header-actions{display:flex;align-items:center;gap:18px}.tag,.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:750}.tag{color:var(--muted)}.button{min-height:46px;padding:12px 20px;border-radius:12px;font-weight:650;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px)}.primary{background:var(--teal);color:white}.primary:hover{background:#245b4f}.ghost{border:1px solid #d4dbcf;background:transparent}.ghost:hover{background:#edf0e4}.small{font-size:12px;min-height:38px;padding:8px 13px}.full{width:100%;justify-content:space-between}.welcome{max-width:1108px;margin:62px auto 0;display:grid;grid-template-columns:1.15fr 1fr;gap:50px;padding:0 36px}.intro .eyebrow{display:flex;align-items:center;gap:9px}.tiny-dot{height:7px;width:7px;border-radius:50%;background:var(--orange)}.intro h1{font-size:clamp(39px,4.4vw,57px);line-height:1.13;font-weight:700;margin:25px 0 20px;letter-spacing:-2.8px}.intro h1 span{color:#72906c}.intro-copy{color:var(--muted);max-width:360px;font-size:15px}.travel-art{position:relative;max-width:410px;margin:2px 0 12px}.travel-art svg{display:block;width:100%}.art-caption{position:absolute;right:0;bottom:0;transform:rotate(-5deg);font-size:11px;font-style:italic;line-height:1.5;color:#748068}.perks{display:flex;gap:20px;color:#627065;font-size:11px;flex-wrap:wrap;margin-top:24px}.entry-card{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:0 12px 40px #263b2510;align-self:start}.card-heading h2{margin:14px 0 8px}.card-heading p{font-size:13px;color:var(--muted);margin-bottom:25px}.segmented{display:flex;background:#f0f1e9;border-radius:11px;padding:5px;margin-bottom:26px}.segmented button{flex:1;padding:11px 6px;font-size:13px;border-radius:8px;color:var(--muted);font-weight:650}.segmented button.active{background:var(--paper);color:var(--teal);box-shadow:0 2px 5px #263b2510}label{display:block;font-size:12px;font-weight:650;margin-bottom:18px}input,select{display:block;width:100%;border:1px solid #dce1d6;background:var(--paper);border-radius:10px;padding:13px 14px;min-height:47px;color:var(--teal);font-size:16px;margin-top:8px}input::placeholder{color:#98a198;font-size:14px}select{padding-right:24px}input[type=checkbox]{width:18px;height:18px;min-height:0;margin:0;accent-color:var(--teal)}.form-error{font-size:13px;color:var(--red);margin-bottom:12px}.form-error:empty{display:none}.entry-note{font-size:11px;color:var(--muted);text-align:center;line-height:1.9;margin:20px 0 0}.recent-trips{border-top:1px solid var(--line);margin-top:20px;padding-top:15px}.recent-trips:empty{display:none}.recent-trips>p{font-size:10px;letter-spacing:1px;color:var(--muted);margin-bottom:8px}.recent-trip{width:100%;display:flex;justify-content:space-between;padding:11px 0;font-size:13px;text-align:left}.recent-trip span{color:var(--muted)}.welcome-footer{grid-column:1/-1;border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:24px 0 32px;color:#8a9388;font-size:10px;letter-spacing:1px}.welcome-footer div{display:flex;gap:22px;font-weight:650}.dashboard{max-width:1020px;margin:36px auto 0;padding:0 30px}.trip-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}.trip-heading h1{font-size:38px;line-height:1.15;margin:10px 0;overflow-wrap:anywhere}.trip-heading p{font-size:13px;color:var(--muted);margin:0}.summary-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;margin-bottom:34px}.total-card,.balance-card{padding:28px 30px;border-radius:20px;position:relative;overflow:hidden;min-height:190px}.total-card{background:var(--teal);color:var(--paper)}.total-card>.eyebrow{color:#b8cfc1}.big-money{font-size:42px;font-weight:650;letter-spacing:-2px;margin:14px 0 12px;position:relative;z-index:1}.total-bottom{display:flex;align-items:center;gap:14px;font-size:12px;color:#c4d6cb}.currency-pill{font-size:10px;padding:6px 10px;border:1px solid #507063;border-radius:30px}.coin-art{position:absolute;right:33px;top:30px;height:125px;width:125px;border:1px solid #476957;border-radius:50%;color:#375f4c;font-size:80px;text-align:center;transform:rotate(-15deg);font-weight:600}.coin-art span{position:absolute;bottom:-9px;right:-12px;background:var(--lime);color:var(--teal);border-radius:50%;font-size:25px;line-height:45px;width:45px}.balance-card{border:1px solid #dce3ce;background:#edf1e2}.balance-card>.eyebrow{color:#63785e}.balance-card p{font-size:12px;color:#66765f;margin:0 0 12px}.text-button{color:var(--teal);font-size:12px;font-weight:650;padding:3px 0}.workspace{border:1px solid var(--line);border-radius:20px;background:var(--paper);padding:22px 26px;min-height:300px}.section-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:18px}.tabs{display:flex;gap:24px}.tabs button{padding:12px 0;font-size:13px;color:var(--muted);font-weight:650;position:relative}.tabs .active{color:var(--teal)}.tabs .active:after{content:'';position:absolute;bottom:0;left:0;right:0;background:var(--teal);height:2px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0}.list-toolbar p{font-size:12px;color:var(--muted);margin:0}.search-label{margin:0;position:relative;max-width:220px}.search-label input{margin:0;min-height:38px;font-size:13px;padding:9px 10px 9px 30px;background:var(--cream)}.search-label>span{position:absolute;top:7px;left:10px;font-size:20px}.date-heading{color:#859080;font-size:10px;letter-spacing:1px;font-weight:650;margin:20px 0 8px}.expense-row{display:flex;align-items:center;gap:14px;padding:15px 0;width:100%;border-bottom:1px solid #edf0e6;text-align:left}.expense-row:last-child{border:0}.category-icon{height:44px;width:44px;flex-shrink:0;border-radius:13px;background:#f3ebdf;display:grid;place-items:center;font-size:21px}.category-icon.stay{background:#e7eddf}.category-icon.transport{background:#e5eff0}.category-icon.fun{background:#eee8f2}.category-icon.shopping{background:#f8e7df}.expense-info{flex:1;min-width:0}.expense-info strong{font-size:14px;display:block;overflow-wrap:anywhere;font-weight:650}.expense-info small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.expense-amount{text-align:right;flex-shrink:0}.expense-amount strong{font-size:15px;display:block}.expense-amount small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.empty-state{text-align:center;padding:42px 10px}.empty-icon{margin:auto auto 14px;border-radius:20px;background:#edf1e2;width:65px;height:65px;display:grid;place-items:center;font-size:30px}.empty-state h3{margin-bottom:8px}.empty-state p{font-size:13px;color:var(--muted);max-width:310px;margin:0 auto 18px}.dashboard-footer{display:flex;justify-content:space-between;color:#8a9388;font-size:11px;padding:24px 0 35px}.panel-heading{padding:24px 0 12px}.panel-heading h2{font-size:23px;margin-bottom:8px}.panel-heading p,.muted{font-size:12px;color:var(--muted)}.transfer-row{display:flex;align-items:center;gap:14px;padding:16px;background:#f1f4e8;border-radius:13px;margin-bottom:12px}.transfer-row .transfer-info{flex:1;font-size:13px;line-height:1.6}.transfer-info strong{font-size:16px;display:block}.avatar{background:#e3ead7;border:2px solid var(--paper);border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font-size:12px;font-weight:750;flex-shrink:0}.person-row{display:flex;align-items:center;padding:15px 0;gap:12px;border-bottom:1px solid var(--line)}.person-row>div:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.person-row strong{font-size:14px}.person-row small{color:var(--muted);font-size:11px;display:block;margin-top:4px}.positive{color:#4a7950}.negative{color:#ae6551}.balance-number{font-size:14px;font-weight:700}.code-box{background:#edf1e2;border:1px dashed #b5c5a4;padding:20px;border-radius:13px;display:flex;align-items:center;gap:16px;margin-bottom:16px;flex-wrap:wrap}.code-box>span{font-size:9px;letter-spacing:1px}.code-box strong{flex:1;font-size:21px;letter-spacing:2px}.payment-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.payment-row>div{flex:1}.payment-row small{display:block;color:var(--muted);margin-top:5px}.payment-history-title{margin:28px 0 6px}dialog{border:1px solid var(--line);border-radius:22px;width:calc(100% - 32px);max-width:480px;padding:28px;color:var(--teal);background:var(--paper);max-height:90dvh;overflow:auto;box-shadow:0 25px 90px #0a241a33}dialog::backdrop{background:#0c2d2866;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.dialog-heading h2{margin:8px 0 0;font-size:26px}.close-button{min-width:36px;height:36px;border-radius:50%;background:#eff1e7;font-size:24px;font-weight:300}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.amount-label input{font-size:24px;font-weight:650;padding:9px 14px}.conversion-hint{font-size:11px;color:#688063;background:#f0f3e7;padding:10px 12px;border-radius:8px;margin:-6px 0 18px}fieldset{border:0;padding:0;margin:0 0 14px}legend{display:flex;width:100%;justify-content:space-between;align-items:center;font-size:12px;font-weight:650;margin-bottom:12px}.split-members{display:flex;gap:8px;flex-wrap:wrap}.split-chip{display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid var(--line);border-radius:30px;font-size:12px;font-weight:500;margin:0;cursor:pointer}.split-chip:has(input:checked){background:#edf2df;border-color:#b5c799}.detail-amount{font-size:40px;letter-spacing:-1.5px;margin:15px 0 4px;font-weight:700}.detail-line{display:flex;justify-content:space-between;gap:18px;font-size:13px;border-bottom:1px solid var(--line);padding:12px 0}.detail-line span{color:var(--muted)}.detail-line strong{text-align:right;overflow-wrap:anywhere}.danger{color:var(--red);border:1px solid #ead2c8;background:#fff7f1;margin-top:22px}.toast{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);padding:14px 20px;background:var(--teal);color:white;border-radius:12px;font-size:13px;box-shadow:0 5px 30px #123f3825;z-index:20;max-width:calc(100% - 32px);width:max-content}.offline{background:#f8e7bf;text-align:center;font-size:12px;padding:10px 18px;color:#6d5934}
@media(min-width:1300px){.welcome{margin-top:80px}}@media(max-width:800px){.welcome{gap:28px;padding:0 24px}.entry-card{padding:26px}.intro h1{font-size:42px}.perks{gap:10px}.coin-art{right:16px;opacity:.7;width:105px;height:105px}.big-money{font-size:36px}.tabs{gap:18px}}
@media(max-width:600px){.topbar{padding:17px 20px}.brand{font-size:28px}.brand img{width:33px;height:33px}.desktop-only{display:none}.header-actions{gap:8px}.header-actions .button{font-size:11px;padding:7px 10px}.welcome{margin:30px auto 0;padding:0 20px;display:flex;flex-direction:column;gap:26px}.intro h1{font-size:36px;letter-spacing:-1.8px;margin:18px 0 15px}.intro-copy{font-size:14px;max-width:330px;margin-bottom:0}.intro{position:relative}.travel-art{display:none}.perks{font-size:10px;gap:12px;margin-top:18px}.eyebrow{font-size:9px;letter-spacing:1.4px}.entry-card{width:100%;padding:24px;border-radius:20px}.card-heading h2{font-size:25px}.card-heading p{margin-bottom:20px}.segmented{margin-bottom:22px}.welcome-footer{display:block;text-align:center;margin-top:2px;padding-top:18px}.welcome-footer>span{display:none}.welcome-footer div{justify-content:center;font-size:9px;gap:16px}.dashboard{padding:0 18px;margin-top:26px}.trip-heading{align-items:flex-start;gap:10px}.trip-heading h1{font-size:29px;margin:9px 0}.trip-heading p{font-size:11px}.trip-heading .button{font-size:11px;padding:10px;min-height:40px;white-space:nowrap}.summary-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.total-card,.balance-card{padding:20px 16px;border-radius:16px;min-height:169px}.total-card .eyebrow,.balance-card .eyebrow{font-size:8px;letter-spacing:1px}.big-money{font-size:clamp(23px,6.4vw,36px);letter-spacing:-1px;margin:18px 0 14px}.coin-art{display:none}.total-bottom{display:block;font-size:10px}.currency-pill{display:none}.balance-card p{font-size:10px;margin-bottom:8px;line-height:1.4}.balance-card .text-button{font-size:10px;text-align:left}.workspace{padding:14px 16px;border-radius:16px}.section-bar{gap:8px;padding-bottom:12px;align-items:center}.tabs{gap:17px}.tabs button{font-size:12px;padding:10px 0}.section-bar .button{padding:7px 12px;min-height:38px;font-size:21px;line-height:1}.section-bar .button span{display:none}.list-toolbar{display:block;padding:16px 0 8px}.list-toolbar p{display:none}.search-label{max-width:none}.search-label input{width:100%}.expense-row{gap:10px;padding:14px 0}.category-icon{height:39px;width:39px;border-radius:11px;font-size:19px}.expense-info strong{font-size:13px}.expense-info small{font-size:10px;line-height:1.5}.expense-amount strong{font-size:13px}.expense-amount small{font-size:9px}.dashboard-footer{font-size:9px;gap:10px;padding-bottom:calc(25px + env(safe-area-inset-bottom))}.transfer-row{padding:12px;gap:9px}.transfer-row .avatar{display:none}.transfer-info strong{font-size:15px}.transfer-row .button{font-size:11px;padding:8px 10px}.panel-heading h2{font-size:21px}.code-box{padding:16px;gap:12px}.code-box strong{font-size:17px}.code-box>span{width:100%}dialog{padding:24px 20px;border-radius:20px}.form-row{gap:12px}dialog label{font-size:11px}.empty-state{padding:34px 5px}.empty-state h3{font-size:18px}.payment-row{font-size:11px}.person-row strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
