@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap";:root{color:#343434;font-synthesis:none;--green:#303842;--ink:#343434;--muted:#4b5056;--line:#e8e8e8;--paper:#fff;--lime:#e8e8e8;background:#f7f7f7;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.045em;font-family:Manrope,sans-serif}h1,h2{font-weight:650}h3{font-weight:700}svg{flex-shrink:0}button{background:0 0;border:0}button:focus-visible,a:focus-visible{outline-offset:4px;outline:2px solid #898989}input:focus,select:focus{border-color:#969696;outline:3px solid #adadad22}.muted{color:var(--muted)}.positive,.negative,.danger{color:#4b5056!important}.brand{letter-spacing:-1.5px;align-items:center;gap:9px;font-family:Manrope,sans-serif;font-weight:800;display:flex}.btn{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:12px 17px;font-weight:600;transition:background .15s,transform .15s;display:inline-flex}.btn:hover{transform:translateY(-1px)}.primary{background:var(--green);color:#fff}.primary:hover{background:#3e3e3e}.secondary{color:#4b5056;background:#fff;border-color:#e2e2e2}.secondary:hover{background:#f4f4f4}.btn.full{width:100%}.btn.compact{min-height:34px;padding:8px 12px}.icon-btn{color:#4b5056;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.icon-btn:hover{color:var(--green);background:#ebebeb}.text-btn{color:#4b5056;align-items:center;gap:7px;padding:5px 0;font-weight:600;line-height:1.5;display:inline-flex}.text-btn:hover{text-decoration:underline}.badge{color:#4b5056;white-space:nowrap;background:#f2f2f2;border:1px solid #e8e8e8;border-radius:6px;padding:5px 9px;font-weight:500}.home-shell{max-width:1320px;margin:0 auto;padding:0 64px}.home-header{justify-content:space-between;align-items:center;height:112px;display:flex}.header-right{align-items:center;gap:20px;display:flex}.intro{color:#4b5056;margin-top:25px;line-height:1.8}.signin-card{border:1px solid var(--line);background:#fff;border-radius:17px;padding:35px;box-shadow:0 15px 65px #34343404}.signin-card>.muted{margin:10px 0 30px}.stack{flex-direction:column;gap:19px;display:flex}label{color:#4b5056;flex-direction:column;gap:8px;font-weight:550;display:flex}input,select,textarea{color:#3f3f3f;background:#fdfdfd;border:1px solid #e3e3e3;border-radius:8px;width:100%;min-width:0;min-height:42px;padding:12px 13px}input::placeholder{color:#4b5056}input[type=date]{min-height:42px}input[type=checkbox]{appearance:auto;accent-color:var(--green);flex-shrink:0;width:15px;height:15px;min-height:15px;margin:0}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{appearance:none}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.page-title{justify-content:space-between;align-items:center;margin-bottom:42px;display:flex}.page-title h1{margin-top:8px}.trips-home{min-height:calc(100vh - 180px);padding:60px 0 100px}.trip-grid{grid-template-columns:repeat(3,1fr);gap:25px;display:grid}.trip-card{border:1px solid var(--line);background:#fff;border-radius:14px;transition:transform .2s,box-shadow .2s;overflow:hidden}.trip-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px #46464609}.trip-card-body{padding:22px}.trip-card-body h2{overflow-wrap:anywhere}.trip-card-body p{color:var(--muted);margin-top:8px}.trip-card-meta{border-top:1px solid var(--line);color:#4b5056;align-items:center;gap:15px;margin-top:30px;padding-top:17px;display:flex}.trip-card-meta span{align-items:center;gap:5px;display:flex}.trip-card-meta strong{color:var(--green);margin-left:auto}.sample-link{color:#4b5056;align-items:center;gap:10px;margin-top:38px;display:flex}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);background:#f4f4f4;flex-direction:column;flex-shrink:0;width:228px;padding:34px 22px 20px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar .brand{padding-left:10px}.back-link{color:#4b5056;align-items:center;gap:9px;margin:42px 10px 35px;display:flex}.back-link:hover{color:var(--green)}nav{flex-direction:column;gap:7px;display:flex}nav button{text-align:left;color:#4b5056;border-radius:8px;align-items:center;gap:12px;width:100%;padding:13px 14px;display:flex}nav button.active{color:var(--green);background:#e7e7e7;font-weight:650}nav button:hover{background:#ececec}.nav-count{color:#4b5056;background:#f6f6f6;border-radius:4px;margin-left:auto;padding:2px 6px}.nav-dot{background:#b7b7b7;border-radius:50%;width:5px;height:5px;margin-left:auto}.sidebar-bottom{margin-top:auto}.profile{border-top:1px solid var(--line);align-items:center;gap:9px;padding:20px 6px 0;display:flex}.profile>div{flex-direction:column;gap:4px;min-width:0;display:flex}.profile strong{text-overflow:ellipsis;overflow:hidden}.profile span:not(.avatar){color:var(--muted)}.profile form{margin-left:auto}.avatar{color:#4b5056;background:#e6e6e6;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:39px;height:39px;font-weight:600;display:inline-flex}.avatar.small{width:28px;height:28px}.color-1{color:#7e694f;background:#f0e4d5}.color-2{color:#697583;background:#e2e7ed}.color-3{color:#7d6b86;background:#e9e2ed}.color-4{color:#816562;background:#f2e0de}.color-5{color:#5f776f;background:#dcebe7}.trip-main{flex-direction:column;width:calc(100% - 228px);max-width:1600px;min-height:100vh;margin-left:228px;padding:0 44px;display:flex}.trip-heading{justify-content:space-between;align-items:center;gap:20px;padding:39px 0 30px;display:flex}.trip-heading h1{overflow-wrap:anywhere;margin:10px 0 12px;line-height:1.25}.trip-subtitle{color:#4b5056;flex-wrap:wrap;align-items:center;gap:8px;line-height:1.7;display:flex}.trip-subtitle span{align-items:center;gap:6px;display:flex}.dot-sep{color:#4b5056}.heading-people{flex-shrink:0;align-items:center;gap:12px;display:flex}.avatar-stack{padding-left:5px;display:flex}.avatar-stack .avatar{border:2px solid #f7f7f7;width:31px;height:31px;margin-left:-5px}.stats{grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:35px;display:grid}.stat{border:1px solid var(--line);text-align:left;background:#fff;border-radius:11px;min-width:0;padding:22px 24px;display:block}.stat-label{color:#4b5056;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px;font-weight:450;display:flex}.stat>strong{letter-spacing:-1.3px;font-family:Manrope,sans-serif;font-weight:650}.stat>span{color:#4b5056;margin-top:10px;line-height:1.5;display:block}.balance-stat .stat-label,.balance-stat>strong,.balance-stat>span{color:#4b5056}.content-grid{grid-template-columns:minmax(0,1fr) 235px;gap:28px;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:14px;margin:2px 0 24px;display:flex}.section-heading h2{align-items:center;gap:10px;display:flex}.section-heading p{color:#4b5056;margin-top:7px;line-height:1.6}.count{color:#4b5056;letter-spacing:0;background:#eee;border-radius:5px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 5px;font-family:DM Sans,sans-serif;font-weight:500;display:inline-flex}.section-heading .btn{min-height:37px;padding:10px 13px}.expense-toolbar{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.filters{gap:4px;display:flex}.filters button{color:#4b5056;border-radius:6px;padding:8px 11px}.filters button.active{color:#4b5056;background:#eaeaea;font-weight:600}.filters button:hover{color:var(--green)}.toolbar-right{align-items:center;gap:8px;display:flex}.search-box{color:#4b5056;flex-direction:row;align-items:center;gap:7px;display:flex}.search-box input{background:0 0;border:0;outline:0;width:80px;min-height:30px;padding:7px 0}.search-box input:focus{border:0;outline:0}.expense-table{border:1px solid var(--line);background:#fff;border-radius:10px;overflow:hidden}.table-labels,.expense-row{grid-template-columns:minmax(150px,1fr) 115px 87px 13px;align-items:center;gap:12px;display:grid}.table-labels{color:#4b5056;letter-spacing:1.1px;border-bottom:1px solid var(--line);background:#fafafa;padding:13px 18px}.table-labels>span:nth-child(3){text-align:right}.expense-row{text-align:left;border-bottom:1px solid #f0f0f0;width:100%;min-height:88px;padding:21px 18px}.expense-row:last-child{border-bottom:0}.expense-row:hover{background:#fbfbfb}.expense-info{align-items:center;gap:12px;min-width:0;display:flex}.expense-icon{color:#4b5056;background:#f1f1f1;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:39px;height:39px;display:flex}.expense-icon.rent{color:#4b5056;background:#ededed}.expense-icon.other{color:#4b5056;background:#efefef}.expense-name{flex-direction:column;gap:8px;min-width:0;display:flex}.expense-name>strong{text-overflow:ellipsis;white-space:nowrap;color:#4b5056;font-weight:550;overflow:hidden}.expense-meta{color:#4b5056;flex-wrap:wrap;align-items:center;gap:4px;line-height:1.4;display:flex}.tag-pill{color:#4b5056;text-overflow:ellipsis;white-space:nowrap;background:#f2f2f2;border-radius:4px;align-items:center;max-width:150px;padding:2px 5px;display:inline-flex;overflow:hidden}.custom-share{color:#4b5056}.paid-by{color:#4b5056;align-items:center;gap:7px;min-width:0;display:flex}.paid-by>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.paid-by .avatar{width:24px;height:24px}.expense-total{text-align:right;white-space:nowrap;color:#4b5056;font-weight:600}.table-footer{color:#4b5056;justify-content:space-between;align-items:center;padding:17px 5px;display:flex}.table-footer>span:last-child{align-items:center;gap:15px;display:flex}.table-footer strong{color:#4b5056}.stay-total{color:#4b5056;border-top:1px solid #e4e4e4;justify-content:space-between;margin-top:19px;padding-top:14px;display:flex}.stay-total strong{color:#4b5056}.mini-heading{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.mini-heading h3{color:#4b5056;letter-spacing:-.2px}.mini-person{align-items:center;gap:9px;padding:10px 0;display:flex}.mini-person>span:not(.avatar){color:#4b5056;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mini-person strong{white-space:nowrap;margin-left:auto;font-weight:500}.mini-person .avatar{width:25px;height:25px}.balance-legend{color:#4b5056;border-top:1px solid var(--line);gap:17px;margin-top:12px;padding-top:13px;display:flex}.mobile-tabs{display:none}.empty-state{text-align:center;color:#4b5056;flex-direction:column;justify-content:center;align-items:center;gap:13px;padding:50px 22px;display:flex}.empty-state h3{color:#4b5056;font-weight:500}.empty-state p{color:#4b5056;line-height:1.7}.empty-state .btn{margin-top:10px}.people-grid{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.person-card{border:1px solid var(--line);background:#fff;border-radius:11px;padding:25px}.person-card-top{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.person-card-top .muted{overflow-wrap:anywhere;margin-top:5px;display:block}.person-status{color:#4b5056;background:#f7f7f7;border-radius:5px;margin-left:auto;padding:5px 6px}.person-net{letter-spacing:-1.2px;color:#4b5056;margin:24px 0;font-family:Manrope,sans-serif;font-weight:600;display:block}.person-details{border-top:1px solid var(--line);flex-direction:column;gap:14px;padding-top:20px;display:flex}.person-details>span{color:#4b5056;justify-content:space-between;align-items:center;display:flex}.person-details strong{color:#4b5056;font-weight:500}.button-group{gap:10px;display:flex}.settlement-grid{grid-template-columns:1.15fr 1fr;gap:24px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:11px;overflow:hidden}.panel-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:21px;display:flex}.panel-title h3{align-items:center;gap:8px;display:flex}.transfer-row{border-bottom:1px solid #f0f0f0;flex-wrap:wrap;align-items:center;gap:10px;padding:20px;display:flex}.transfer-row>strong{margin-left:auto}.transfer-people{align-items:center;gap:9px;display:flex}.transfer-people strong{font-weight:550}.transfer-row .btn{min-height:30px;padding:7px 8px}.unpaid-label{color:#4b5056;background:#f0f0f0;border-radius:5px;padding:5px 7px}.payment-row{border-bottom:1px solid #f0f0f0;align-items:center;gap:10px;padding:19px 20px;display:flex}.payment-check{color:#4b5056;background:#f2f2f2;border-radius:50%;justify-content:center;align-items:center;width:25px;height:25px;display:flex}.payment-row>div{flex-direction:column;gap:6px;min-width:0;display:flex}.payment-row>div>strong{font-weight:500}.payment-row>div>span{color:#4b5056}.payment-row>strong{white-space:nowrap;margin-left:auto}.payment-row form{margin-left:0}.payment-row .icon-btn{width:20px}.small-empty{padding:40px 20px}.success-state{color:#4b5056;padding:70px 20px}.receipt-grid{grid-template-columns:repeat(3,1fr);gap:22px;display:grid}.receipt-card{border:1px solid var(--line);background:#fff;border-radius:11px;padding:24px;position:relative}.receipt-card:after{content:"";border:1px solid var(--line);background:#fdfdfd;border-top:0;border-radius:0 0 7px 7px;height:5px;position:absolute;bottom:-5px;left:10px;right:10px}.receipt-card-top{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.receipt-card p{color:#4b5056;margin-top:9px}.receipt-card-bottom{border-top:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:20px;padding-top:21px;display:flex}.receipt-card-bottom strong{letter-spacing:-.8px;font-family:Manrope,sans-serif;font-weight:600}.receipt-items-link{margin-top:12px}dialog{width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 50px);color:var(--ink);background:#fff;border:1px solid #e4e4e4;border-radius:16px;padding:28px;box-shadow:0 25px 100px #35353522}dialog.wide{width:620px}dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#31313155}.modal-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.modal-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:6px;display:flex}.optional{color:#4b5056;font-weight:400}.form-error{color:#4b5056;background:#f2f2f2;border:1px solid #e1e1e1;border-radius:7px;padding:11px 13px;line-height:1.6}.field-note{color:#4b5056;line-height:1.7}.segmented{background:#f5f5f5;border:1px solid #eaeaea;border-radius:8px;gap:4px;padding:4px;display:flex}.segmented button{color:#4b5056;border-radius:5px;flex:1;padding:8px 6px}.segmented button.active{color:#4b5056;background:#fff;box-shadow:0 1px 3px #3a3a3a14}.checkbox{color:#4b5056;flex-direction:row;align-items:center;gap:9px;font-weight:400;line-height:1.5;display:flex}.rent-calculator{color:#4b5056;background:#f5f5f5;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;padding:13px;display:flex}.rent-calculator strong{color:#4b5056}.detail-total{background:#f7f7f7;border:1px solid #eaeaea;border-radius:10px;flex-direction:column;align-items:center;gap:10px;padding:23px;display:flex}.detail-total>strong{letter-spacing:-1.4px;font-family:Manrope,sans-serif;font-weight:600}.detail-total>span,.detail-total>p{color:#4b5056}.split-list{padding-top:23px}.split-person{color:#4b5056;align-items:center;gap:10px;padding:9px 0;display:flex}.split-person>strong{color:#4b5056;margin-left:auto;font-weight:500}.choice-form{border-top:1px solid var(--line);gap:13px;margin-top:20px;padding-top:20px}.detail-actions{border-top:1px solid var(--line);justify-content:space-between;margin-top:20px;padding-top:20px;display:flex}.member-checkboxes{border:0;flex-wrap:wrap;gap:12px 20px;margin:0;padding:0;display:flex}.member-checkboxes legend{color:#4b5056;margin-bottom:13px;font-weight:500}.member-checkboxes .avatar{width:23px;height:23px}.tag-list{flex-direction:column;gap:5px;margin-bottom:22px;display:flex}.tag-list>button{color:#4b5056;border:1px solid #ebebeb;border-radius:7px;justify-content:space-between;align-items:center;padding:12px;display:flex}.tag-list>button.chosen{background:#f3f3f3;border-color:#d9d9d9}.tag-list>button>span{align-items:center;gap:8px;display:flex}.tag-list strong{font-weight:500}.upload-zone{cursor:pointer;text-align:center;color:#4b5056;background:#f9f9f9;border:1px dashed #cdcdcd;border-radius:10px;justify-content:center;align-items:center;gap:15px;min-height:180px;padding:25px;position:relative}.upload-zone strong{color:#4b5056;word-break:break-all}.upload-zone span{color:#4b5056}.upload-zone input{opacity:0;cursor:pointer;width:100%;min-height:100%;position:absolute;inset:0}.spinner{border:2px solid #fff5;border-top-color:#fff;border-radius:50%;width:15px;height:15px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.review-items{flex-direction:column;gap:8px;max-height:280px;display:flex;overflow:auto}.review-labels,.review-item{grid-template-columns:minmax(120px,1fr) 100px 28px;align-items:center;gap:10px;display:grid}.review-labels{letter-spacing:1px;color:#4b5056;padding:0 3px 4px}.review-item input{min-height:36px;padding:9px 10px}.review-total{justify-content:space-between;align-items:center;display:flex}.review-total>strong{color:#4b5056}.toast{color:#f2f2f2;z-index:20;background:#4a4a4a;border:1px solid #6a6a6a;border-radius:9px;align-items:center;gap:9px;max-width:calc(100vw - 35px);padding:13px 20px;display:flex;position:fixed;bottom:28px;left:calc(50% + 100px);transform:translate(-50%);box-shadow:0 6px 25px #30303022}.error-page{flex-direction:column;justify-content:center;align-items:center;gap:30px;min-height:100vh;display:flex}.error-page p{color:#4b5056}@media (width>=1600px){.trip-main{margin-left:228px;padding:0 65px}.content-grid{grid-template-columns:minmax(0,1fr) 270px;gap:36px}.expense-row{min-height:99px}.stats{margin-bottom:44px}.trip-heading{padding:48px 0 36px}.stat{padding:26px 29px}}@media (width<=1250px){.trip-main{padding:0 28px}.sidebar{width:205px;padding:30px 17px 20px}.trip-main{width:calc(100% - 205px);margin-left:205px}.content-grid{grid-template-columns:minmax(0,1fr) 200px;gap:20px}.table-labels,.expense-row{grid-template-columns:minmax(120px,1fr) 75px 74px 10px;gap:7px}.expense-row{padding:18px 12px}.table-labels{padding:13px 12px}.expense-info{gap:9px}.paid-by{gap:5px}.stat{padding:20px}.people-grid{grid-template-columns:repeat(2,1fr)}.settlement-grid{grid-template-columns:1fr}.receipt-grid{grid-template-columns:repeat(2,1fr)}.home-shell{padding:0 45px}}@media (width<=1000px){.sidebar{width:180px;padding:27px 13px 20px}.sidebar .brand{padding-left:5px}.trip-main{width:calc(100% - 180px);margin-left:180px;padding:0 25px}.content-grid{grid-template-columns:minmax(0,1fr)}.right-rail{grid-template-columns:1fr 1fr;gap:24px;margin-top:15px;display:grid}.mini-balances{margin-top:0}.stat{padding:17px 15px}.stat-label{margin-bottom:15px}.stat-label svg{width:14px}.trip-heading{padding:32px 0 25px}.stats{gap:12px}.table-labels,.expense-row{grid-template-columns:minmax(150px,1fr) 100px 90px 13px;gap:10px}.trip-grid{grid-template-columns:repeat(2,1fr)}.signin-card{padding:28px}}@media (width<=760px){.sidebar{display:none}.trip-main{width:100%;margin:0;padding:0 23px}.trip-heading{align-items:flex-start;padding:28px 0 22px}.heading-people{padding-top:20px}.trip-subtitle{gap:5px}.trip-subtitle .dot-sep{margin:0 2px}.stat{padding:17px 13px}.stat-label svg{display:none}.stats{gap:10px;margin-bottom:20px}.mobile-tabs{border-bottom:1px solid var(--line);gap:24px;margin-bottom:26px;display:flex;overflow:auto}.mobile-tabs>button{white-space:nowrap;color:#4b5056;padding:13px 0;position:relative}.mobile-tabs>button.active{color:#4b5056;font-weight:600}.mobile-tabs>button.active:after{content:"";background:#8a8a8a;height:2px;position:absolute;bottom:0;left:0;right:0}.section-heading .btn{padding:9px 12px}.table-labels,.expense-row{grid-template-columns:minmax(130px,1fr) 80px 75px 10px;gap:8px}.expense-row{padding:17px 12px}.expense-icon{border-radius:8px;width:33px;height:33px}.expense-icon svg{width:18px}.people-grid{gap:14px}.person-card{padding:20px}.person-status{display:none}.receipt-grid{gap:16px}.receipt-card{padding:21px}.toast{left:50%}.home-shell{padding:0 25px}.home-header{height:90px}.intro{margin-top:18px}.signin-card{width:100%;max-width:390px;padding:27px}.trips-home{min-height:calc(100vh - 160px);padding:32px 0 70px}.page-title{margin-bottom:30px}.trip-grid{gap:15px}.trip-card-body{padding:18px}.trip-card-meta{flex-wrap:wrap;gap:10px}.sample-link{flex-wrap:wrap;gap:6px}.transfer-row{gap:8px;padding:18px 15px}.transfer-people{gap:7px}}@media (width<=440px){.trip-main{padding:0 17px}.trip-subtitle>span:last-child{text-overflow:ellipsis;max-width:100%;overflow:hidden}.heading-people .btn{gap:4px;padding:7px 9px}.stats{gap:7px}.stat{border-radius:9px;padding:14px 10px}.stat>strong{letter-spacing:-.8px}.stat-label{margin-bottom:12px}.stat>span{margin-top:8px}.section-heading p{max-width:190px}.expense-toolbar{gap:4px}.filters{gap:0}.filters button{padding:7px 9px}.toolbar-right{gap:3px}.search-box input{width:47px}.search-box{gap:3px}.toolbar-right .icon-btn{width:28px}.table-labels,.expense-row{grid-template-columns:minmax(130px,1fr) 30px 68px 9px;gap:6px}.paid-by>span:last-child{display:none}.expense-icon{width:29px;height:29px}.expense-info{gap:8px}.custom-share{display:none}.right-rail{grid-template-columns:1fr 1fr;gap:18px}.mini-person{gap:6px}.mini-person .avatar{width:22px;height:22px}.people-grid,.receipt-grid{grid-template-columns:1fr}.person-card-top .person-status{display:block}.person-net{margin:20px 0}.person-details{grid-template-columns:1fr 1fr;gap:17px;display:grid}.button-group{gap:6px}.hide-small{display:none}.section-heading .button-group .btn{padding:9px 10px}.section-heading .button-group .primary{gap:5px}.transfer-row{flex-wrap:wrap;row-gap:15px}.transfer-people{min-width:190px}.transfer-row .btn{margin-left:auto}.review-labels,.review-item{grid-template-columns:minmax(100px,1fr) 75px 22px;gap:6px}dialog{padding:23px}.form-grid{gap:12px}.trip-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.brand{letter-spacing:-1px;gap:0;font-weight:650}.home-header{height:88px}.auth-main{justify-content:center;align-items:flex-start;padding:90px 0;display:flex}.signin-card{width:360px;box-shadow:none;border-radius:12px;padding:28px}.signin-card h1{margin-bottom:27px}.signin-card>.field-note{margin-top:19px}.trips-home{padding-top:32px}.page-title h1{margin:0}.trip-card-title{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.trip-card-title svg{color:#4b5056}.trip-card-meta{margin-top:24px}.trip-card{border-radius:11px}.sidebar .brand{padding:0 13px}.back-link{margin-top:34px;margin-bottom:22px}.trip-main{padding-top:14px;padding-bottom:30px}.trip-heading{padding-top:26px}.trip-heading h1{margin-top:0}.heading-people{gap:9px}.stat{padding:20px 24px}.stat-label{margin-bottom:13px}.stats{margin-bottom:30px}.mini-balances{margin-top:0}.mini-heading{margin-bottom:17px}.right-rail{padding-top:0}.mini-person{padding:13px 0}.section-heading{min-height:38px;margin-bottom:20px}.section-heading p:empty{display:none}.expense-row{min-height:80px;padding-top:18px;padding-bottom:18px}.content-grid{grid-template-columns:minmax(0,1fr) 210px;gap:32px}.empty-state p:empty{display:none}.receipt-empty{padding:70px 25px}.trip-main:before{content:none}@media (width<=1100px){.content-grid{grid-template-columns:minmax(0,1fr)}.right-rail{max-width:360px;margin-top:16px;display:block}}@media (width<=760px){.trip-heading{padding-top:24px}.trip-main{padding-top:0}.trip-heading{flex-wrap:wrap;gap:15px}.heading-people{padding-top:0}.stats{gap:10px;margin-bottom:12px}.stat{padding:16px 13px}.home-shell{padding:0 24px}.home-header{height:75px}.auth-main{padding-top:55px}.signin-card{padding:24px}.right-rail{max-width:none}.trip-heading>div:first-of-type{flex:1;min-width:180px}.heading-people .icon-btn{width:28px}.mini-person{padding:10px 0}.stat-label svg{display:block}.person-card{padding:20px}.trip-grid{grid-template-columns:1fr}}.mobile-bar{display:none}@media (width<=760px){.mobile-bar{justify-content:space-between;align-items:center;height:58px;display:flex}.mobile-bar .back-link{margin:0}.trip-heading{padding-top:14px}}*{font-size:1rem}.content-grid{display:block}.stat-label,.stat>strong{line-height:1.5}.balance-stat{justify-content:center;align-items:center;min-height:100px;display:flex}.balance-stat .stat-label{color:#4b5056;gap:16px;margin:0;font-weight:650}.expense-table .table-labels,.expense-row{grid-template-columns:minmax(170px,1fr) minmax(110px,180px) 140px 20px;gap:18px}.expense-meta{line-height:1.5}.table-labels{letter-spacing:0}.expense-name>strong{white-space:normal;overflow-wrap:anywhere}.expense-row{padding:22px}.section-heading{min-height:46px}.trip-main{padding-bottom:35px}.person-card-top>div{flex:1;min-width:0}.person-card h3{overflow-wrap:anywhere}.person-details span{gap:14px;line-height:1.5}.person-net{font-weight:700}.person-details strong{white-space:nowrap}.settlement-grid{grid-template-columns:minmax(0,1fr);gap:24px}.transfer-row{gap:18px;padding:24px}.transfer-people{flex-wrap:wrap;line-height:1.6}.transfer-row>strong{white-space:nowrap}.transfer-row .btn{min-height:42px}.payment-row{flex-wrap:wrap;gap:16px}.payment-row>div{overflow-wrap:anywhere;flex:1;min-width:180px;line-height:1.5}.panel-title{padding:22px}.received-by{overflow-wrap:anywhere;flex-direction:column;justify-content:center;gap:12px;display:flex}.received-by>span{color:#4b5056}.tag-list>button{flex-direction:column;align-items:flex-start;gap:16px;line-height:1.5}.tag-list>button>span{white-space:normal;overflow-wrap:anywhere;text-align:left}.upload-zone strong{line-height:1.5}.detail-total{align-items:flex-start;line-height:1.6}.split-list h3{margin-bottom:14px}.split-person{flex-wrap:wrap;padding:12px 0}.split-person>span:not(.avatar):not(.tag-pill){overflow-wrap:anywhere;flex:1}.choice-form .form-grid{grid-template-columns:1fr}.profile>div{overflow-wrap:anywhere}.icon-btn{min-width:36px;min-height:36px}.home-shell{max-width:1200px}.signin-card{width:100%;max-width:420px}.form-error{line-height:1.6}.btn{line-height:1.5}.review-item,.review-labels{grid-template-columns:minmax(100px,1fr) 135px 36px}.checkbox{line-height:1.5}.member-checkboxes{gap:16px 22px}dialog{width:560px}.stack{gap:22px}.form-grid{gap:18px}.person-status{white-space:nowrap}.person-card .person-status{display:block}.trip-card-title h2{line-height:1.5}.brand{font-weight:750}.expense-name{gap:9px}.expense-meta:empty{display:none}@media (width<=1100px){.trip-heading{flex-wrap:wrap}.expense-table .table-labels,.expense-row{grid-template-columns:minmax(150px,1fr) minmax(100px,130px) 132px 18px;gap:12px}.people-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=800px){.sidebar{display:none}.trip-main{width:100%;margin-left:0;padding:0 20px 35px}.mobile-bar{justify-content:space-between;align-items:center;height:65px;display:flex}.mobile-bar .back-link{margin:0}.mobile-tabs{gap:15px;margin-bottom:24px;display:flex;overflow-x:auto}.mobile-tabs>button{white-space:nowrap;padding:14px 0}.trip-heading{gap:18px}.trip-heading>div:first-of-type{flex:none;width:100%}.heading-people{margin-left:auto;padding:0}.stats{gap:10px}.stat{padding:18px 13px}.stat>strong{overflow-wrap:anywhere}.stat-label{margin-bottom:12px}.stat-label svg{display:block}.balance-stat .stat-label{flex-direction:column;gap:10px}.mobile-tabs>button.active{font-weight:700}.section-heading{flex-wrap:wrap;gap:18px}.section-heading h2{line-height:1.5}.expense-toolbar{flex-wrap:wrap;gap:15px}.filters{flex-wrap:wrap;gap:4px}.filters button{padding:9px 11px}.toolbar-right{gap:10px;width:100%}.search-box{flex:1}.search-box input{width:100%;padding:10px}.expense-table .table-labels{display:none}.expense-row{grid-template-columns:minmax(0,1fr) auto 20px;gap:12px;padding:20px;display:grid}.expense-info{grid-area:1/1/auto/3;min-width:0}.expense-icon{display:none}.expense-row>svg{grid-area:1/3}.paid-by{flex-wrap:wrap;grid-area:2/1/auto/3;gap:8px;line-height:1.5}.paid-by>span:last-child{white-space:normal;display:inline}.paid-by:before{content:"Paid by";color:#4b5056}.expense-total{text-align:left;grid-area:3/1/auto/4}.expense-meta{line-height:1.6}.expense-name>strong{white-space:normal}.person-card{padding:23px}.person-details{flex-direction:column;gap:16px;display:flex}.person-details>span{flex-wrap:wrap}.button-group{flex-wrap:wrap;gap:12px}.transfer-row{gap:16px;padding:20px}.transfer-people{gap:9px;width:100%;min-width:0}.transfer-people strong,.transfer-people>span{overflow-wrap:anywhere}.transfer-row>strong{margin-left:0}.transfer-row>.btn{margin-left:auto}.payment-row{padding:20px}.payment-row>div{flex:none;width:100%;min-width:0}.payment-check{display:none}.payment-row>strong{margin-right:auto}.form-grid{grid-template-columns:1fr}.person-card-top{flex-wrap:wrap}.profile{gap:10px}.received-by{background:#f3f3f3;border-radius:8px;padding:16px}.review-item,.review-labels{grid-template-columns:minmax(100px,1fr) 100px 32px;gap:8px}.review-item input{padding:10px 8px}.review-item .icon-btn{min-width:32px}.receipt-card{padding:23px}.receipt-card-bottom{flex-wrap:wrap;gap:16px}.tag-pill{white-space:normal;line-height:1.5}.person-details strong{margin-left:auto}.signin-card h1{margin-bottom:24px}dialog{padding:23px}.segment button{padding:11px 5px}.trip-subtitle{line-height:1.6}.header-right{max-width:210px}.header-right>span{overflow-wrap:anywhere}}.stat>strong,.person-net,.detail-total>strong,.receipt-card-bottom strong{letter-spacing:0;font-variant-numeric:tabular-nums}.trip-heading{display:block}.trip-title-row{justify-content:space-between;align-items:center;gap:20px;width:100%;min-width:0;display:flex}.trip-title-row h1{flex:1;min-width:0;margin:0}.trip-title-row>.icon-btn{flex-shrink:0;margin-left:auto}.trip-meta-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;display:flex}.trip-meta-row .trip-subtitle{flex:1;min-width:200px;margin:0}.trip-meta-row>.avatar-stack{flex-shrink:0;display:flex}.avatar-stack .avatar{width:36px;height:36px}.profile>.avatar,.person-card-top>.avatar{display:inline-flex}.person-card-top{align-items:center}.paid-by>.avatar,.transfer-people>.avatar,.split-person>.avatar,.member-checkboxes .avatar{display:inline-flex}@media (width<=800px){.trip-heading>.trip-title-row:first-of-type{flex:none;width:100%}.trip-title-row{align-items:flex-start}.trip-meta-row .trip-subtitle{min-width:200px}.avatar-stack .avatar{width:32px;height:32px}.person-card-top>.avatar,.paid-by>.avatar{display:inline-flex}.paid-by{gap:9px}.transfer-people>.avatar,.split-person>.avatar{display:inline-flex}}.name-bubble{color:#435935;white-space:normal;overflow-wrap:anywhere;background:#e2e9d6;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;max-width:100%;padding:5px 11px;font-weight:550;line-height:1.5;display:inline-flex}.name-list{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.trip-meta-row .name-list{min-width:0;max-width:100%}.paid-by>.name-bubble,.profile>.name-bubble{flex-shrink:1;min-width:0}.profile{align-items:center}.person-card-top>.name-bubble{flex-shrink:1}.person-status{margin-left:auto}.split-person>.name-bubble{flex:0 auto;min-width:0}.split-person>strong{margin-left:auto}.member-checkboxes .name-bubble{flex-shrink:1}.payment-parties,.expense-payment{flex-wrap:wrap;align-items:center;gap:10px;line-height:1.6;display:flex}.payment-parties .name-bubble,.transfer-people .name-bubble{flex-shrink:1}.receipt-author{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.tag-list>button>span{flex-wrap:wrap}.header-right>.name-bubble{flex-shrink:1;min-width:0}.name-bubble.color-1{color:#71583b}.name-bubble.color-2{color:#49586d}.name-bubble.color-3{color:#624e6d}.name-bubble.color-4{color:#79554f}.name-bubble.color-5{color:#3e6256}@media (width<=800px){.name-list{justify-content:flex-start}.trip-meta-row{align-items:flex-start}.trip-meta-row .trip-subtitle{flex:none;width:100%}.person-card-top>.name-bubble{display:inline-flex}.split-person>.name-bubble{flex:0 auto}.split-person>.name-bubble:not(.avatar):not(.tag-pill){flex:0 auto;min-width:0}.paid-by>span:last-child{text-overflow:clip;overflow:visible}.received-by>.name-bubble{align-self:flex-start}}.people-select{flex-direction:column;gap:8px;min-width:0;display:flex;position:relative}.select-label{color:#4b5056;font-weight:550}.people-trigger{text-align:left;background:#fdfdfd;border:1px solid #b6b6b6;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 12px;display:flex}.selected-people{flex-wrap:wrap;gap:7px;min-width:0;display:flex}.people-trigger>svg{flex-shrink:0}.people-options{z-index:5;background:#fff;border:1px solid #b6b6b6;border-radius:9px;flex-direction:column;gap:12px;max-height:280px;margin:6px 0 0;padding:15px;display:none;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 10px 26px #35353520}.people-options.open{display:flex}.people-options .checkbox{cursor:pointer;padding:5px}.people-options .name-bubble{pointer-events:none}.people-options input{width:18px;height:18px;min-height:18px}.people-trigger:focus-visible{outline-offset:2px;outline:2px solid #898989}.location-link{color:#4b5056;text-underline-offset:3px;overflow-wrap:anywhere;align-items:center;gap:6px;text-decoration:underline;display:inline-flex}:root{color:#282d33;--ink:#282d33;--green:#303842;--muted:#4b5056;--line:#dedfe2;background:#f7f7f8}.sidebar{background:#f1f2f4;border-color:#dedfe2}.stat,.expense-table,.panel,.person-card,.receipt-card{background:#fff}.balance-stat{background:#eceef1;border-color:#d6d9df}.balance-stat:hover{background:#e2e5e9}.balance-stat .stat-label,.filters button.active{color:#303842}nav button.active{color:#283442;background:#e1e5eb}.filters button.active{background:#e7eaf0}.detail-total{background:#f0f2f5;border-color:#dce0e6}.segmented{background:#edeff2;border-color:#dfe2e6}.segmented button.active{color:#303842;background:#fff}.expense-icon,.expense-icon.rent,.expense-icon.other{color:#526072;background:#eef0f3}.tag-pill{color:#445064;background:#eef0f3}.people-trigger,.people-options{background:#fff;border-color:#c7cbd2}.select-label{color:#424950}.location-link{color:#384d6b}.location-link:hover{color:#203654}.person-net,.person-details strong{color:#38414d}.positive{color:#305c42!important}.danger{color:#9c4039!important}.name-bubble.color-0{color:#354b28;background:#dfe8d6}.name-bubble.color-1{color:#674524;background:#f5dcc6}.name-bubble.color-2{color:#344b69;background:#d9e6f4}.name-bubble.color-3{color:#573e69;background:#e7dbf1}.name-bubble.color-4{color:#6d4350;background:#f0d7de}.name-bubble.color-5{color:#2d5543;background:#d5ebe1}.paid-by>.name-bubble:last-child{white-space:normal;text-overflow:clip;max-width:100%;overflow:visible}.split-person>.name-bubble:not(.avatar):not(.tag-pill){flex:0 auto;min-width:0}.name-bubble{letter-spacing:0}.app-shell{--sidebar-width:228px;padding-left:var(--sidebar-width)}.trip-main{width:100%;min-width:0;max-width:1280px;margin-inline:auto}@media (width<=1250px){.app-shell{--sidebar-width:205px}}@media (width<=1000px){.app-shell{--sidebar-width:180px}}@media (width<=800px){.app-shell{--sidebar-width:0px}}.rent-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.rent-total{white-space:nowrap}@media (width<=800px){.stats{grid-template-columns:minmax(0,1fr);gap:10px}.stats>.stat{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 18px;min-height:0;padding:16px 18px;display:flex}.stats .stat-label{margin:0}.stats>.stat>strong{white-space:nowrap;overflow-wrap:normal;margin-left:auto}.stats>.balance-stat{justify-content:center}.stats>.balance-stat .stat-label{flex-direction:row;gap:12px}.rent-calculator{grid-template-columns:minmax(0,1fr);gap:14px;padding:16px;display:grid}.rent-calculator>.checkbox,.rent-calculator .rent-summary{width:100%}.payment-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 12px;display:grid}.payment-row:has(form){grid-template-columns:minmax(0,1fr) auto auto}.payment-row>.payment-details{display:contents}.payment-row .payment-parties{grid-area:1/1/auto/-1}.payment-row .payment-note{overflow-wrap:anywhere;grid-area:2/1;min-width:0}.payment-row>strong{text-align:right;white-space:nowrap;grid-area:2/2;margin:0}.payment-row>form{grid-area:2/3;margin:0}.payment-row .icon-btn{width:36px;min-width:36px;height:36px}}.toast[popover]{width:max-content;max-width:calc(100vw - 32px);margin:0;inset:auto auto 24px 50%;transform:translate(-50%)}.negative{color:#a43735!important}@media (width<=800px){.payment-row:has(.payment-undo){grid-template-columns:minmax(0,1fr) auto auto}.payment-row>.payment-undo{grid-area:2/3;margin:0}}
