/* DivZplit: restrained glass surfaces, with readable solid content panels. */
:root{--bg:#f8f6fe;--surface:#fff;--text:#261c38;--muted:#8c809e;--purple:#8052df;--purple-dark:#6d3ed0;--border:#eee8f6;--green:#397e66;--sidebar:260px;--glass:rgba(255,255,255,.83);--card-shadow:0 8px 30px rgba(73,47,111,.045);color:var(--text);background:var(--bg)}
body{background:radial-gradient(ellipse at 5% 12%,#eee5fb75,transparent 52%),radial-gradient(ellipse at 95% 85%,#f0eaff70,transparent 50%),var(--bg);background-attachment:fixed;line-height:1.5}
.brand-wordmark{font-weight:800;letter-spacing:-1.4px;white-space:nowrap;color:#21152f}.brand-z{color:var(--purple)}.brand-dot{color:#b18abf}.brand{letter-spacing:-1.4px;font-size:29px}.icon{stroke-linecap:round;stroke-linejoin:round}.button{border-radius:12px;min-height:44px;font-size:12px;padding:12px 17px}.button.primary{background:var(--purple);box-shadow:0 5px 14px #8052df18}.button.primary:hover{background:var(--purple-dark)}.button.secondary{border-color:#e9e1f4;background:#ffffffd9;color:#79648e}.button.secondary:hover{background:#f6f0ff;border-color:#d8c7f1}.text-button{font-size:11px;color:#8560b4}.small-button{min-height:36px;font-size:11px;padding:9px 12px}.icon-button{border-radius:10px;min-width:36px;min-height:36px}.top-avatar .avatar{width:39px;height:39px;font-size:12px;background:#ebe2fa;color:#3e2c57}.avatar{font-weight:650}
.sidebar{left:18px;top:18px;bottom:18px;width:224px;inset-block:18px;border:1px solid #ffffffef;background:var(--glass);border-radius:27px;padding:29px 17px 0;box-shadow:0 10px 45px #4d336009;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.sidebar .brand{margin:0 8px 28px}.sidebar-create{width:100%;margin-bottom:28px;min-height:44px}.sidebar .workspace-label{font-size:8px;letter-spacing:1.5px;padding:0 12px;margin-bottom:13px}.nav-item{border-radius:13px;padding:12px;font-size:12px;gap:12px;margin-bottom:5px}.nav-item.active{background:#eee5fb;color:#7850c2}.nav-count{background:#f1eafa}.sidebar-group-label{padding:21px 9px 12px;font-size:8px}.group-nav{border-radius:11px;padding:10px;font-size:11px;gap:8px}.group-nav.selected{background:#f5f0fc;color:#71528d}.group-emoji{width:27px;height:27px;border-radius:9px}.sidebar-bottom{margin-top:auto}.together-card{background:linear-gradient(145deg,#f1eafa,#f7f3fc);border:1px solid #ece3f6;border-radius:17px;padding:19px 15px;margin-bottom:12px}.together-card h3{font-size:15px;line-height:1.4;color:#775a8e}.together-card p{font-size:10px;line-height:1.7;color:#9b87af}.profile{padding:17px 2px;border-top-color:#eee6f5;gap:9px}.profile strong{font-size:11px}.profile small{font-size:9px}
.main-shell{min-height:100dvh}.topbar{position:sticky;top:0;z-index:35;min-height:80px;height:80px;padding:0 38px;border-bottom:1px solid #f0eaf660;background:#f8f6fec7;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.breadcrumb{font-size:12px;gap:14px;color:#b1a0c0}.breadcrumb strong{color:#77618b}.topbar-right{gap:17px}.local-label{font-size:10px;color:#9d8caf}.account-button{font-size:11px!important;padding:8px 12px!important;min-height:36px}main{max-width:1430px;padding:30px 38px 34px}.welcome-row{margin-bottom:26px;gap:18px}.welcome-row .eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:10px;color:#a997b9}.welcome-row h1{font-size:32px;line-height:1.2;font-weight:750;letter-spacing:-1.4px;color:#241634}.welcome-row p{font-size:13px;color:#9b8bab;margin-top:10px}.welcome-row>.button{font-size:11px;min-height:39px;margin-top:0}.welcome-row .purple-text{color:var(--purple)}
.trip-hero{background:#ede5fa;border:1px solid #eee4fa;border-radius:25px;min-height:230px;overflow:hidden;box-shadow:var(--card-shadow);margin-bottom:22px;isolation:isolate}.hero-content{position:relative;z-index:2;width:66%;padding:30px 32px}.hero-content h2{font-size:30px;font-weight:750;letter-spacing:-1.2px;line-height:1.25;color:#2b1b3e;max-width:560px}.trip-badge{font-size:9px;letter-spacing:1.6px;color:#9e83bb;margin-bottom:16px;font-weight:650}.trip-badge>span{background:#b298cf}.trip-meta{font-size:11px;color:#927aa7;gap:17px;line-height:1.6;margin-top:13px}.trip-meta .icon{width:14px;height:14px}.hero-bottom{gap:11px;margin-top:26px;flex-wrap:wrap}.hero-bottom>.avatars{flex-shrink:0}.hero-bottom .avatar{height:30px;width:30px;font-size:9px;border:2px solid #ede5fa}.hero-bottom>span{font-size:10px;color:#8c71a3;max-width:none}.hero-edit{margin-left:0;background:#ffffffa6;border:1px solid #ffffffde;border-radius:9px;color:#8e73a4;width:29px;height:29px;flex-shrink:0}.hero-edit .icon{width:14px;height:14px}.invite-button{margin:0;min-height:30px;padding:7px 10px;font-size:10px;border-radius:9px}.hero-art{position:absolute;inset:0 0 0 auto;width:67%;min-width:0;opacity:1;transform:none;z-index:0;pointer-events:none}.hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#ede5fa 0%,#ede5fa99 18%,#ede5fa00 67%)}.hero-destination-image{height:100%;width:100%;object-fit:cover;object-position:80% 67%}.hero-generic-scene{position:absolute;inset:0;background:radial-gradient(circle at 80% 70%,#f3e4e8,transparent 55%),#eee5fa;display:grid;place-items:center}.scene-circle{position:absolute;width:180px;height:180px;border-radius:50%;background:#e3d5f4b0;right:8%;bottom:-15px;border:1px solid #f8f3ff}.scene-group-emoji{font-size:110px;transform:rotate(10deg);position:absolute;right:10%;bottom:20px;filter:drop-shadow(0 10px 16px #8b6aa115)}.scene-little-star{position:absolute;right:35%;top:17%;color:#b9c696;font-size:38px;transform:rotate(15deg)}
.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:14px}.stat-card{display:flex;align-items:center;gap:16px;padding:22px 24px;min-height:118px;background:#fffffff0;border:1px solid #fff;border-radius:23px;box-shadow:var(--card-shadow);min-width:0}.stat-icon{height:48px;width:48px;border-radius:15px;display:grid;place-items:center;flex-shrink:0;margin:0}.stat-icon .icon{height:25px;width:25px}.stat-copy{min-width:0;display:flex;flex-direction:column;gap:5px}.stat-label{font-size:12px;color:#9581a7;line-height:1.5}.stat-copy>strong{font-size:28px;line-height:1.2;font-weight:750;color:#271736;letter-spacing:-.9px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stat-copy>strong.green-text{color:#397f65}.stat-copy>small{font-size:9px;color:#b19dbf;line-height:1.6}.stat-copy>.text-button{font-size:10px;line-height:1.6;padding:2px 0;justify-content:flex-start;text-align:left}.spent-stat .stat-icon{background:#f0e8fd;color:#8051ca}.balance-stat .stat-icon{background:#eef8f0;color:#498069}.balance-stat .stat-icon .icon{transform:rotate(-38deg)}.stats-context{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 3px 27px;color:#a18aae;font-size:11px}.stats-context strong{font-weight:600;color:#8b719e;margin-left:3px}.stats-context .text-button{font-size:11px;min-height:28px}
.panel,.group-card{background:#fffffff0;border:1px solid #fff;border-radius:24px;box-shadow:var(--card-shadow)}.panel{padding:26px}.section-heading{margin-bottom:22px;gap:12px}.section-heading h2{font-size:18px;font-weight:700;letter-spacing:-.5px;color:#2e203c}.section-heading p{font-size:11px;color:#ad98bb;line-height:1.7;margin-top:7px}.section-heading .text-button{font-size:11px;color:#a18bb4}.dashboard-grid{gap:22px}.dashboard-main,.dashboard-side{gap:22px}.expense-row{padding:18px 0;gap:14px;border-bottom-color:#f0eaf6;align-items:center}.expense-icon{width:45px;height:45px;border-radius:13px;flex-shrink:0}.expense-icon .icon{width:23px;height:23px}.expense-description{min-width:0}.expense-description strong{font-size:13px;font-weight:600;color:#3b2a4a;line-height:1.55;overflow-wrap:anywhere}.expense-description small{font-size:11px;color:#ab96bb;line-height:1.6;margin-top:5px}.expense-value{min-width:0;flex-shrink:0;max-width:43%;text-align:right}.expense-value strong{font-size:15px;font-weight:700;color:#35233f;letter-spacing:-.4px;overflow-wrap:anywhere}.expense-value small{font-size:9px;color:#b7a3c4}.expense-detail-button{width:24px;min-width:24px;height:38px;color:#a58cb9}.expense-detail-button .icon{height:15px;width:15px}.group-toolbar{margin-bottom:22px;border-bottom:0;gap:16px}.tabs{gap:5px;background:#f0eaf781;border:1px solid #ece3f680;border-radius:14px;padding:5px;min-width:0;overflow-x:auto;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs button{border:0;border-radius:10px;font-size:11px;padding:10px 15px;color:#a087b3;white-space:nowrap;min-height:39px}.tabs button.active{background:#fff;color:#8050bf;box-shadow:0 3px 9px #5e397512}.tabs button>span{background:#eee5f8;color:#9d7ab8}.group-toolbar>.button{font-size:11px;min-height:39px;padding:10px 14px;border-radius:12px}.group-toolbar:before{display:none!important}
.budget-card{background:linear-gradient(140deg,#fbf8ff,#f5eefa);border:1px solid #fff}.budget-numbers strong{font-size:30px;font-weight:750;letter-spacing:-1px;color:#70518d}.budget-numbers>span{font-size:12px;color:#b39ac6}.progress-track{height:7px;background:#e9ddf3;border-radius:20px}.progress-track>span{border-radius:20px;background:#ba9dda}.progress-labels{font-size:10px;color:#a88cba}.budget-remaining{font-size:12px;color:#9776aa}.task-row{padding:16px 0;border-bottom-color:#f0e9f6;gap:12px}.task-row label{font-size:12px;color:#8b729d;line-height:1.6}.custom-check{border-color:#dccde8;border-radius:6px;height:20px;width:20px;flex-shrink:0}.poll-card{background:#fdfbff;border:1px solid #f0e9f7;border-radius:17px;padding:21px}.poll-title h3{font-size:15px;color:#6f527f;font-weight:650}.poll-title p{font-size:11px;color:#af98be}.poll-option{border-color:#eee3f5;border-radius:12px;min-height:47px;padding:12px 15px;font-size:12px;color:#8c6ca1}.poll-option.chosen{border-color:#cbb5e3;background:#f7f0ff;color:#7f57a2}.poll-fill{background:#f0e6fa}.poll-footer{font-size:10px;gap:10px;flex-wrap:wrap;color:#ab91bd}.tip-card{background:transparent;border:0;padding:4px 10px 16px;color:#aa91b8;font-size:11px;line-height:1.8}.tip-card p{font-size:11px}.filter-row{gap:9px;flex-wrap:wrap}.filter-chip{font-size:11px;min-height:36px;border-radius:20px;padding:8px 14px;border-color:#eee5f6}.filter-chip.active{background:#eee5fb;color:#8a5db3}.group-cards{gap:22px}.group-card{overflow:hidden}.group-card-cover{height:170px}.group-card-body{padding:25px}.group-card-body h2{font-size:20px;color:#493057;font-weight:700;line-height:1.4}.group-card-body p{font-size:12px;color:#b19ac0}.group-card-footer{font-size:10px;color:#a289b2}.group-card-total{font-size:11px;color:#aa90bb;border-top-color:#f0e7f6}.group-card-total strong{font-size:18px;font-weight:700;color:#7a5294}.new-group-card{border:1px dashed #d9c8e9;background:#ffffff75;border-radius:24px;min-height:220px}.new-group-card h3{font-size:17px;color:#9474a8}.new-group-card p{font-size:11px;color:#b7a0c5}.group-select{border-radius:11px;border-color:#e9dff2;min-height:42px;font-size:12px}.category-row{gap:14px;padding:15px 0}.category-row>div>span{font-size:12px;color:#9476a6}.category-row>strong{font-size:12px;color:#92729e;width:110px}.payment-row{font-size:12px;border-bottom-color:#f0e8f5;gap:11px}.payment-row>strong{font-size:15px}.empty-state{padding:38px 18px}.empty-state h3{font-size:20px;font-weight:650;color:#9b7eae;letter-spacing:-.4px}.empty-state p{font-size:12px;color:#b8a2c6;line-height:1.8}.empty-state .button{margin-top:8px}.page-footer{padding:15px 38px 30px;font-size:9px;color:#b9a7c8}
.modal-overlay{z-index:120;background:#36204435;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.modal{padding:30px;border-radius:27px;background:#fffffff5;border:1px solid #fff;box-shadow:0 24px 90px #38204425;max-width:540px}.modal-heading{margin-bottom:25px}.modal-heading h2{font-size:25px;font-weight:700;letter-spacing:-.8px;color:#624076;line-height:1.25}.modal-heading p{font-size:11px;color:#af95bd}.modal-heading .eyebrow{font-size:8px;color:#b298c1;letter-spacing:1.7px}.field{font-size:12px;color:#8f72a2;gap:8px;margin-bottom:18px}.field input,.field select,.field textarea{background:#fbf8fe;border:1px solid #e9def2;border-radius:11px;font-size:14px;color:#715284;min-height:46px;padding:12px}.field input::placeholder{color:#bca2cc}.field>.muted{font-size:10px;line-height:1.8;color:#af94bf}.form-note{border-radius:11px;background:#f5effa;color:#a48ab4;font-size:11px;padding:14px;line-height:1.9}.participants legend{font-size:12px;color:#9374a5}.participant{padding:9px;border-radius:10px;border-color:#e8dcf1;font-size:11px}.participant input{width:15px;height:15px}.participant:has(input:checked){background:#f1e9fa;border-color:#d9c5eb}.modal-actions{border-top-color:#f0e7f7;gap:10px;flex-wrap:wrap}.modal-actions .button{font-size:12px}.form-error{font-size:12px;color:#b76d66}.expense-detail-total{font-size:37px;color:#77508e;font-weight:750}.detail-payer{font-size:13px;color:#a68ab7}.detail-subtitle{font-size:13px;color:#9773aa}.share-row{font-size:12px;line-height:1.6;border-top-color:#f1e8f7}.share-row>strong{font-size:14px;color:#7d558e}.privacy-note{border-radius:17px;background:#f6f0fb}.privacy-note h3{font-size:14px;color:#9067a4}.privacy-note p{font-size:12px;color:#b094c0;line-height:1.9}.profile-detail .avatar{width:52px;height:52px;font-size:16px}.profile-detail h3{font-size:17px;font-weight:650;color:#79548b}.profile-detail p{font-size:11px;color:#ad93bd}.profile-panel{max-width:760px;padding:32px}.profile-panel>.button{max-width:440px;margin-left:auto;margin-right:auto;display:flex}.profile-panel>.profile-detail{margin-bottom:28px}.profile-panel .privacy-note{margin:24px 0}.profile-panel .reset-button{font-size:11px}.split-fields{border-radius:15px;background:#f7f0fd;border-color:#eadcf4}.split-total{color:#a081b5}.delete-group-warning{font-size:12px;color:#a48198}.recurrence-info{background:#f3eafa;border-radius:13px}.account-banner{border-radius:15px;border-color:#e9dcf4;background:#f2eafa;padding:16px 20px;font-size:12px;color:#a184b3}.account-banner p{font-size:11px}.shared-banner{background:#edf6ef;border-color:#dfeee2;color:#81a38d}.shared-banner .text-button{color:#74977e}.receipt-preview{background:#faf6fe;border-radius:13px;border-color:#e9ddf3}.dialog-copy{font-size:13px;color:#a78ab7}.settlement-row{border-bottom-color:#efe3f6;font-size:12px}.button.danger{border-radius:12px;background:#fff1ee;border-color:#f2d9d4;color:#bf7b71}#toast{border-radius:16px;background:#493351eb;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 8px 30px #3c205a25}
.quick-add-content{padding-top:0}.quick-add-context{font-size:12px;line-height:1.7;color:#a68abb;margin-bottom:19px;overflow-wrap:anywhere}.quick-add-context strong{color:#8b62a2;font-weight:600}.quick-actions{display:grid;gap:10px}.quick-action{display:flex;align-items:center;gap:14px;width:100%;padding:15px 14px;background:#f8f2fd;border:1px solid #ede1f6;border-radius:16px;text-align:left;min-height:78px;transition:background .16s,border-color .16s}.quick-action:hover{background:#f0e5fb;border-color:#ddc8f0}.quick-action-icon{height:43px;width:43px;display:grid;place-items:center;border-radius:13px;background:#ede1fb;color:#a17bc5;flex-shrink:0}.quick-action-icon .icon{height:21px;width:21px}.quick-action>span:nth-child(2){display:flex;flex-direction:column;gap:5px;min-width:0}.quick-action strong{font-size:13px;font-weight:650;color:#8b60a2}.quick-action small{font-size:10px;color:#b294c4;line-height:1.6}.quick-action>.icon{margin-left:auto;width:15px;height:15px;color:#b598c8;flex-shrink:0}.quick-new-group{background:#fff;margin-top:17px}.quick-new-group .quick-action-icon{background:#eef5eb;color:#9bab89}
.modern-auth{background:radial-gradient(ellipse at 3% 40%,#ece0fa77,transparent 62%),#f9f7ff}.modern-auth .auth-header .brand{font-size:28px}.modern-auth .auth-card{background:#fffffff0;border-color:#fff;border-radius:27px;box-shadow:0 16px 55px #6e458c08;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.modern-auth .entry-login,.modern-auth .auth-submit{border-radius:13px;background:var(--purple);box-shadow:0 5px 14px #8052df14}.modern-auth .entry-login:hover,.modern-auth .auth-submit:hover{background:var(--purple-dark)}.modern-auth .social-button{border-radius:13px;background:#ffffffb3;border-color:#ece3f5}.modern-auth .auth-card .field input{border-radius:12px;background:#fcf9ff}.modern-auth .auth-back{color:#ac8cbe}.modern-auth .auth-card-heading h2{color:#3b244c}.modern-auth .auth-card-heading p{color:#a186b5}.modern-auth .signup-prompt{color:#b499c4}.modern-auth .signup-prompt>a{color:#9871b4}.modern-auth .card-kicker{color:#b69bc6}
@media(min-width:761px){.mobile-nav{display:none}.mobile-logo{display:none}.dashboard-main>.panel:first-child{min-height:260px}.group-toolbar>.button{margin-left:auto}}
@media(max-width:1100px) and (min-width:761px){:root{--sidebar:228px}.sidebar{left:14px;width:200px;padding:25px 13px 0}.sidebar .brand{font-size:26px;margin-left:6px}.topbar{padding:0 27px}main{padding:28px 27px}.stat-card{padding:20px;gap:12px}.stat-copy>strong{font-size:25px}.hero-content{padding:28px;width:70%}.hero-content h2{font-size:27px}.panel{padding:23px}.section-heading h2{font-size:17px}.dashboard-side{grid-template-columns:1fr 1fr}.page-footer{padding-left:27px;padding-right:27px}}
@media(max-width:760px){:root{--sidebar:0px}.sidebar{display:none}.main-shell{margin-left:0;padding-bottom:calc(122px + env(safe-area-inset-bottom))}.topbar{height:78px;min-height:78px;padding:0 23px;border-bottom:0;background:#f8f5febf}.breadcrumb{gap:0}.breadcrumb>.desktop-crumb,.breadcrumb>strong,.breadcrumb>.icon{display:none}.mobile-logo{display:inline;font-size:27px;margin:0;font-weight:800;letter-spacing:-1.4px}.topbar-right{gap:10px}.top-avatar .avatar{width:36px;height:36px;font-size:11px}.topbar-right .local-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;font-size:9px}.topbar-right .local-label.sync-attention{width:auto;height:auto;clip-path:none;white-space:normal;right:22px;top:70px;max-width:240px;padding:5px 10px;border:1px solid #eadef5;border-radius:20px;background:#fffffff0;box-shadow:0 3px 15px #7250940a;z-index:1;color:#a385b6}.account-button{font-size:10px!important;min-height:32px;padding:6px 10px!important;border-radius:10px!important}main{padding:20px 22px 25px;max-width:680px}.welcome-row{align-items:center;gap:12px;margin-bottom:25px}.welcome-row .eyebrow{display:none}.welcome-row h1{font-size:30px;line-height:1.2;letter-spacing:-1.3px;max-width:none}.welcome-row p{font-size:12px;line-height:1.6;margin-top:10px;max-width:none}.welcome-row>.button{font-size:0;min-height:35px;min-width:35px;padding:8px;margin:0;border-radius:11px;background:#ffffffaa;border-color:#ede2f5;color:#b194c6;box-shadow:none}.welcome-row>.button .icon{width:17px;height:17px}.trip-hero{min-height:190px;border-radius:21px;margin-bottom:19px}.hero-content{padding:21px 19px;width:78%}.trip-badge{font-size:7px;letter-spacing:1.2px;margin-bottom:12px}.hero-content h2{font-size:23px;line-height:1.3;letter-spacing:-.8px;max-width:240px}.trip-meta{margin-top:10px;font-size:9px;line-height:1.6;gap:7px;flex-direction:column;align-items:flex-start}.trip-meta .icon{height:12px;width:12px}.hero-bottom{margin-top:17px;gap:8px;max-width:280px}.hero-bottom>span{font-size:9px;max-width:110px;line-height:1.7}.hero-bottom .avatar{width:27px;height:27px;font-size:8px}.hero-edit{width:27px;height:27px;min-height:27px;min-width:27px;border-radius:8px;padding:4px}.hero-art{inset:0 0 0 auto;width:72%;min-width:0;transform:none;opacity:.95}.hero-art:after{background:linear-gradient(90deg,#ede5fa 3%,#ede5fa9e 35%,#ede5fa00 90%)}.hero-destination-image{object-position:90% 68%}.invite-button{min-height:27px;font-size:8px;padding:6px 8px;position:relative;z-index:2}.hero-generic-scene .scene-group-emoji{font-size:90px;right:5%;bottom:25px}.scene-circle{height:145px;width:145px;right:-5%;bottom:-20px}.scene-little-star{font-size:29px;right:38%;top:18%}.stats-grid{gap:12px;margin-bottom:11px}.stat-card{border-radius:20px;padding:17px 13px;min-height:104px;gap:10px;align-items:center}.stat-icon{display:grid;width:35px;height:38px;border-radius:12px}.stat-icon .icon{width:21px;height:21px}.stat-copy{gap:5px;flex:1}.stat-label{font-size:10px;line-height:1.55}.stat-copy>strong{font-size:22px;line-height:1.15;letter-spacing:-.7px}.stat-copy>small{font-size:8px;line-height:1.6}.stat-copy>.text-button{font-size:8px;line-height:1.6;display:block;padding:1px 0;white-space:normal}.stats-context{margin:0 2px 22px;gap:7px;font-size:10px;line-height:1.6}.stats-context .text-button{font-size:10px;min-height:27px}.stats-context .icon{width:12px}.group-toolbar{gap:13px;margin-bottom:20px;flex-wrap:wrap}.group-toolbar>.button{order:1;font-size:10px;min-height:34px;padding:8px 11px;margin-left:auto}.group-toolbar .tabs{order:2;width:100%;gap:4px;padding:4px;margin:0;border-radius:13px}.tabs button{font-size:10px;min-height:36px;padding:9px 12px;flex:1;line-height:1.4;border-radius:10px}.tabs button>span{font-size:8px}.panel{border-radius:23px;padding:23px 20px}.dashboard-grid,.dashboard-main,.dashboard-side{gap:20px}.dashboard-side{grid-template-columns:1fr}.section-heading{margin-bottom:21px;align-items:center;gap:8px}.section-heading h2{font-size:19px;letter-spacing:-.6px;line-height:1.3}.section-heading p{font-size:10px;line-height:1.7;margin-top:6px}.section-heading .text-button{font-size:10px;line-height:1.6;flex-shrink:0}.section-heading .small-button{font-size:9px;min-height:32px;padding:7px 9px}.expense-row{padding:17px 0;gap:11px;align-items:center}.expense-icon{width:39px;height:41px;border-radius:12px}.expense-icon .icon{width:21px;height:21px}.expense-description strong{font-size:12px;line-height:1.5}.expense-description small{font-size:10px;margin-top:5px;line-height:1.5}.expense-value{max-width:33%}.expense-value strong{font-size:14px;letter-spacing:-.4px;line-height:1.5}.expense-value small{font-size:8px;line-height:1.5;margin-top:4px}.expense-detail-button{height:37px;width:19px;min-width:19px;padding:0}.expense-detail-button .icon{width:12px;height:12px}.budget-numbers strong{font-size:29px}.budget-numbers>span{font-size:11px}.progress-labels{font-size:9px}.budget-remaining{font-size:11px}.budget-card .text-button{font-size:10px}.task-row label{font-size:12px;line-height:1.65}.task-row .avatar{width:28px;height:28px;font-size:9px}.poll-title h3{font-size:14px;line-height:1.5}.poll-title p{font-size:10px}.poll-option{font-size:11px;min-height:45px;line-height:1.6}.poll-footer,.vote-status{font-size:9px}.poll-card{padding:19px 17px;border-radius:16px}.group-card-cover{height:160px}.group-card-body{padding:24px}.group-card-body h2{font-size:21px}.group-card-body p{font-size:11px}.group-card-total strong{font-size:18px}.new-group-card{min-height:190px;border-radius:22px}.group-select{font-size:12px;max-width:180px;min-height:40px;margin-top:13px;padding:9px 11px}.budget-layout{gap:20px}.category-row{gap:10px}.category-row>strong{font-size:11px;width:100px}.category-row>div>span{font-size:11px}.payment-row{font-size:11px;line-height:1.7}.payment-row>strong{font-size:13px;margin-left:auto}.page-footer{font-size:8px;padding:13px 22px 20px;gap:15px;flex-wrap:wrap}#toast{bottom:calc(110px + env(safe-area-inset-bottom));left:50%;font-size:12px;padding:13px 18px;max-width:calc(100% - 38px)}.modal-overlay{padding:16px}.modal{padding:25px 23px;border-radius:26px;max-height:calc(100dvh - 32px)}.modal-heading h2{font-size:25px;line-height:1.3}.modal-heading{margin-bottom:24px}.field{font-size:12px;gap:8px;margin-bottom:18px}.field input,.field select,.field textarea{font-size:16px;min-height:46px;padding:12px 10px;border-radius:11px}.field>.muted{font-size:10px;line-height:1.8}.form-columns{gap:12px}.form-note{font-size:10px;line-height:1.9}.modal-actions{gap:9px}.modal-actions .button{font-size:11px;min-height:43px;padding:11px 14px}.participant{font-size:10px;padding:8px;gap:6px}.participant .avatar{height:22px;width:22px}.split-row{gap:10px}.split-row input{font-size:16px}.profile-panel{padding:25px 22px}.profile-detail h3{font-size:16px}.profile-detail p{font-size:10px;overflow-wrap:anywhere}.profile-detail .avatar{height:49px;width:49px;font-size:14px}.privacy-note h3{font-size:13px}.privacy-note p{font-size:11px}.account-banner{font-size:11px;padding:15px 16px;margin-bottom:20px;gap:11px}.shared-banner{font-size:9px;line-height:1.8}.shared-banner .text-button{font-size:9px}.account-banner .button{font-size:10px;min-height:35px}.invite-banner>div{width:100%}.invite-banner>.icon-button{position:static;margin-left:auto}.quick-action{min-height:78px;padding:14px 12px;gap:12px}.quick-action strong{font-size:13px}.quick-action small{font-size:10px}.quick-action-icon{width:41px;height:41px;border-radius:12px}.quick-add-context{font-size:12px}.modern-auth .auth-header .brand{font-size:26px}.modern-auth .auth-card{border-radius:25px;padding:28px 25px}.modern-auth main.auth-main{padding-bottom:26px}.modern-auth .auth-card-heading h2{font-size:27px}
.mobile-nav{position:fixed;left:max(15px,env(safe-area-inset-left));right:max(15px,env(safe-area-inset-right));bottom:calc(13px + env(safe-area-inset-bottom));height:73px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:0;padding:7px;border-radius:40px;background:linear-gradient(145deg,#ffffffed,#ffffffbd);border:1px solid #fffffff5;box-shadow:0 9px 35px #8061b01a,inset 0 1px 0 #fff;backdrop-filter:blur(20px) saturate(1.25);-webkit-backdrop-filter:blur(20px) saturate(1.25);z-index:50;isolation:isolate}.mobile-nav:before{content:"";position:absolute;inset:1px;border-radius:39px;border-top:1px solid #fff;pointer-events:none;z-index:-1}.mobile-nav .mobile-nav-item{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;height:57px;padding:7px 2px;border-radius:29px;font-size:9px;font-weight:500;line-height:1.25;color:#857092;transition:background .18s,color .18s,box-shadow .18s}.mobile-nav .mobile-nav-item .icon{width:22px;height:22px;stroke-width:1.8}.mobile-nav .mobile-nav-item.active{color:#8050d0;background:linear-gradient(145deg,#eae0fae8,#eee6fabe);box-shadow:inset 0 1px 0 #fff9;font-weight:650}.mobile-nav .mobile-nav-item.active .icon{stroke-width:2.1}.nav-add-slot{display:flex;align-items:center;justify-content:center;height:100%;position:relative}.mobile-nav .nav-add{display:flex;align-items:center;justify-content:center;padding:0;width:58px;height:58px;border-radius:50%;border:1px solid #9d7cef;background:linear-gradient(145deg,#a078f1 0%,#8753e6 44%,#7140d2 100%);color:white;transform:translateY(-12px);box-shadow:0 8px 23px #8e62d84d,inset 0 1px 2px #ffffffa1;position:relative;flex-shrink:0}.mobile-nav .nav-add:before{content:"";position:absolute;inset:2px;border-radius:50%;border-top:1px solid #ffffff59;pointer-events:none}.mobile-nav .nav-add .icon{width:28px;height:28px;stroke-width:1.8}.mobile-nav .nav-add:active{transform:translateY(-10px);background:linear-gradient(145deg,#9972e9,#7643d8)}.mobile-nav .nav-add:focus-visible{outline:3px solid #bca1f3;outline-offset:4px}
}
@media(max-width:370px){.topbar{padding:0 17px;height:74px;min-height:74px}.mobile-logo{font-size:25px}main{padding:17px 16px 24px}.welcome-row h1{font-size:27px}.welcome-row p{font-size:11px}.trip-hero{border-radius:20px}.hero-content{padding:20px 17px;width:85%}.hero-content h2{font-size:22px;max-width:225px}.hero-bottom>span{max-width:99px;font-size:8px}.hero-bottom{gap:6px}.stat-card{padding:15px 11px;gap:8px;min-height:101px}.stat-icon{height:30px;width:27px;border-radius:10px}.stat-icon .icon{height:18px;width:18px}.stat-label{font-size:9px}.stat-copy>strong{font-size:20px}.stat-copy>small,.stat-copy>.text-button{font-size:7px}.stats-context{font-size:9px}.stats-context .text-button{font-size:9px}.panel{padding:21px 17px}.section-heading h2{font-size:17px}.section-heading p{font-size:9px}.tabs button{font-size:9px;padding:9px 8px}.expense-row{gap:8px}.expense-icon{width:32px;height:36px;border-radius:10px}.expense-icon .icon{width:19px;height:19px}.expense-description strong{font-size:11px}.expense-description small{font-size:9px}.expense-value strong{font-size:12px}.expense-value small{font-size:7px}.expense-detail-button{min-width:16px;width:16px}.mobile-nav{left:12px;right:12px;height:70px;padding:6px}.mobile-nav .mobile-nav-item{font-size:8px;height:55px;gap:5px}.mobile-nav .mobile-nav-item .icon{width:21px;height:21px}.mobile-nav .nav-add{width:55px;height:55px}.modal{padding:23px 20px}.modal-heading h2{font-size:23px}.form-columns{gap:9px}.quick-action{padding:13px 11px;gap:10px}.quick-action-icon{width:36px;height:38px}.quick-action strong{font-size:12px}.quick-action small{font-size:9px}.quick-action>.icon{width:12px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.sidebar,.topbar,.mobile-nav,.modal,.modern-auth .auth-card{background:#fefcff}.modal-overlay{background:#39284355}}
@media(prefers-reduced-transparency:reduce){.sidebar,.topbar,.mobile-nav,.modal,.modern-auth .auth-card,#toast{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fefcff}.modal-overlay{backdrop-filter:none;-webkit-backdrop-filter:none;background:#39284355}.mobile-nav{box-shadow:0 5px 22px #8061b018}#toast{background:#493351;color:white}}
@media(prefers-reduced-motion:reduce){.mobile-nav button,.button,.quick-action{transition:none}.modal{animation:none}.mobile-nav .nav-add:active{transform:translateY(-12px)}}
/* Keep secondary copy readable on the pale surfaces. */
.welcome-row p,.stat-label,.section-heading p,.expense-description small,.expense-value small,.stat-copy>small,.stats-context,.quick-add-context{color:#8e7b9d}.stat-copy>.text-button,.section-heading .text-button,.stats-context .text-button{color:#8c6ba6}.trip-meta,.hero-bottom>span{color:#8c70a0}.quick-action strong{color:#805a98}.quick-action small{color:#9a80ad}.modal-heading h2{color:#74508a}.field{color:#8b68a0}.field>.muted,.form-note,.privacy-note p,.modern-auth .auth-card-heading p{color:#9b80ac}.section-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.expense-add-inline{display:none}.modern-auth .auth-card .field input::placeholder{color:#a98fba}
@media(max-width:760px){.topbar{height:72px;min-height:72px}main{padding-top:16px}.welcome-row{margin-bottom:22px}.trip-hero{min-height:174px}.trip-meta{flex-direction:row;flex-wrap:wrap;gap:7px 11px}.stat-card{min-height:96px;padding-top:15px;padding-bottom:15px}.group-toolbar>.button{display:none}.group-toolbar{margin-bottom:18px}.expenses-panel .section-heading p{display:none}.expenses-panel .section-heading{margin-bottom:16px}.expense-add-inline{display:inline-flex;min-width:29px;min-height:32px;width:29px;height:32px;color:#a788bf}.expense-add-inline .icon{width:17px;height:17px}.section-actions{gap:7px}.section-heading .section-actions .text-button{font-size:9px}.stats-context{margin-bottom:20px}}
.hero-content h2,.welcome-row h1,.group-card-body h2,.profile-detail h3,.profile-detail p{overflow-wrap:anywhere}.profile-detail>div{min-width:0}.trip-meta>span{min-width:0;max-width:100%;overflow-wrap:anywhere}.budget-numbers{flex-wrap:wrap}.budget-numbers strong{overflow-wrap:anywhere;min-width:0}

/* Compatibility with older cached interface bundles. */
.shared-banner,.local-label,[data-action="refresh-shared"]{display:none!important}

/* One logo assembles full-screen, then travels into the header. */
.modern-auth .auth-header .split-word{font-size:inherit;letter-spacing:inherit;font-weight:800;line-height:1.2;perspective:none}
.modern-auth.is-landing .auth-story h1{font-size:clamp(36px,4.5vw,60px);letter-spacing:-2px;max-width:590px}
.brand-intro-curtain{position:fixed;inset:0;z-index:210;background:radial-gradient(ellipse at 50% 42%,#eee6fa 0%,#f8f4fc 48%,#faf8fd 100%);pointer-events:auto}
.brand-intro-active .auth-header{position:relative;z-index:211}
.brand-intro-active .auth-header .brand{transform-origin:0 0}
.brand-intro-active .auth-main,.brand-intro-active .auth-footer,.brand-intro-active .header-note{visibility:hidden}
.brand-intro-active .word-left{animation:word-left-in 1.35s cubic-bezier(.16,1,.3,1) both}
.brand-intro-active .word-right{animation:word-right-in 1.35s cubic-bezier(.16,1,.3,1) both}
.brand-intro-active .word-z{animation:z-rise 1.55s cubic-bezier(.22,1,.36,1) both}
@media(max-width:760px){.modern-auth.is-landing .auth-story h1{font-size:36px;letter-spacing:-1.5px;max-width:340px}}
@media(prefers-reduced-motion:reduce){.brand-intro-active .word-left,.brand-intro-active .word-right,.brand-intro-active .word-z{animation:none}}

/* Summary amounts adapt to card width without splitting currency codes. */
.stat-copy{flex:1;container-type:inline-size}
.stat-copy>strong.stat-amount{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px .22em;overflow-wrap:normal;word-break:normal;font-size:clamp(14px,18cqi,28px)}
.stat-amount>span{white-space:nowrap}
.stat-amount .stat-currency{font-size:.68em;letter-spacing:0;font-weight:650}
.balance-stat.is-credit .stat-amount,.balance-stat.is-credit .stat-icon{color:#397f65}
.balance-stat.is-credit .stat-icon{background:#eef8f0}
.balance-stat.is-credit .stat-icon .icon{transform:rotate(-90deg)}
.balance-stat.is-owed .stat-amount,.balance-stat.is-owed .stat-icon{color:#c13d51}
.balance-stat.is-owed .stat-icon{background:#fcecf0}
.balance-stat.is-owed .stat-icon .icon{transform:rotate(90deg)}
.balance-stat.is-settled .stat-amount,.balance-stat.is-settled .stat-icon{color:#78668d}
.balance-stat.is-settled .stat-icon{background:#f2edf7}
.balance-stat.is-settled .stat-icon .icon{transform:none}
@media(max-width:760px){.stat-copy>strong.stat-amount{font-size:clamp(14px,18cqi,22px)}}
.stat-amount .stat-number{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}

.receipt-tools{background:#f8f5fc;border:1px solid #e9e0f4;padding:15px;border-radius:16px;margin:12px 0 20px}
.receipt-tools[hidden],.receipt-reader-actions [hidden]{display:none!important}
.receipt-tools>p,.receipt-read-status,.receipt-ocr-text{font-size:11px;line-height:1.65;color:#79648d}
.receipt-reader-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}
.receipt-read-status:empty{display:none}.receipt-read-status{margin-top:12px}
.receipt-detected-fields{display:grid;gap:12px;margin:14px 0}
.receipt-detected-field{min-width:0}.receipt-detected-field .participant{border:0;background:none;padding:0;margin-bottom:7px;justify-content:flex-start}
.receipt-detected-value{width:100%;max-width:100%;min-width:0;min-height:44px;background:white;border:1px solid #ded3eb;border-radius:10px;padding:10px;font:inherit;font-size:16px;color:#392447}
.receipt-detected-value:disabled{opacity:.6}.receipt-currency-warning{color:#965526}
.receipt-ocr-text{margin-top:13px}.receipt-ocr-text summary{cursor:pointer}.receipt-ocr-text pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;margin-top:9px;font-size:11px}

.receipt-crop-editor[hidden]{display:none!important}
.receipt-crop-editor{margin-top:14px;padding-top:14px;border-top:1px solid #e5daef}
.receipt-crop-editor>p{font-size:11px;line-height:1.6;color:#79648d;margin-bottom:10px}
.receipt-crop-editor canvas{display:block;max-width:100%;max-height:360px;width:auto;height:auto;margin:0 auto;border-radius:8px;touch-action:none;cursor:crosshair;background:#ece5f4}
.receipt-crop-editor canvas:focus-visible{outline:3px solid #8052df;outline-offset:3px}

.receipt-amount-status:empty{display:none}
.receipt-amount-status{margin:-4px 0 16px;color:#765198}
.receipt-detected-review{margin-top:12px;font-size:11px;color:#79648d}
.receipt-detected-review summary{cursor:pointer;line-height:1.6}
