:root{color:#1d2b27;background:#f4f6f1;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #1d2b27;--muted: #6b7771;--line: #dce4dd;--surface: #ffffff;--green: #0c7652;--green-dark: #07563c;--mint: #d9f3e5;--cream: #f8f4e9}*{box-sizing:border-box}html{min-width:320px;background:#f4f6f1}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #9ce0c0;outline-offset:2px}.app-shell{min-height:100vh;padding:max(24px,env(safe-area-inset-top)) 16px max(32px,env(safe-area-inset-bottom))}.page{width:min(100%,520px);margin:0 auto}.page-home{min-height:calc(100vh - 56px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:24px 8px}.brand-mark{display:grid;width:48px;height:48px;margin-bottom:28px;place-items:center;border-radius:15px;color:#fff;background:var(--green);font-size:24px;font-weight:800;box-shadow:0 8px 20px #0c765233}.eyebrow{margin:0 0 14px;color:var(--green);font-size:11px;font-weight:800;letter-spacing:.17em}h1,h2,h3,p{margin-top:0}h1{margin-bottom:22px;color:var(--ink);font-size:clamp(42px,13vw,64px);line-height:.98;letter-spacing:-.065em}h1 span{color:var(--green)}h2{margin-bottom:0;font-size:24px;line-height:1.1;letter-spacing:-.04em}h3{margin-bottom:4px;font-size:16px;letter-spacing:-.02em}.hero-copy{max-width:360px;margin-bottom:34px;color:var(--muted);font-size:17px;line-height:1.45}.home-promise{display:grid;grid-template-columns:repeat(3,1fr);width:100%;max-width:370px;margin-top:34px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}.home-promise div{display:grid;gap:3px;padding:0 9px;border-right:1px solid var(--line)}.home-promise div:first-child{padding-left:0}.home-promise div:last-child{border-right:0;padding-right:0}.home-promise strong{color:var(--ink);font-size:12px}.home-promise span{color:var(--muted);font-size:10px;line-height:1.25}.button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:12px;border:0;border-radius:13px;padding:0 18px;font-weight:750;text-decoration:none;cursor:pointer;transition:transform .15s ease,background .15s ease,opacity .15s ease}.button:active{transform:scale(.98)}.button:disabled{opacity:.5;cursor:not-allowed;transform:none}.button-primary{color:#fff;background:var(--green);box-shadow:0 7px 16px #0c76522e}.button-primary:hover{background:var(--green-dark)}.button-secondary{color:var(--green-dark);background:#edf5ef}.button-large{width:100%;max-width:370px;min-height:54px;border-radius:16px;font-size:16px}.home-note{display:flex;align-items:center;gap:9px;margin-top:22px;color:var(--muted);font-size:13px}.shield-icon{display:grid;width:21px;height:21px;place-items:center;border-radius:7px;color:var(--green-dark);background:var(--mint);font-size:12px;font-weight:800}.page-header{display:flex;align-items:center;gap:13px;margin:4px 0 26px}.page-header>div{min-width:0}.page-header h2{overflow-wrap:anywhere}.back-link{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;border:1px solid var(--line);border-radius:13px;color:var(--ink);background:var(--surface);font-size:24px;line-height:1;text-decoration:none}.page-header .eyebrow{margin-bottom:5px;font-size:10px}.page-form form{padding-bottom:16px}.config-note{margin:-10px 0 18px;border-radius:12px;padding:11px 13px;color:#6d5a25;background:#fff8dd;font-size:12px;line-height:1.4}.form-section,.content-section{margin-bottom:14px;border:1px solid var(--line);border-radius:19px;padding:19px;background:var(--surface);box-shadow:0 7px 22px #1d2b2708}.section-heading{display:flex;gap:11px;margin-bottom:19px}.section-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.35}.step-number{display:grid;width:25px;height:25px;flex:0 0 25px;place-items:center;border-radius:9px;color:var(--green-dark);background:var(--mint);font-size:12px;font-weight:800}label{display:block;margin-bottom:14px;color:var(--ink);font-size:12px;font-weight:750}label input,label textarea,.participant-row>input,.share-input{display:block;width:100%;margin-top:7px;border:1px solid var(--line);border-radius:11px;padding:12px 13px;color:var(--ink);background:#fbfcfa;font-size:16px;font-weight:500}input,textarea{min-height:44px}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#a6b0aa}.optional{color:var(--muted);font-size:11px;font-weight:500}.amount-input,.share-input{display:flex;align-items:center;gap:8px;padding-right:13px}.amount-input input,.share-input input{min-width:0;flex:1;margin:0;border:0;outline:0;padding:0;background:transparent}.amount-input span,.share-input span{color:var(--green);font-size:12px;font-weight:800}.address-input{font-size:13px}.participant-fields{display:grid;gap:8px}.participant-row{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:7px}.participant-row>input{margin:0}.participant-row .share-input{min-width:105px;margin:0}.icon-button{display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:11px;color:var(--muted);background:transparent;font-size:24px;cursor:pointer}.icon-button:hover{color:#9a4433;background:#fff0eb}.icon-button:disabled{opacity:.25;cursor:not-allowed}.add-button{margin:15px 0 18px;min-height:42px;border-radius:11px;font-size:13px}.segmented-control{display:grid;grid-template-columns:1fr 1fr;gap:3px;border-radius:12px;padding:3px;background:#eef2ee}.segmented-control button{min-height:42px;border:0;border-radius:9px;color:var(--muted);background:transparent;font-size:12px;font-weight:750;cursor:pointer}.segmented-control button.selected{color:var(--green-dark);background:#fff;box-shadow:0 2px 7px #1d2b2714}.allocation-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;border-radius:11px;padding:12px;color:var(--green-dark);background:#eff9f2;font-size:12px}.allocation-preview strong{text-align:right;font-size:13px}.review-card{margin:16px 0 0;border:1px solid var(--line);border-radius:18px;padding:17px 18px;background:#fbfcfa}.review-card .section-title-row{margin-bottom:10px}.review-card .muted-label{margin-bottom:4px}.review-card h3{margin:0;font-size:17px}.review-card p{margin:0 0 4px;color:var(--ink);font-size:13px;line-height:1.4}.review-note{color:var(--muted);font-size:11px}.allocation-preview small{color:var(--muted);font-size:10px;font-weight:500}.allocation-preview.is-error{color:#a24e3a;background:#fff0eb}.form-error{margin:14px 2px;border-left:3px solid #c9624d;padding:10px 12px;color:#9a4433;background:#fff0eb;font-size:13px;line-height:1.4}.submit-button{margin-top:18px}.total-card{margin-bottom:14px;border-radius:20px;padding:22px 20px 18px;color:#fff;background:var(--green);box-shadow:0 12px 25px #0c765229}.muted-label{margin-bottom:7px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.total-card .muted-label{color:#b9e5cf}.total-card h1{max-width:none;margin:0 0 19px;color:#fff;font-size:42px;letter-spacing:-.06em}.total-card h1 span{color:#b9e5cf;font-size:17px;letter-spacing:0}.progress-track{overflow:hidden;height:7px;border-radius:99px;background:#ffffff3b}.progress-track span{display:block;height:100%;border-radius:inherit;background:#c9f1d9;transition:width .25s ease}.progress-copy{margin:9px 0 0;color:var(--muted);font-size:12px}.total-card .progress-copy{color:#d5f0df}.progress-copy strong{color:inherit}.note-card{margin-bottom:14px;border-radius:15px;padding:14px 16px;color:var(--muted);background:var(--cream);font-size:14px;line-height:1.45}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.section-title-row h3{margin:0}.count-pill{display:grid;min-width:25px;height:25px;place-items:center;border-radius:8px;color:var(--green-dark);background:var(--mint);font-size:11px;font-weight:800}.slot-list{display:grid;gap:3px}.slot-row{display:flex;min-height:58px;align-items:center;gap:10px;border-bottom:1px solid #edf1ed}.slot-row:last-child{border-bottom:0}.status-dot{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;border-radius:10px;color:#fff;background:#c7d1cb;font-size:13px;font-weight:800}.status-paid{background:var(--green)}.status-pending{color:var(--green-dark);background:#eff9f2;border:1px solid #bce7cd}.slot-name{display:grid;min-width:0;gap:3px;flex:1}.slot-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.slot-name span{color:var(--muted);font-size:11px}.slot-amount{white-space:nowrap;font-size:13px}.recipient-card{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px;border:1px solid var(--line);border-radius:16px;padding:15px 16px;background:var(--surface)}.recipient-card>div{min-width:0;flex:1}.recipient-card .muted-label{margin-bottom:5px}.recipient-card strong{display:block;overflow-wrap:anywhere;font-size:13px}.address-details{min-width:0}.address-details summary{max-width:100%;overflow:hidden;color:var(--ink);cursor:pointer;font-size:13px;font-weight:750;list-style:none;text-overflow:ellipsis;white-space:nowrap}.address-details summary::-webkit-details-marker{display:none}.address-details summary:after{content:" · view full";color:var(--green);font-size:10px;font-weight:650}.address-details code{display:block;margin-top:8px;overflow-wrap:anywhere;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.35}.recipient-badge{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border-radius:11px;color:var(--green-dark);background:var(--mint);font-size:10px;font-weight:850}.future-note{margin:18px 3px;color:var(--muted);font-size:12px;line-height:1.45;text-align:center}.slot-button{width:100%;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.slot-button:hover,.slot-button.is-selected{border-radius:12px;background:#f0f8f2}.slot-button:disabled{opacity:.65;cursor:wait}.slot-button.is-selected{outline:2px solid #bce7cd;outline-offset:-2px}.payment-action,.payment-review,.status-card{margin-top:16px;border:1px solid var(--line);border-radius:18px;padding:18px;background:var(--surface);box-shadow:0 7px 22px #1d2b2708}.payment-action h3{margin:0 0 7px;color:var(--green-dark);font-size:24px}.payment-action p:not(.payment-action-label),.payment-note,.status-card p{margin:0 0 15px;color:var(--muted);font-size:13px;line-height:1.45}.payment-action-label{margin:0 0 7px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.payment-action .button,.payment-review .button{width:100%}.payment-details{display:grid;gap:10px;margin:0 0 15px}.payment-details>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1ed;padding-bottom:9px}.payment-details dt{color:var(--muted);font-size:12px}.payment-details dd{max-width:65%;margin:0;overflow-wrap:anywhere;color:var(--ink);font-size:13px;font-weight:700;text-align:right}.payment-details .payment-amount{color:var(--green-dark);font-size:16px}.payment-note{margin-bottom:14px}.status-card{border-color:#bce7cd;background:#effaf2}.status-card strong{display:block;margin-bottom:6px;color:var(--green-dark);font-size:15px}.status-card p{margin-bottom:0}.status-card .button{width:100%;margin-top:14px}.result-icon{display:grid;width:58px;height:58px;margin-bottom:18px;place-items:center;border-radius:19px;color:var(--green-dark);background:var(--mint);font-size:29px;font-weight:800}.result-icon.is-success{color:#fff;background:var(--green)}.result-icon.is-error{color:#9a4433;background:#fff0eb}.payment-result-page h2{margin-bottom:11px}.result-recovery{width:min(100%,350px);margin:3px 0 16px;border:1px solid #e4c7bd;border-radius:14px;padding:13px;color:#9a4433;background:#fff7f4;text-align:left}.result-recovery p{margin:6px 0 12px;color:#9a4433;font-size:12px}.tx-hash{overflow-wrap:anywhere;color:var(--muted)!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px!important}.success-card{display:flex;align-items:center;gap:13px;margin-bottom:14px;border:1px solid #bce7cd;border-radius:17px;padding:15px;background:#effaf2}.success-card h3{margin-bottom:3px;color:var(--green-dark)}.success-card p{margin:0;color:var(--muted);font-size:12px}.success-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:12px;color:#fff;background:var(--green);font-weight:800}.settled-card{display:flex;align-items:center;gap:14px;margin-bottom:14px;border:1px solid #bce7cd;border-radius:19px;padding:17px;background:linear-gradient(135deg,#effaf2,#e3f6e9)}.settled-card .success-icon{width:42px;height:42px;flex-basis:42px;border-radius:14px;font-size:19px}.settled-card h3{margin:0 0 3px;color:var(--green-dark);font-size:20px}.settled-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}.organizer-total{padding-bottom:20px}.text-link{color:var(--green);font-size:11px;font-weight:800;text-decoration:none}.share-card{margin-top:16px;border:1px solid var(--line);border-radius:17px;padding:16px;background:var(--surface)}.share-url{overflow-wrap:anywhere;margin:10px 0 13px;border-radius:10px;padding:10px;color:var(--muted);background:#f3f6f3;font-size:12px;line-height:1.35}.share-card h3{margin-bottom:0;color:var(--ink);font-size:20px}.share-actions{display:grid;grid-template-columns:1.15fr .85fr;gap:8px}.share-actions .button{width:100%}.share-feedback{margin:10px 0 0;color:var(--green-dark);font-size:12px;font-weight:700}.share-feedback.is-error{color:#9a4433}.share-card .button{width:100%}.deeplink{display:block;margin-top:14px;text-align:center}.state-page{display:flex;min-height:70vh;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center}.state-page h2{margin:17px 0 10px}.state-page p{max-width:320px;margin-bottom:22px;color:var(--muted);font-size:14px;line-height:1.5}.state-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:16px;color:var(--green-dark);background:var(--mint);font-size:25px}.loading-pulse{width:42px;height:42px;margin-bottom:16px;border:4px solid #d5e8dc;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.state-page .muted-label{color:var(--muted)}.state-actions{display:grid;width:min(100%,350px);gap:9px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:360px){.app-shell{padding-left:12px;padding-right:12px}.form-section,.content-section,.payment-action,.payment-review,.status-card{padding:15px}.total-card{padding:19px 16px 16px}.total-card h1{font-size:38px}.participant-row .share-input{min-width:92px}}@media(min-width:600px){.app-shell{padding-left:24px;padding-right:24px}.page-home{min-height:600px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
