:root{--ink:#253c34;--muted:#829087;--green:#1c6653;--green-dark:#174e41;--line:#e4e9e1;--page:#f6f7f2;--white:#fff;--sage:#edf3eb;--red:#b9413c;font-family:Inter,"PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--page);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{cursor:not-allowed}a{color:inherit;text-decoration:none}button{color:inherit}svg{display:block;width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7fb7a1;outline-offset:4px}button,input,select{transition:border-color .18s,background .18s,box-shadow .18s}button{border:0}button:hover{filter:brightness(.98)}[hidden]{display:none!important}.skip-link{position:fixed;top:-80px;left:20px;background:var(--green);color:#fff;padding:12px;z-index:20}.skip-link:focus{top:10px}.sidebar{width:224px;padding:38px 24px 22px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:4}.brand{display:flex;gap:12px;align-items:center;font-size:23px;font-weight:750;letter-spacing:1px;white-space:nowrap}.brand-mark{display:grid;grid-template-columns:12px 12px;gap:3px;width:28px;flex-shrink:0;transform:rotate(-8deg)}.brand-mark i{height:12px;background:var(--green);border-radius:4px}.brand-mark i:nth-child(2){background:#a9bda1}.brand-mark i:nth-child(3){background:#dbb78e}.brand-en{font-size:7px;letter-spacing:.9px;color:#89998d;display:block;margin-top:6px}.workspace-label{font-size:10px;letter-spacing:1.5px;color:#98a297;margin:57px 12px 17px}.nav-item{width:100%;display:flex;align-items:center;gap:11px;border-radius:10px;padding:14px 13px;background:transparent;text-align:left;font-size:13px;color:#7d8c81;margin-bottom:8px}.nav-item svg{width:18px;height:18px}.nav-item.active{background:#eaf2e9;color:var(--green);font-weight:650}.nav-arrow{font-size:17px;margin-left:auto}.nav-lock{margin-left:auto;opacity:.7}.nav-lock svg{width:14px;height:14px}.nav-indicator{display:flex;align-items:center;justify-content:center;width:16px;height:16px;flex-shrink:0;margin-left:auto;opacity:1}.nav-indicator svg{width:16px;height:16px}.sidebar-note{margin-top:auto;padding:25px 15px 32px;border-radius:12px;background:#f5f6ef;position:relative;overflow:hidden}.tiny-flower{font-size:35px;line-height:1;color:#a5b18e;display:block;margin-bottom:22px}.sidebar-note strong{font-size:13px;letter-spacing:.5px}.sidebar-note p{font-size:12px;line-height:1.9;color:#83907c;margin:11px 0 21px}.note-line{height:1px;width:30px;background:#ccd4c3;margin-bottom:15px}.sidebar-note>span:last-child{font-size:10px;letter-spacing:.3px;color:#9da58f}.sidebar-bottom{margin-top:24px;display:flex;align-items:center;gap:6px;color:#99a397;font-size:9px}.status-dot{width:5px;height:5px;border-radius:50%;background:#95ae80}.version-label{margin-left:auto;font-size:8px}.app-shell{margin-left:224px;padding-bottom:100px}.topbar{height:85px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 48px;background:#f8f9f5}.breadcrumb{font-size:11px;color:#8a958c;display:flex;gap:16px;align-items:center}.breadcrumb strong{color:#596e61;font-weight:500}.breadcrumb>span{color:#c2cabf}.topbar-actions{display:flex;align-items:center;gap:20px}.save-status{font-size:10px;color:#92a08e}.save-status[data-status="error"]{color:var(--red)}.save-status[data-status="saving"]{color:#a77b37}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:12px 18px;font-weight:600;font-size:12px;white-space:nowrap;min-height:41px}.button-small{padding:10px 15px;min-height:36px;font-size:11px}.button svg{width:14px;height:14px}.button-outline{border:1px solid #cad7c8;background:transparent;color:#456452}.button-primary{background:var(--green);color:#fff;border:1px solid var(--green)}.button-primary:hover{background:var(--green-dark)}main{max-width:1300px;margin:auto;padding:0 48px;outline:none}.hero{display:flex;align-items:center;justify-content:space-between;padding:48px 0 34px;gap:30px}.eyebrow{color:#779580;font-size:8px;font-weight:650;letter-spacing:1.8px;display:flex;gap:8px;align-items:center}.eyebrow>span{background:#82a778;width:5px;height:5px;display:inline-block;border-radius:50%}h1{font-size:41px;line-height:1.25;letter-spacing:-1.5px;margin:20px 0 17px;font-weight:650}h1>span{color:#62846a}.hero-copy>p{font-size:12px;color:#8b978b;line-height:1.8;margin:0}.hero-tags{display:flex;gap:15px;margin-top:24px;align-items:center;color:#758671;font-size:10px}.hero-tags>span{display:flex;align-items:center;gap:5px}.hero-tags b{font-weight:600}.hero-tags svg{width:13px;height:13px;color:#89a081}.hero-tags .demo-tag{color:#9c9d84;border:1px solid #e2e4d7;border-radius:4px;font-size:8px;padding:3px 5px;margin-left:0}.hero-total{width:293px;min-width:255px;align-self:center;padding:24px 25px 21px;background:#e9f0e2;border:1px solid #e0e8d7;border-radius:15px;position:relative;overflow:hidden}.hero-total-top{display:flex;align-items:center;justify-content:space-between;color:#6c8567;font-size:10px;position:relative;z-index:1}.bill-stamp{color:#8ba77b}.bill-stamp svg{width:24px;height:24px}.hero-amount{display:flex;align-items:baseline;gap:8px;margin:21px 0 22px;position:relative;z-index:1;font-feature-settings:"tnum"}.hero-amount>span{font-size:24px;font-weight:450;color:#54774e}.hero-amount strong{font-size:46px;line-height:1;letter-spacing:-2px;font-weight:600;color:#2e563b}.hero-total-bottom{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:.3px;color:#93a18b;position:relative;z-index:1}.little-check{display:flex;align-items:center;gap:4px;color:#6c8d60}.little-check svg{width:11px;height:11px}.total-decoration{width:145px;height:145px;border:29px solid #dde7d3;border-radius:50%;position:absolute;right:-65px;bottom:-66px}.guest-banner{border:1px solid #e5e9de;border-radius:9px;background:#f0f3e9;display:flex;align-items:center;padding:13px 17px;gap:12px;margin:2px 0 33px}.banner-icon{color:#809674}.banner-icon svg{width:16px;height:16px}.guest-banner>div:nth-child(2){display:flex;gap:13px;align-items:center;flex:1;font-size:10px;color:#8c9981}.guest-banner strong{color:#607b54;font-weight:600;font-size:10px}.text-button{font-size:10px;background:none;padding:4px 0;font-weight:600;color:#5d7f4d;white-space:nowrap}.text-button>span{margin-left:9px;font-size:14px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-heading>div{display:flex;align-items:center;gap:10px}.section-number{font-size:9px;font-family:monospace;color:#9ba58f;border:1px solid #dfe5d7;border-radius:4px;padding:3px 4px;line-height:1}h2{font-size:17px;letter-spacing:-.2px;font-weight:600;margin:0}.section-hint{font-size:9px;color:#9da897;display:flex;gap:8px;align-items:center}.section-hint>span{font-size:15px}.people-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.person-card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:21px 20px 17px;transition:box-shadow .2s,transform .2s;min-width:0}.person-card:hover{box-shadow:0 7px 18px #283d3210;transform:translateY(-2px)}.person-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.avatar{width:38px;height:38px;border-radius:12px;background:#e8f0e4;color:#5c8061;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;flex-shrink:0}.color-purple{--tone:#7a6694;--tint:#eee9f5;--dot:#c3b3d8}.color-amber{--tone:#a77c47;--tint:#f7eddf;--dot:#dbc395}.color-blue{--tone:#5c8298;--tint:#e7eff3;--dot:#b0c9d7}.color-green{--tone:#5b8163;--tint:#e9f0e5;--dot:#b6cda9}.person-card .avatar,.detail-avatar,.admin-member-avatar{color:var(--tone,#5b8163);background:var(--tint,#e9f0e5)}.person-index{font:9px monospace;color:#b6c0b1}.person-name{background:none;padding:0;display:inline-flex;gap:8px;align-items:center;font-size:13px;font-weight:650}.person-name svg{width:11px;height:11px;opacity:.4}.person-note{color:#9ca897;font-size:9px;min-height:12px;margin:6px 0 18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-amount-label{font-size:9px;color:#a5ad9d;margin-bottom:6px}.person-amount{font-size:26px;font-weight:600;letter-spacing:-.8px;font-feature-settings:"tnum"}.person-amount>span{font-size:13px;font-weight:450;margin-right:4px;color:#71826c}.person-divider{height:1px;background:#eff1ec;margin:17px 0 13px}.person-chips{display:flex;flex-wrap:wrap;gap:5px;min-height:17px}.person-chip{font-size:8px;background:#f3f5ef;color:#89967f;border-radius:3px;padding:4px 6px;line-height:1}.person-chip.absent{background:transparent;color:#b5bcae;text-decoration:line-through;border:1px solid #edf0e8;padding:3px 5px}.expenses-section{margin-top:35px}.expense-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.expense-card{border:1px solid var(--line);background:white;border-radius:12px;padding:21px 20px 18px;min-width:0}.expense-top{display:flex;align-items:center;gap:10px;margin-bottom:24px}.expense-icon{width:35px;height:35px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#eef1e7;color:#849768}.expense-icon svg{width:19px;height:19px}.expense-card[data-kind="drink"] .expense-icon{background:#f0ecf5;color:#9a87b1}.expense-card[data-kind="parking"] .expense-icon{background:#faf0e4;color:#bd9967}.expense-title{font-size:12px;font-weight:600;margin:0}.expense-subtitle{font-size:8px;color:#a0aa99;margin:5px 0 0}.expense-menu{font-size:12px;color:#b5bdaf;margin-left:auto;letter-spacing:2px}.field-caption{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#9ba695;margin-bottom:7px}.currency-hint{font-size:7px;color:#b0b7aa;letter-spacing:.6px}.amount-control{border:1px solid #e0e7d9;border-radius:7px;background:#fafbf7;display:flex;align-items:center;height:46px;gap:7px;padding:0 12px}.amount-control:focus-within{border-color:#8fae7a;box-shadow:0 0 0 3px #e6efe0}.amount-control>span{font-size:15px;color:#809374}.amount-input{border:0;background:transparent;outline:none!important;box-shadow:none!important;color:#415d3a;min-width:0;width:100%;font-size:21px;font-weight:500;letter-spacing:-.5px;font-feature-settings:"tnum";padding:8px 0}.amount-input:disabled{color:#415d3a;opacity:1;-webkit-text-fill-color:#415d3a}.amount-control.invalid{border-color:#d98c80;background:#fff6f3}.field-error{color:var(--red);font-size:9px;line-height:1.6;margin:5px 0 0;min-height:0}.participants-caption{font-size:9px;color:#96a18f;display:flex;align-items:center;justify-content:space-between;margin:21px 0 11px}.participants-count{font-size:8px;color:#a0ad93}.participant-chips{display:flex;gap:6px;flex-wrap:wrap;min-height:55px;align-content:flex-start}.participant-chip{position:relative;display:inline-flex;align-items:center;gap:5px;padding:6px 7px;border:1px solid #e8ece1;background:#fff;border-radius:5px;font-size:9px;color:#a7afa0;cursor:pointer;min-height:28px}.participant-chip:has(input:checked){background:#eff4e9;border-color:#dce6d2;color:#668456}.participant-chip:has(input:disabled){cursor:default}.participant-chip input{position:absolute;opacity:0;width:1px;height:1px;margin:0}.participant-chip:has(input:focus-visible){outline:3px solid #7fb7a1;outline-offset:2px}.checkbox-box{width:11px;height:11px;border:1px solid #d8dfd0;border-radius:3px;display:flex;align-items:center;justify-content:center;background:#fff}.checkbox-box svg{width:9px;height:9px;opacity:0;stroke-width:2.4;color:#fff}.participant-chip:has(input:checked) .checkbox-box{background:#6c9460;border-color:#6c9460}.participant-chip:has(input:checked) .checkbox-box svg{opacity:1}.expense-allocation{border-top:1px dashed #e6ebde;padding-top:12px;margin-top:10px;display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:28px;color:#9aa78e;font-size:8px}.expense-allocation strong{font-size:10px;font-weight:500;color:#6e855c;font-feature-settings:"tnum"}.expense-allocation .has-remainder{color:#a47c4a}.rounding-note{display:flex;align-items:flex-start;gap:13px;border:1px solid #e5e9dc;border-radius:10px;padding:19px 20px;margin-top:25px;background:#f1f4eb;position:relative}.rounding-icon{color:#92a280;padding-top:2px}.rounding-icon svg{width:18px;height:18px}.rounding-note h3{font-size:10px;font-weight:600;margin:0 0 7px;color:#6a7f59}.rounding-note p{font-size:9px;color:#9aa58c;line-height:1.9;margin:0;max-width:620px}.rounding-note .remainder-detail{color:#829575;margin-top:5px}.rounding-badge{font:10px monospace;color:#a4ae96;background:#e6ebdc;border:1px solid #dce4d1;border-radius:6px;padding:7px 10px;margin-left:auto;white-space:nowrap}.content-footer{display:flex;justify-content:space-between;gap:15px;font-size:8px;color:#a9b19e;padding:25px 0 10px}.balance-bar{position:fixed;bottom:0;right:0;left:224px;min-height:86px;z-index:5;background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid #dfe7d9;display:flex;align-items:center;padding:16px 48px;gap:24px}.balance-amount>span{font-size:9px;color:#8c9b82;display:block;margin-bottom:6px}.balance-amount>strong{font-size:22px;letter-spacing:-.4px;font-weight:600;color:#365c43;font-feature-settings:"tnum"}.balance-equals{font-size:21px;color:#c1ccba;margin:10px 1px 0}.balance-result{margin-left:18px;border-left:1px solid #e4eadf;padding-left:30px;display:flex;align-items:center;gap:10px}.balance-check{height:28px;width:28px;background:#e8f3e4;color:#649457;border-radius:50%;display:flex;justify-content:center;align-items:center}.balance-check svg{width:14px;height:14px;stroke-width:2}.balance-result strong{font-size:10px;color:#608451;display:block;margin-bottom:5px;font-weight:600}.balance-result>div>span{font-size:9px;color:#99a78e}.balance-result.unbalanced strong,.balance-result.unbalanced>div>span{color:var(--red)}.balance-result.unbalanced .balance-check{color:var(--red);background:#f9e7e4}.balance-live{font-size:9px;color:#a2af98;display:flex;align-items:center;gap:6px;margin-left:auto}.balance-live i{width:5px;height:5px;background:#9bb78d;border-radius:50%}.modal{border:1px solid #e1e8db;border-radius:18px;padding:34px;box-shadow:0 25px 100px #1e3c3033;color:var(--ink);width:min(430px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;background:#fff}.modal::backdrop{background:#223e3266;backdrop-filter:blur(4px)}.icon-button{display:flex;justify-content:center;align-items:center;background:transparent;width:30px;height:30px;border-radius:6px;color:#83927e}.icon-button svg{width:17px;height:17px}.modal-close{position:absolute;right:16px;top:16px}.dialog-brand{width:43px;height:43px;border-radius:12px;background:#eaf2e6;color:#618456;display:flex;align-items:center;justify-content:center;margin:6px 0 24px}.dialog-brand svg{width:21px;height:21px}.modal .eyebrow{font-size:8px}.modal h2{font-size:23px;margin:13px 0 10px;letter-spacing:-.7px}.dialog-description{font-size:11px;color:#97a38f;line-height:1.9;margin-bottom:26px}.modal form{display:flex;flex-direction:column;gap:17px}.modal label,.admin-add-form label{font-size:10px;color:#839077;display:flex;flex-direction:column;gap:8px}input:not(.amount-input):not([type="checkbox"]),select{background:#f9fbf6;border:1px solid #e0e7d8;border-radius:7px;padding:12px 13px;color:#405f38;min-width:0;font-size:12px}input::placeholder{font-size:10px;color:#adb7a3}.login-submit{justify-content:space-between;margin-top:7px;padding:13px 16px}.login-footnote{display:flex;justify-content:center;align-items:center;gap:6px;font-size:9px;color:#a3ad99;margin:24px 0 0}.login-footnote svg{width:12px;height:12px}.form-error{font-size:10px;line-height:1.7;color:var(--red);background:#fff0ed;padding:9px;border-radius:5px}.detail-avatar{width:50px;height:50px;border-radius:15px;font-size:20px;margin-bottom:18px}.detail-caption{font-size:9px;color:#98a58d;margin-top:25px}.detail-total{font-size:40px;font-weight:600;letter-spacing:-1px;margin:8px 0 25px}.detail-total span{font-size:21px;color:#88a077;margin-right:5px}.detail-list{border-top:1px solid #e6ecdf}.detail-row{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #edf1e7}.detail-row>div:nth-child(2){flex:1}.detail-row-title{font-size:12px;font-weight:550}.detail-row-note{font-size:9px;color:#99a78e;margin-top:6px;line-height:1.6}.detail-row-amount{font-size:15px;font-weight:600;white-space:nowrap}.detail-row.absent{opacity:.55}.remainder-pill{font-size:8px;background:#f8eeda;color:#b18d4a;padding:3px 5px;border-radius:3px;margin-left:5px;white-space:nowrap}.detail-note{margin:19px 0 0;font-size:10px;line-height:1.9;color:#9aa68f}.alert{padding:13px 16px;border-radius:8px;font-size:11px;line-height:1.8;margin:15px 0}.alert-error{color:#a75147;background:#fff0e9;border:1px solid #f0d5c9}.toast{position:fixed;bottom:106px;left:calc(50% + 112px);transform:translateX(-50%);background:#244b3c;color:#fff;box-shadow:0 6px 30px #19382e30;padding:12px 20px;font-size:11px;border-radius:8px;z-index:20;max-width:calc(100vw - 30px)}.admin-hero{padding:45px 0 26px}.admin-hero h1{font-size:33px}.admin-hero p{font-size:12px;line-height:1.8;color:#8b9980}.admin-section{margin-top:22px;padding-bottom:23px}.admin-list{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.admin-row{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #edf1e7}.admin-row:last-child{border-bottom:0}.admin-member-avatar{width:34px;height:34px;border-radius:9px;font-size:13px}.admin-row-info{flex:1}.admin-row-info strong{font-size:12px;font-weight:550}.admin-row-info p{font-size:10px;color:#a0ac94;margin:5px 0 0}.admin-delete{padding:7px 10px;border-radius:5px;font-size:10px;color:#ba7866;background:#fbf1ec}.admin-delete:disabled{color:#c5c9c0;background:#f5f6f1}.admin-add-form{display:grid;grid-template-columns:1fr 1.3fr .7fr auto;gap:12px;align-items:end;padding:20px;background:#eef3e8;border:1px solid #e1e8d8;border-radius:10px;margin-top:13px}.admin-add-form input,.admin-add-form select{width:100%}.admin-add-form .button{height:41px}.admin-form-note{font-size:10px;color:#9ca98f;line-height:1.8;margin:14px 0}.admin-role{font-size:9px;padding:5px 8px;background:#edf3e7;color:#7e9868;border-radius:4px}.skeleton-text{color:#a4b09a}
@media(min-width:1500px){.sidebar{width:240px;padding-left:30px;padding-right:30px}.app-shell{margin-left:240px}.balance-bar{left:240px;padding-left:max(48px,calc((100vw - 240px - 1204px)/2))}main{padding:0 60px}.hero{padding-top:54px}.hero h1{font-size:47px}.hero-total{width:325px}.hero-amount strong{font-size:51px}.people-grid{gap:20px}.person-card{padding:24px}.expense-card{padding:24px}.toast{left:calc(50% + 120px)}}
@media(max-width:1190px){.sidebar{width:190px;padding-left:18px;padding-right:18px}.brand{font-size:21px;gap:9px}.brand-en{font-size:6px}.app-shell{margin-left:190px}.topbar{padding:0 30px}main{padding:0 30px}.balance-bar{left:190px;padding:16px 30px;gap:17px}.balance-result{padding-left:20px;margin-left:6px}.hero h1{font-size:37px}.hero-total{width:260px;min-width:240px}.hero-amount strong{font-size:42px}.people-grid{gap:11px}.person-card{padding:18px 15px 15px}.expense-grid{gap:12px}.expense-card{padding:18px 15px 15px}.person-amount{font-size:24px}.participant-chips{gap:5px}.participant-chip{padding:6px}.guest-banner>div:nth-child(2){gap:9px}.rounding-badge{display:none}.content-footer{font-size:7px}.toast{left:calc(50% + 95px)}.admin-add-form{grid-template-columns:1fr 1fr}.balance-live{display:none}}
@media(max-width:980px){.sidebar{width:164px;padding-left:13px;padding-right:13px}.brand{font-size:19px}.brand-mark{grid-template-columns:10px 10px;width:23px;gap:3px}.brand-mark i{height:10px}.brand-en{font-size:5.4px;letter-spacing:.5px}.nav-item{font-size:12px;gap:8px;padding:12px 10px}.workspace-label{font-size:9px;margin-left:10px}.sidebar-note{padding:23px 12px}.sidebar-note strong{font-size:12px}.app-shell{margin-left:164px}.balance-bar{left:164px;padding:15px 25px}.topbar{padding:0 25px}main{padding:0 25px}.hero h1{font-size:33px}.hero-total{min-width:215px;width:225px;padding:23px 20px}.hero-amount strong{font-size:37px}.hero-amount{gap:5px}.hero-amount>span{font-size:21px}.hero-copy>p{font-size:10px}.hero-tags{gap:10px;font-size:9px}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.person-card{padding:18px 20px}.person-top{margin-bottom:10px}.person-note{margin-bottom:12px}.person-amount{font-size:29px}.person-chips{min-height:16px}.expense-grid{grid-template-columns:1fr}.expense-card{display:grid;grid-template-columns:1fr 1.1fr;gap:0 24px;padding:21px}.expense-top{grid-column:1;grid-row:1;margin-bottom:20px}.expense-amount-group{grid-column:1;grid-row:2 / 4}.expense-participants-group{grid-column:2;grid-row:1 / 4}.participants-caption{margin-top:3px;margin-bottom:14px}.participant-chips{min-height:64px;gap:7px}.participant-chip{font-size:10px;padding:7px 9px}.expense-allocation{grid-column:2;margin:0;padding-top:10px;align-self:end}.hero{gap:20px}.guest-banner>div:nth-child(2){display:block}.guest-banner strong{display:block;margin-bottom:5px}.guest-banner span{font-size:9px}.section-hint{font-size:8px}.section-heading h2{font-size:16px}.balance-amount>strong{font-size:20px}.balance-result{padding-left:17px}.content-footer{flex-direction:column;gap:8px}.toast{left:calc(50% + 82px)}}
@media(max-width:720px){.sidebar{position:static;width:auto;padding:20px 22px 0;background:var(--page);border:0}.brand{font-size:22px;gap:10px}.brand-mark{grid-template-columns:11px 11px}.brand-mark i{height:11px}.brand-en{font-size:6px;letter-spacing:.8px}.sidebar .workspace-label,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-top:22px;border-bottom:1px solid var(--line);gap:25px}.nav-item{border-radius:0;width:auto;padding:0 0 13px;margin:0;font-size:11px;color:#95a08c;gap:6px}.nav-item.active{background:transparent;border-bottom:2px solid #5f8058}.nav-item svg{width:14px;height:14px}.nav-arrow,.nav-lock{display:none}.app-shell{margin-left:0;padding-bottom:112px}.topbar{height:62px;border:0;padding:0 22px;background:transparent}.breadcrumb{font-size:9px;gap:10px}.topbar-actions{gap:12px}.save-status{font-size:8px}.button-small{font-size:9px;min-height:31px;padding:8px 10px}.button-small svg{width:12px;height:12px}main{padding:0 22px}.hero{padding:23px 0 27px;align-items:flex-start;gap:17px}.eyebrow{font-size:6px;letter-spacing:1.05px;gap:5px}.hero h1{font-size:30px;margin:16px 0 12px;letter-spacing:-1px}.hero-copy>p{font-size:9px;line-height:1.9;max-width:180px}.hero-tags{gap:9px;flex-wrap:wrap;margin-top:20px;font-size:8px}.hero-tags svg{width:11px;height:11px}.hero-tags .demo-tag{font-size:7px;padding:2px 4px;margin-left:0}.hero-total{width:174px;min-width:153px;padding:19px 14px 17px;margin-top:28px;border-radius:12px}.hero-total-top{font-size:8px}.bill-stamp svg{width:19px;height:19px}.hero-amount{margin:22px 0 21px;gap:4px}.hero-amount strong{font-size:30px;letter-spacing:-1px}.hero-amount>span{font-size:17px}.hero-total-bottom{font-size:7px;letter-spacing:0;gap:3px}.little-check{font-size:6px;gap:2px}.little-check svg{width:9px;height:9px}.guest-banner{padding:12px 13px;gap:9px;margin:0 0 29px}.guest-banner strong{font-size:9px}.guest-banner span{font-size:8px;line-height:1.7}.banner-icon svg{width:14px;height:14px}.text-button{font-size:9px}.text-button>span{margin-left:4px}.section-heading{margin-bottom:15px;gap:8px}.section-heading>div{gap:7px}.section-heading h2{font-size:14px}.section-number{font-size:8px}.section-hint{font-size:7px;gap:4px}.section-hint>span{font-size:12px}.people-grid{gap:11px}.person-card{padding:17px 16px 14px}.avatar{width:34px;height:34px;border-radius:10px;font-size:14px}.person-top{margin-bottom:11px}.person-name{font-size:12px}.person-note{font-size:8px;margin-top:6px;margin-bottom:15px}.person-amount-label{font-size:8px}.person-amount{font-size:27px}.person-amount>span{font-size:13px}.person-divider{margin:15px 0 12px}.person-chip{font-size:7px;padding:4px 5px}.person-chip.absent{padding:3px 4px}.expenses-section{margin-top:30px}.expense-card{padding:18px 16px;gap:0 18px}.expense-icon{width:32px;height:32px}.expense-top{gap:8px;margin-bottom:17px}.expense-title{font-size:11px}.expense-subtitle{font-size:7px}.expense-menu{display:none}.field-caption{font-size:8px}.amount-control{height:43px;padding:0 10px}.amount-input{font-size:21px}.participants-caption{font-size:8px;gap:7px}.participants-count{font-size:7px}.participant-chips{gap:6px;min-height:71px}.participant-chip{font-size:8px;padding:6px;min-height:27px}.checkbox-box{width:10px;height:10px}.expense-allocation{font-size:7px;gap:3px}.expense-allocation strong{font-size:9px}.rounding-note{padding:16px 14px;margin-top:20px;gap:10px}.rounding-note h3{font-size:9px}.rounding-note p{font-size:8px}.rounding-icon svg{width:16px;height:16px}.content-footer{padding-top:20px;gap:7px;font-size:7px}.balance-bar{left:0;min-height:89px;padding:15px 22px;gap:12px;flex-wrap:nowrap}.balance-amount>span{font-size:8px;margin-bottom:7px}.balance-amount>strong{font-size:19px}.balance-equals{font-size:16px;margin-left:0;margin-right:0}.balance-result{margin-left:auto;padding-left:14px;gap:7px}.balance-check{height:22px;width:22px}.balance-check svg{width:11px;height:11px}.balance-result strong{font-size:9px;margin-bottom:5px}.balance-result>div>span{font-size:8px}.toast{bottom:106px;left:50%;font-size:10px}.admin-hero{padding-top:25px}.admin-hero h1{font-size:26px}.admin-hero p{font-size:10px}.admin-add-form{padding:15px;gap:12px}.admin-add-form label{font-size:9px}.admin-add-form input,.admin-add-form select{padding:11px 10px;font-size:11px}.admin-add-form input::placeholder{font-size:9px}.admin-row{padding:14px;gap:10px}.admin-role{font-size:8px}.admin-row-info p{font-size:9px}.admin-section .section-heading{align-items:flex-start}.admin-section .section-hint{max-width:130px;line-height:1.7;text-align:right}.admin-delete{font-size:9px}.modal{padding:29px}.modal h2{font-size:22px}}
@media(max-width:375px){.sidebar{padding-left:16px;padding-right:16px}.topbar{padding-left:16px;padding-right:16px}main{padding-left:16px;padding-right:16px}.hero{gap:10px}.hero h1{font-size:28px}.hero-total{min-width:140px;width:140px;padding:18px 11px}.hero-amount strong{font-size:27px}.hero-total-bottom{font-size:6px}.hero-copy>p{max-width:160px}.hero-tags{gap:6px;font-size:7px}.hero-tags .demo-tag{font-size:6px}.hero .eyebrow{font-size:5px}.section-hint{font-size:6px}.person-card{padding:15px 13px}.person-amount{font-size:25px}.expense-card{gap:0 12px;padding:17px 13px}.participant-chip{padding:5px}.balance-bar{padding-left:16px;padding-right:16px;gap:9px}.balance-amount>strong{font-size:18px}.balance-result{padding-left:10px;gap:5px}.balance-result strong{font-size:8px}.balance-result>div>span{font-size:7px}.balance-check{width:19px;height:19px}.guest-banner>div:nth-child(2)>span{font-size:7px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.admin-row-actions{display:flex;gap:7px;align-items:center}.admin-edit{padding:7px 10px;border-radius:5px;font-size:10px;color:#6f8860;background:#eef4e8}.save-retry{margin-left:9px;font-size:10px;padding:4px 8px;background:#f4dacf;color:#9a4e3e;border-radius:4px}.error-action{display:inline-flex;align-items:center;gap:4px}.loading-card{background:white;border:1px solid var(--line);border-radius:12px;padding:25px;color:#9aa78e;font-size:12px;grid-column:1/-1}.expense-card.is-pending{border-color:#c6d9b7}.expense-card.is-pending .expense-menu{color:#8eab75}
.breadcrumb{font-size:12px}.save-status{font-size:11px}.eyebrow{font-size:9px}.hero-copy>p{font-size:13px}.hero-tags{font-size:11px}.hero-tags .demo-tag{font-size:9px}.hero-total-top{font-size:12px}.hero-total-bottom{font-size:10px}.guest-banner>div:nth-child(2),.guest-banner strong{font-size:11px}.text-button{font-size:11px}.section-hint{font-size:11px}.person-name{font-size:14px}.person-note{font-size:11px;min-height:15px}.person-amount-label{font-size:11px}.person-chip{font-size:10px;line-height:1.2}.expense-title{font-size:14px}.expense-subtitle{font-size:10px;line-height:1.5}.field-caption{font-size:11px}.currency-hint{font-size:9px}.participants-caption{font-size:11px}.participants-count{font-size:10px}.participant-chip{font-size:10px}.field-error{font-size:11px}.expense-allocation{font-size:10px}.expense-allocation strong{font-size:12px}.rounding-note h3{font-size:12px}.rounding-note p{font-size:11px}.content-footer{font-size:10px;line-height:1.6}.balance-amount>span{font-size:11px}.balance-result strong{font-size:11px}.balance-result>div>span,.balance-live{font-size:10px}.dialog-description,.modal label,.admin-add-form label{font-size:12px}.login-footnote{font-size:11px}.detail-caption{font-size:11px}.detail-row-title{font-size:14px}.detail-row-note{font-size:11px}.detail-note{font-size:11px}.remainder-pill{font-size:10px}.admin-row-info strong{font-size:14px}.admin-row-info p{font-size:11px}.admin-role,.admin-delete,.admin-edit,.admin-form-note{font-size:11px}
@media(max-width:980px){.hero-copy>p{font-size:11px}.hero-total-top{font-size:10px}.hero-total-bottom{font-size:9px}.hero-tags{font-size:10px}.person-chip{font-size:10px}.expense-subtitle{font-size:11px}.participant-chip{font-size:11px}.participant-chips{min-height:74px}.balance-amount>span{font-size:10px}.content-footer{font-size:9px}}
@media(max-width:720px){.breadcrumb{font-size:10px;gap:8px}.save-status{font-size:9px}.hero .eyebrow{font-size:7px}.hero-copy>p{font-size:10px}.hero-tags{font-size:10px;gap:8px}.hero-tags .demo-tag{font-size:8px}.hero-total-top{font-size:9px}.hero-total-bottom{font-size:8px}.little-check{font-size:7px}.guest-banner strong{font-size:11px}.guest-banner>div:nth-child(2)>span{font-size:10px}.guest-banner>div:nth-child(2){line-height:1.65}.text-button{font-size:10px}.section-heading{align-items:flex-start}.section-hint{font-size:9px;line-height:1.7;max-width:124px;text-align:right}.person-name{font-size:14px}.person-note{font-size:10px;line-height:1.6;min-height:16px}.person-amount-label{font-size:10px}.person-chips{gap:4px}.person-chip{font-size:9px;padding:4px}.person-chip.absent{padding:3px}.expense-title{font-size:13px}.expense-subtitle{font-size:9px}.field-caption{font-size:10px}.currency-hint{font-size:8px}.participants-caption{font-size:10px;flex-wrap:wrap;gap:4px;margin-bottom:12px}.participants-count{font-size:9px}.participant-chip{font-size:10px;padding:6px}.participant-chips{min-height:77px}.expense-allocation{font-size:9px;flex-wrap:wrap}.expense-allocation strong{font-size:11px}.rounding-note h3{font-size:11px}.rounding-note p{font-size:10px}.content-footer{font-size:9px;line-height:1.7}.app-shell{padding-bottom:139px}.balance-bar{display:grid;grid-template-columns:minmax(0,1fr) 15px minmax(0,1fr);grid-template-rows:auto auto;gap:11px 12px;padding:13px 22px 14px;min-height:112px}.balance-amount{min-width:0}.balance-amount>span{font-size:10px;margin-bottom:5px}.balance-amount>strong{font-size:clamp(15px,4.8vw,22px);letter-spacing:-.6px;white-space:nowrap}.balance-equals{grid-column:2;grid-row:1;margin-top:14px}.balance-result{grid-column:1/-1;grid-row:2;border:0;margin:0;padding:0;gap:7px}.balance-result>div{display:flex;align-items:center;gap:12px}.balance-result strong{font-size:10px;margin:0}.balance-result>div>span{font-size:10px}.balance-check{height:19px;width:19px}.balance-live{display:none}.toast{bottom:132px}.admin-hero p{font-size:11px}.admin-section .section-hint{font-size:9px}.admin-add-form label{font-size:10px}.admin-row-info p,.admin-form-note{font-size:10px}.admin-row-info strong{font-size:13px}.admin-role,.admin-edit,.admin-delete{font-size:10px}.admin-row-actions{gap:5px}.admin-edit,.admin-delete{padding:7px}.modal .eyebrow{font-size:9px}}
@media(max-width:375px){.balance-bar{padding-left:16px;padding-right:16px;gap:11px 9px}.hero .eyebrow{font-size:6px}.hero-tags{font-size:9px;gap:6px}.hero-total-top{font-size:8px}.hero-total-bottom{font-size:7px}.hero-copy>p{font-size:10px}.guest-banner>div:nth-child(2)>span{font-size:9px}.section-hint{font-size:8px}.participant-chip{font-size:9px;padding:5px}.person-chip{font-size:8px}.person-note{font-size:9px}}
.hero-amount strong.is-large{font-size:30px;letter-spacing:-1px}.person-amount.is-large{font-size:20px;letter-spacing:-.7px}
@media(max-width:980px){.hero-amount strong.is-large{font-size:25px}}
@media(max-width:720px){.hero-amount strong.is-large{font-size:17px;letter-spacing:-.5px}.person-amount.is-large{font-size:17px;letter-spacing:-.5px}}
@media(max-width:375px){.hero-amount strong.is-large{font-size:15px}.person-amount.is-large{font-size:16px}}
.detail-total.is-large{font-size:33px;letter-spacing:-1px}
@media(max-width:720px){.amount-input{font-size:18px;letter-spacing:-.5px}.detail-total.is-large{font-size:29px}.detail-row-amount{font-size:13px}}
@media(max-width:375px){.amount-input{font-size:17px}.detail-total.is-large{font-size:27px}}

/* Page content and the administrator's draft editor. */
.sidebar-figure{margin:auto 0 0;width:100%;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#f2f2ec;border:1px solid #e9e9e0;flex-shrink:0}
.sidebar-figure img,.preview-sidebar-figure img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.brand-image{width:32px;height:32px;flex:0 0 32px;border-radius:7px;object-fit:contain;object-position:center;background:#f6f7f2}
.brand-words{min-width:0;white-space:normal}.brand-words>[data-content="brandName"]{display:block;overflow-wrap:anywhere;line-height:1.25}.brand-en{line-height:1.5;overflow-wrap:anywhere}
.sidebar-bottom>[data-content]{overflow-wrap:anywhere}.hero-title-first{color:var(--ink)}.eyebrow b{font:inherit;overflow-wrap:anywhere}.hero-copy{min-width:0}.hero h1,.hero-copy>p,.section-heading h2,.rounding-note h3,.content-footer>span{overflow-wrap:anywhere}.hero h1{max-width:600px}.hero-copy>p{white-space:pre-line}.section-hint [data-content]{font-size:inherit}.hero-total-top>[data-content]{overflow-wrap:anywhere}.guest-banner [data-content="guestDescription"],.dialog-description[data-content]{white-space:pre-line}.content-load-alert{display:flex;align-items:center;justify-content:space-between;gap:12px}.content-load-alert .save-retry{flex-shrink:0}
.admin-tabs{display:flex;gap:26px;border-bottom:1px solid #dfe7d9;margin:0 0 27px}.admin-tab{display:flex;align-items:center;gap:8px;background:transparent;padding:13px 1px 16px;font-size:13px;color:#91a084;border-bottom:2px solid transparent;margin-bottom:-1px;font-weight:550}.admin-tab.active{color:var(--green);border-bottom-color:var(--green)}.tab-dirty-dot{width:6px;height:6px;border-radius:50%;background:#c69849}.page-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:31px 0 25px}.page-editor-heading h2{font-size:22px;letter-spacing:-.5px;margin:0 0 10px}.page-editor-heading p{font-size:12px;line-height:1.9;color:#879780;margin:0;max-width:600px}.content-status{font-size:11px;color:#6f8d5e;white-space:nowrap;background:#eaf2e4;padding:7px 10px;border-radius:5px}.content-status[data-status="dirty"],.content-status[data-status="saving"]{color:#987a3e;background:#f5eedf}.content-status[data-status="error"]{color:#a85c48;background:#fff0e9}.page-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}.page-editor-fields{min-width:0}.content-editor-card{background:#fff;border:1px solid var(--line);border-radius:12px;margin:0 0 16px;overflow:hidden;padding:20px}.content-editor-card details{padding:0}.content-editor-card summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:14px;font-weight:600}.content-editor-card summary::-webkit-details-marker{display:none}.content-editor-card summary:after{content:'＋';color:#8a9a7b;font-size:18px;font-weight:400}.content-editor-card details[open]>summary:after{content:'−'}.content-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 14px;margin-top:23px}.content-field{display:flex;flex-direction:column;gap:8px;min-width:0}.content-field-wide{grid-column:1/-1}.content-field-caption{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#718566;line-height:1.6}.content-field-caption small{font-size:9px;color:#adb7a3;white-space:nowrap;font-weight:400}.content-field input,.content-field textarea{width:100%;font-size:12px!important;line-height:1.65;border:1px solid #e0e7d8;border-radius:7px;padding:10px 12px;background:#f9fbf6;color:#405f38;min-width:0;resize:vertical}.content-field textarea{min-height:88px;font-family:inherit}.content-field input:invalid:not(:placeholder-shown){border-color:#d5a99a}.content-card-heading{display:flex;align-items:center;gap:10px}.content-card-heading h3{margin:0;font-size:14px;font-weight:600}.content-help{font-size:11px;color:#91a082;line-height:1.85;margin:12px 0 22px}.content-image-editor+.content-image-editor{border-top:1px solid #e7ecdf;margin-top:23px;padding-top:23px}.content-image-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:12px}.content-image-heading small{color:#9aa78e;font-size:10px;font-weight:400}.content-image-row{display:flex;gap:16px;align-items:flex-start}.content-image-thumbnail{width:98px;aspect-ratio:1;flex:0 0 98px;border-radius:10px;border:1px solid #e1e6da;background:#f3f5ef;overflow:hidden;display:flex;align-items:center;justify-content:center}.content-image-thumbnail img{width:100%;height:100%;object-fit:contain;object-position:center}.content-image-empty{font-size:34px;color:#85a475}.content-image-tools{display:flex;gap:8px;flex-wrap:wrap;padding-top:1px}.content-image-tools .button{font-size:10px;min-height:34px;padding:8px 11px}.content-upload-label{position:relative;cursor:pointer;display:inline-flex}.content-upload-label input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;padding:0!important;border:0!important;pointer-events:none}.content-upload-label:focus-within{outline:3px solid #7fb7a1;outline-offset:3px}.content-upload-label[data-disabled="true"]{opacity:.5;cursor:wait}.content-upload-hint{width:100%;margin:2px 0 0;color:#98a68c;font-size:10px;line-height:1.8}.content-image-controls{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:16px}.content-image-controls>label{display:flex;flex-direction:column;gap:7px;font-size:10px;color:#718566}.content-image-controls select,.content-image-controls input{width:100%;font-size:11px!important;padding:10px!important}.content-image-alt{grid-column:1/-1}.content-preview{position:sticky;top:22px;border:1px solid #e0e7d8;border-radius:12px;overflow:hidden;background:#f0f4e9}.content-preview-top{display:flex;justify-content:space-between;align-items:center;padding:16px 17px;border-bottom:1px solid #e0e7d8}.content-preview-top strong{font-size:12px;font-weight:600}.content-preview-top>span{font-size:9px;color:#a07a3a;background:#f6ecda;border-radius:4px;padding:4px 6px}.preview-document{padding:24px 20px;background:#fff;margin:12px;border-radius:8px;min-width:0}.preview-brand{display:flex;align-items:center;gap:9px;min-width:0}.preview-brand>div{min-width:0}.preview-brand strong{font-size:16px;line-height:1.5;overflow-wrap:anywhere;display:block}.preview-brand small{display:block;font-size:6px;line-height:1.5;color:#8d9b83;overflow-wrap:anywhere;letter-spacing:.35px;margin-top:2px}.preview-default-mark{font-size:33px;color:var(--green);flex-shrink:0;line-height:1}.preview-brand img{width:29px;height:29px;flex-shrink:0;border-radius:5px;object-fit:contain}.preview-workspace{display:block;font-size:9px;color:#97a18c;margin-top:25px;overflow-wrap:anywhere}.preview-hero{margin:30px 0 25px}.preview-eyebrow{font-size:6px;letter-spacing:.8px;color:#8b9d7e;line-height:1.5;overflow-wrap:anywhere}.preview-hero h3{font-size:25px;line-height:1.35;letter-spacing:-.8px;margin:14px 0 12px;font-weight:650;overflow-wrap:anywhere}.preview-hero h3 span:last-child{color:#6c8962}.preview-hero p{font-size:9px;line-height:1.9;color:#8b9980;margin:0;white-space:pre-line;overflow-wrap:anywhere}.preview-sidebar-figure{aspect-ratio:1;margin:0;border:1px solid #e1e4db;overflow:hidden;border-radius:10px;background:#f3f4ec}.preview-copy-samples{display:flex;flex-direction:column;gap:12px;margin-top:23px;overflow-wrap:anywhere}.preview-copy-samples strong{font-size:12px;font-weight:550}.preview-copy-samples span{font-size:10px;color:#8e9d82}.preview-copy-samples span:last-child{font-size:8px;border-top:1px solid #eef1e8;padding-top:14px;line-height:1.6}.content-preview-note{font-size:10px;line-height:1.85;color:#90a080;padding:0 17px 17px;margin:0}.content-editor-actions{position:sticky;bottom:99px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #dce5d5;border-radius:12px;background:#f8faf4f2;backdrop-filter:blur(12px);box-shadow:0 6px 24px #233e2d0b;padding:16px 20px;margin:10px 0 22px}.content-editor-actions>div:first-child{min-width:100px}.content-editor-actions span{font-size:11px;color:#718765}.content-editor-actions p{font-size:10px;color:#a0ad94;margin:5px 0 0}.content-action-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.content-action-buttons .button{font-size:11px;padding:11px 14px}.content-conflict{border:1px solid #e7d8b8;border-radius:10px;background:#fff9ec;padding:17px;margin:0 0 18px;font-size:12px;color:#926f38;line-height:1.8}.content-conflict p{font-size:11px;margin:7px 0 12px}.content-conflict-actions{display:flex;gap:9px;flex-wrap:wrap}.content-conflict .button{font-size:10px;min-height:34px;padding:8px 12px;border-color:#dac9a5;color:#926f38}.content-leave-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.content-leave-actions .button{font-size:11px}.content-action-buttons .button:disabled{opacity:.5}
@media(max-width:1190px){.page-editor-layout{grid-template-columns:minmax(0,1fr) 240px;gap:15px}.content-editor-card{padding:17px}.content-fields-grid{grid-template-columns:1fr}.content-field-wide{grid-column:auto}.content-image-row{gap:12px}.content-image-thumbnail{width:78px;flex-basis:78px}.content-editor-actions{padding:14px}.content-action-buttons .button{padding:10px;font-size:10px}.preview-document{padding:21px 16px;margin:10px}.preview-hero h3{font-size:23px}.content-image-tools .button{font-size:9px;padding:7px 8px}}
@media(max-width:980px){.page-editor-layout{grid-template-columns:minmax(0,1fr)}.content-fields-grid{grid-template-columns:1fr 1fr}.content-field-wide{grid-column:1/-1}.content-preview{position:static;max-width:none;margin:0 0 15px}.preview-document{display:grid;grid-template-columns:1fr 170px;column-gap:25px;padding:24px}.preview-brand,.preview-workspace,.preview-hero{grid-column:1}.preview-sidebar-figure{grid-column:2;grid-row:1/5;align-self:center}.preview-workspace{margin-top:15px}.preview-hero{margin:20px 0 0}.preview-copy-samples{display:none}.content-preview-note{padding-bottom:15px}.content-image-tools .button{font-size:11px;padding:8px 11px}.content-editor-actions{bottom:99px}.page-editor-heading h2{font-size:21px}}
@media(max-width:720px){.sidebar-figure{display:none}.brand-image{width:28px;height:28px;flex-basis:28px}.brand-words{max-width:270px}.admin-tabs{gap:24px;margin-bottom:21px}.admin-tab{font-size:12px;padding-top:10px;padding-bottom:14px}.page-editor-heading{margin:26px 0 21px;flex-wrap:wrap;gap:13px}.page-editor-heading h2{font-size:21px;line-height:1.4}.page-editor-heading p{font-size:11px;line-height:1.8}.content-status{font-size:10px}.content-editor-card{padding:16px;border-radius:10px}.content-editor-card summary,.content-card-heading h3{font-size:13px}.content-fields-grid{grid-template-columns:1fr;gap:15px;margin-top:21px}.content-field-wide{grid-column:auto}.content-field-caption{font-size:11px}.content-field-caption small{font-size:9px}.content-field input,.content-field textarea{font-size:13px!important}.content-help{font-size:10px;line-height:1.9}.content-image-row{gap:13px}.content-image-thumbnail{width:85px;flex-basis:85px}.content-image-tools .button{font-size:10px}.content-image-heading{font-size:12px}.content-image-controls{gap:12px}.content-image-controls>label{font-size:10px}.preview-document{grid-template-columns:1fr 120px;padding:20px 15px;column-gap:14px}.preview-brand strong{font-size:14px}.preview-hero h3{font-size:21px}.preview-hero p{font-size:8px}.preview-brand small{font-size:5px}.preview-workspace{font-size:8px}.preview-eyebrow{font-size:5px}.content-editor-actions{bottom:117px;display:block;padding:13px;margin-bottom:14px}.content-editor-actions>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0 0 11px}.content-editor-actions p{margin:0;font-size:9px}.content-editor-actions span{font-size:10px}.content-action-buttons{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:7px}.content-action-buttons .button{padding:9px 5px;font-size:10px;min-height:36px}.content-preview-top{padding:14px}.content-preview-note{font-size:10px}.content-load-alert{display:block;font-size:10px}.content-load-alert .save-retry{margin:7px 0 0}.content-conflict-actions .button{width:100%}.content-leave-actions .button{padding:10px}.content-image-controls select,.content-image-controls input{font-size:12px!important}}
@media(max-width:375px){.preview-document{grid-template-columns:1fr 100px;column-gap:11px}.preview-brand{gap:6px}.preview-brand strong{font-size:13px}.preview-brand img{width:23px;height:23px}.preview-default-mark{font-size:27px}.content-action-buttons .button{font-size:9px}.content-image-thumbnail{width:74px;flex-basis:74px}.content-image-tools{gap:6px}.content-image-tools .button{padding:8px;font-size:9px}}
@media(min-width:721px){.sidebar{overflow-y:auto}.sidebar>.brand,.sidebar>nav,.sidebar>.workspace-label,.sidebar-bottom{flex-shrink:0}}
@media(max-height:650px) and (min-width:721px){.sidebar{padding-top:25px}.workspace-label{margin-top:30px}.sidebar-figure{margin-top:30px}.sidebar-bottom{margin-top:15px}}
.content-editor-card summary:focus-visible{outline:3px solid #7fb7a1;outline-offset:4px;border-radius:3px}.content-field textarea:focus-visible{outline:3px solid #7fb7a1;outline-offset:3px}.content-preview-top>span[data-saved="true"]{color:#6f8d5e;background:#e5efdc}
.preview-current-field{padding:0 17px;margin:0 0 15px}.preview-current-field small{display:block;color:#849776;font-size:9px;line-height:1.6}.preview-current-field p{font-size:11px;line-height:1.8;color:#526b43;overflow-wrap:anywhere;white-space:pre-line;border-left:2px solid #c9dabd;margin:8px 0 0;padding-left:10px}

/* Empty ledgers, custom expenses and per-member avatars. */
.hero h1{margin-top:0}.hero-tags{margin-top:22px}.sidebar-figure{margin-bottom:0}.person-name{margin-bottom:16px}.person-name:has(+.person-note){margin-bottom:0}.person-note{margin-bottom:18px}.expense-top{min-height:35px}.expense-title{overflow-wrap:anywhere}.avatar{border-radius:50%;overflow:hidden}.avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.person-chips .person-chip{overflow-wrap:anywhere}.empty-card{grid-column:1/-1;border:1px dashed #cfdcc9;border-radius:14px;background:#fbfcf8;padding:31px 24px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}.empty-card-icon{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:50%;background:#eaf1e4;color:#7e9b69}.empty-card h3{font-size:15px;font-weight:550;margin:0;color:#7e9271}.empty-card .button{font-size:11px;min-height:36px;padding:9px 13px}.admin-empty{margin:0;padding:21px 20px;color:#8b9c7f;font-size:12px;line-height:1.8}.admin-expense-form{grid-template-columns:minmax(0,1fr) auto}.admin-row-info{min-width:0}.admin-row-info strong,.admin-row-info p{overflow-wrap:anywhere}.participants-summary{font-size:11px;line-height:1.8;color:#7b8d70;min-height:21px;margin:0 0 13px;overflow-wrap:anywhere}.participant-picker-button{width:100%;font-size:11px;min-height:37px;padding:9px 12px;background:#f6f9f1}.participant-picker-button svg{width:15px;height:15px}.expense-allocation{margin-top:19px}.participants-modal{width:min(480px,calc(100vw - 32px))}.participants-modal h2{font-size:21px;padding-right:10px;overflow-wrap:anywhere}.participant-picker-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0 14px;font-size:12px;color:#829476}.participant-picker-tools>div{display:flex;gap:18px}.participant-picker-tools .text-button{font-size:12px}.participant-picker-tools .text-button:disabled{opacity:.4}.participant-picker-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;max-height:310px;overflow:auto}.participant-picker-list .admin-empty{grid-column:1/-1;padding:17px 0}.participant-picker-list .participant-option{position:relative;display:flex;flex-direction:row;align-items:center;gap:9px;border:1px solid #e3e9db;padding:11px 12px;border-radius:9px;min-width:0;color:#718763;cursor:pointer;background:#fafbf7}.participant-option:has(input:checked){background:#edf4e6;border-color:#a5c48d}.participant-option:has(input:disabled){cursor:default}.participant-option input{position:absolute;opacity:0;width:1px;height:1px;margin:0}.participant-option:has(input:focus-visible){outline:3px solid #7fb7a1;outline-offset:2px}.participant-option .checkbox-box{height:15px;width:15px;flex-shrink:0}.participant-option:has(input:checked) .checkbox-box{background:#6c9460;border-color:#6c9460}.participant-option:has(input:checked) .checkbox-box svg{opacity:1}.participant-option .picker-avatar{height:29px;width:29px;font-size:12px}.participant-option-name{overflow-wrap:anywhere;font-size:12px;line-height:1.6}.allocation-help{border-top:1px solid #e6ecdf;padding-top:14px;font-size:11px;color:#8a9b7c;line-height:1.85}.allocation-help summary{cursor:pointer;color:#6f8860}.allocation-help p{margin:9px 0 0}.allocation-help p:empty{display:none}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:4px}.detail-empty{font-size:12px;color:#8b9c7f;padding:20px 0;margin:0}.member-avatar-editor{display:flex;align-items:center;gap:16px;margin:12px 0 5px}.member-avatar-preview{height:68px;width:68px;flex:0 0 68px;font-size:24px}.member-avatar-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.member-avatar-actions .button{font-size:11px;padding:9px 11px;min-height:34px}.member-avatar-actions #member-avatar-status{font-size:10px;line-height:1.8;color:#93a486;width:100%}.member-avatar-actions label.content-upload-label{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:0;color:#456452}.member-avatar-actions .button:disabled{opacity:.5}.content-editor-card input:not([type="checkbox"]){max-width:100%}.preview-copy-samples span:last-child{font-size:10px;border:0;padding:0}.admin-hero h1{margin-top:0}
@media(max-width:720px){.empty-card{padding:27px 18px}.empty-card h3{font-size:14px}.admin-expense-form{grid-template-columns:minmax(0,1fr)}.admin-empty{font-size:11px;padding:17px}.participant-picker-button{font-size:10px}.participants-summary{font-size:10px;min-height:36px}.participant-picker-list{grid-template-columns:1fr}.participant-picker-list .participant-option{padding:10px 12px}.participants-modal{padding:28px 24px}.member-avatar-editor{gap:12px}.member-avatar-preview{width:58px;height:58px;flex-basis:58px}.member-avatar-actions .button{font-size:10px;padding:8px}.person-name{margin-bottom:14px}.hero h1{margin-top:0}}

/* Administrator-only activity records. */
.audit-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:30px 0 18px}.audit-heading h2{font-size:22px;letter-spacing:-.5px;margin:0 0 10px}.audit-heading p{font-size:12px;line-height:1.8;color:#879780;margin:0}.audit-heading .button{font-size:11px;flex-shrink:0}.audit-status{font-size:11px;color:#879780;min-height:18px;margin:0 0 14px}.audit-list{display:flex;flex-direction:column;gap:12px}.audit-log-card{border:1px solid var(--line);border-radius:12px;padding:19px 21px;background:#fff;min-width:0}.audit-log-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.audit-log-top time{font-size:11px;color:#7a8d71;font-variant-numeric:tabular-nums}.audit-log-account{display:flex;align-items:center;gap:7px;min-width:0;font-size:12px}.audit-log-account svg{width:15px;height:15px;flex-shrink:0;color:#8fa184}.audit-log-account strong{font-weight:600;overflow-wrap:anywhere}.audit-log-account>span{font-size:10px;color:#8a9c7e;background:#f0f5e9;padding:3px 6px;border-radius:4px;white-space:nowrap}.audit-log-summary{font-size:13px;line-height:1.8;margin:14px 0 12px;overflow-wrap:anywhere;color:#3f5a35}.audit-log-network{display:flex;gap:10px 24px;flex-wrap:wrap;color:#8c9a81;font-size:10px;line-height:1.8}.audit-log-network>span{overflow-wrap:anywhere;min-width:0}.audit-log-network code{font-size:11px;color:#6b805f;font-variant-numeric:tabular-nums;margin-left:5px;overflow-wrap:anywhere}.audit-empty{border:1px dashed #d8e2d0;border-radius:12px;padding:38px 20px;display:flex;align-items:center;flex-direction:column;text-align:center;background:#fbfcf8}.audit-empty h3{font-size:14px;font-weight:550;color:#7e9271;margin:17px 0 9px}.audit-empty p{font-size:12px;line-height:1.8;color:#94a389;margin:0}.audit-pagination{display:flex;justify-content:center;margin:22px 0 8px}.audit-pagination .button{font-size:11px;min-width:160px}.audit-heading .button:disabled,.audit-pagination .button:disabled{opacity:.5}.admin-tabs{flex-wrap:wrap;column-gap:26px;row-gap:0}
@media(max-width:720px){.admin-tabs{column-gap:20px}.audit-heading{margin-top:25px;gap:12px}.audit-heading h2{font-size:21px}.audit-heading p{font-size:10px;max-width:230px}.audit-heading .button{font-size:10px;padding:10px 12px}.audit-log-card{padding:17px}.audit-log-top{align-items:flex-start;flex-direction:column;gap:10px}.audit-log-summary{font-size:12px;margin-top:12px}.audit-log-network{gap:5px 14px}.audit-log-top time,.audit-log-network code{font-size:10px}.audit-empty p{font-size:11px}}
.account-modal h2{padding-right:22px}.account-edit-note{font-size:12px;line-height:1.8;color:#7d9170;margin:0;padding:12px 14px;border:1px solid #e0e8d7;border-radius:8px;background:#f3f7ed;overflow-wrap:anywhere}.account-modal .dialog-actions{margin-top:3px}.account-modal .dialog-actions .button{min-width:91px}
@media(max-width:540px){.account-modal .dialog-actions{flex-wrap:wrap}.account-modal .dialog-actions .button{flex:1}.account-edit-note{font-size:11px}.admin-row .admin-role{flex-shrink:0}.admin-row-actions{flex-shrink:0}}

/* Public version history, independent of administrator activity records. */
.releases-view{padding-bottom:22px}.releases-hero{display:flex;align-items:center;gap:18px;padding:44px 0 31px}.releases-symbol{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#e7efe1;color:#66875a;flex-shrink:0}.releases-symbol svg{width:28px;height:28px}.releases-hero h1{font-size:32px;letter-spacing:-.8px;line-height:1.35;margin:0 0 10px}.releases-hero p{font-size:12px;line-height:1.8;color:#8a9a7e;margin:0}.releases-status{font-size:12px;color:#8a9a7e;margin:0 0 23px}.release-current-card{border:1px solid #d8e5d1;border-radius:17px;background:linear-gradient(125deg,#edf4e6,#fff 78%);padding:29px 32px;position:relative;overflow:hidden}.release-current-top{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.release-current-label{display:inline-block;background:var(--green);color:#fff;border-radius:5px;padding:5px 8px;font-size:10px;font-weight:600;line-height:1.4}.release-version{font-size:18px;font-weight:650;color:#496b3e;letter-spacing:-.2px;font-variant-numeric:tabular-nums}.release-current-top time{font-size:11px;color:#839577;margin-left:auto;font-variant-numeric:tabular-nums}.release-current-card h2{font-size:22px;line-height:1.5;margin:23px 0 16px;letter-spacing:-.4px;overflow-wrap:anywhere}.release-changes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.release-changes li{position:relative;padding-left:16px;font-size:13px;line-height:1.9;color:#728468;overflow-wrap:anywhere}.release-changes li:before{content:'';width:4px;height:4px;border-radius:50%;background:#98b183;position:absolute;left:2px;top:11px}.release-history{margin-top:33px}.release-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.release-history-heading h2{font-size:17px}.release-history-heading>span{font-size:10px;color:#94a289}.release-history-list{display:flex;flex-direction:column;gap:12px}.release-history-card{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.release-history-card summary{list-style:none;cursor:pointer;padding:21px 24px;display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,1.7fr) 20px;gap:18px;align-items:center}.release-history-card summary::-webkit-details-marker{display:none}.release-history-card summary:hover{background:#fbfcf8}.release-history-card summary:focus-visible{outline:3px solid #7fb7a1;outline-offset:-4px;border-radius:10px}.release-history-meta{display:flex;flex-direction:column;gap:7px;min-width:0}.release-history-meta strong{font-size:15px;font-weight:600;color:#5c7750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.release-history-meta time{font-size:10px;color:#9aa68f;line-height:1.5;font-variant-numeric:tabular-nums}.release-history-title{font-size:12px;line-height:1.7;color:#7a8d6f;overflow-wrap:anywhere}.release-expand{display:flex;align-items:center;justify-content:center;color:#9cab90}.release-expand svg{width:16px;height:16px;transition:transform .18s}.release-history-card[open] .release-expand svg{transform:rotate(180deg)}.release-history-card[open] summary{border-bottom:1px solid #edf0e7}.release-history-card>.release-changes{padding:20px 24px 23px}.release-history-card>.release-changes li{font-size:12px}
@media(max-width:980px){.release-current-card{padding:26px}.releases-hero h1{font-size:29px}.release-history-card summary{grid-template-columns:minmax(135px,1fr) minmax(0,1.5fr) 18px;gap:12px;padding:20px}.release-history-card>.release-changes{padding:18px 20px 21px}}
@media(max-width:720px){.sidebar nav{gap:22px}.releases-hero{gap:13px;padding:24px 0 26px;align-items:flex-start}.releases-symbol{width:42px;height:42px;border-radius:12px;margin-top:2px}.releases-symbol svg{width:23px;height:23px}.releases-hero h1{font-size:24px;letter-spacing:-.6px;line-height:1.4;margin-bottom:7px}.releases-hero p{font-size:11px}.release-current-card{padding:22px 20px;border-radius:13px}.release-current-top{gap:10px}.release-current-label{font-size:9px;padding:5px 7px}.release-version{font-size:17px}.release-current-top time{font-size:10px}.release-current-card h2{font-size:19px;margin-top:21px;margin-bottom:14px}.release-changes li{font-size:12px;line-height:1.9;padding-left:14px}.release-changes{gap:9px}.release-history{margin-top:27px}.release-history-heading{margin-bottom:14px}.release-history-heading h2{font-size:16px}.release-history-heading>span{font-size:9px}.release-history-card summary{grid-template-columns:minmax(0,1fr) 18px;gap:10px;padding:19px}.release-history-meta{grid-column:1;grid-row:1;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 13px}.release-history-meta strong{font-size:14px}.release-history-title{grid-column:1;grid-row:2;font-size:11px}.release-expand{grid-column:2;grid-row:1/3}.release-history-card>.release-changes{padding:17px 19px 20px}.release-history-card>.release-changes li{font-size:11px}}
@media(max-width:375px){.sidebar nav{gap:17px}.nav-item{font-size:10px}.releases-hero h1{font-size:21px}.releases-hero{gap:11px}.release-current-top time{width:100%;margin-left:0}.release-current-card{padding:20px 17px}.release-history-card summary{padding:17px}.release-history-meta{gap:7px 10px}}
/* Shared ledger synchronization, settlement, and account management. */
.sync-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:24px 0 0;font-size:12px}.sync-toolbar>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.sync-toolbar strong{font-weight:600;overflow-wrap:anywhere}.sync-toolbar #sync-time{font-size:10px;color:var(--muted)}.status-pill{display:inline-block;border-radius:30px;padding:5px 9px;background:#eaf1e6;color:#52754a;font-size:10px;line-height:1.4;white-space:nowrap}.sync-alert{display:flex;gap:16px;align-items:center;justify-content:space-between;background:#fff5df;border:1px solid #eeddb4;color:#85632b;margin-top:20px}.person-net{display:flex;flex-direction:column;gap:6px;font-size:11px;line-height:1.5;margin-top:17px}.person-net>span{color:#718571}.person-net>strong{font-weight:600}.settlement-section{margin-top:40px}.section-description{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 20px}.settlement-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}.settlement-summary>div{padding:22px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;gap:12px}.settlement-summary span{font-size:11px;color:var(--muted)}.settlement-summary strong{font-size:23px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.settlement-notice{border-radius:10px;background:#f3eddc;color:#8a6e38;padding:17px 20px;font-size:12px;line-height:1.8}.settlement-notice.success{color:#42674d;background:#e9f0e5}.settlement-ready{background:#edf3e9;border:1px solid #d6e2cf;border-radius:12px;padding:24px;margin:18px 0}.settlement-ready>strong{font-size:16px}.settlement-ready>p{font-size:11px;color:#7b8a70;line-height:1.8}.settlement-transfer{display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid #dbe5d4;font-size:13px}.settlement-transfer:last-child{border-bottom:0;padding-bottom:0}.settlement-transfer>span{overflow-wrap:anywhere}.settlement-transfer strong{white-space:nowrap}.advance-list{display:flex;flex-direction:column;gap:10px;margin-top:20px}.advance-row{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px}.advance-row .admin-row-info{min-width:0}.advance-row .admin-row-info p{overflow-wrap:anywhere}.management-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:26px;margin-bottom:22px}.management-card>h3{font-size:17px;margin-top:0}.management-card>p{font-size:12px;line-height:1.9;color:#7a8b77}.management-card form{margin-top:18px}.management-card>label,.gathering-edit-form>label{display:flex;flex-direction:column;font-size:12px;gap:9px;margin:17px 0}.management-card input:not([type="checkbox"]),.gathering-edit-form input{border:1px solid #dce4d7;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);width:100%;font:inherit}.management-card>button{margin-top:12px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-heading h3{margin:0;font-size:17px}.card-heading>strong{overflow-wrap:anywhere}.check-label{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;font-size:12px;line-height:1.8}.check-label input{accent-color:var(--green);width:17px;height:17px;flex-shrink:0}.management-card .form-error{margin:14px 0}.gathering-edit-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.7fr) auto;gap:14px;align-items:end}.gathering-edit-form>label{margin:0}.admin-tabs{flex-wrap:wrap;row-gap:8px}.session-row{padding:18px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.session-row strong{font-size:12px;overflow-wrap:anywhere}.session-row p{font-size:11px;color:var(--muted);line-height:1.9;margin:7px 0 0}.session-row .status-pill{margin-left:7px}.danger-text{color:var(--red)}.backup-warning{color:#956b2d!important;background:#fff4dd;padding:14px;border-radius:8px}.backup-facts{margin:20px 0 0}.backup-facts>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;padding:15px 0;border-top:1px solid var(--line);font-size:12px}.backup-facts dt{color:var(--muted)}.backup-facts dd{margin:0;overflow-wrap:anywhere}.wide-modal{width:min(780px,calc(100% - 32px));max-width:780px}.draft-card{padding:20px;border:1px solid var(--line);border-radius:10px;margin:15px 0}.draft-card h3{font-size:16px;margin:0 0 15px}.draft-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px}.draft-comparison>div{display:flex;flex-direction:column;gap:7px;padding:14px;background:#f4f6ef;border-radius:8px;min-width:0}.draft-comparison small{font-size:10px;color:var(--muted)}.draft-comparison strong{font-size:17px;white-space:pre-wrap;overflow-wrap:anywhere}.draft-comparison span{font-size:11px;line-height:1.7;overflow-wrap:anywhere}.draft-warning{font-size:12px;color:#986b30;line-height:1.8}.draft-tools{display:flex;gap:20px;flex-wrap:wrap;padding:10px 0}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 25px}.history-heading>p{font-size:12px;line-height:1.8;color:var(--muted)}.gathering-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.gathering-card{padding:25px;border:1px solid var(--line);border-radius:14px;background:#fff}.gathering-card time{font-size:11px;color:var(--muted)}.gathering-card h2{font-size:21px;margin:22px 0 14px;overflow-wrap:anywhere}.gathering-total{font-size:30px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.gathering-card>p{color:var(--muted);font-size:11px;margin:14px 0 23px}.history-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:23px 0 26px}.history-person{border:1px solid var(--line);border-radius:12px;padding:19px;min-width:0;background:#f8f9f3}.history-person .card-heading{justify-content:flex-start}.small-avatar{width:35px;height:35px;font-size:16px}.history-person-amount{font-size:17px;margin:15px 0 10px}.history-person>p{font-size:11px;color:var(--muted);line-height:1.8}.history-person details{font-size:12px;line-height:1.8}.history-person summary{cursor:pointer;color:var(--green)}.history-detail-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8}.history-detail-row span{min-width:0;overflow-wrap:anywhere}.history-detail-row strong{white-space:nowrap}.history-detail-row small{display:block;color:var(--muted)}.history-expenses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.history-expenses .management-card{padding:17px;margin-bottom:10px}.history-expenses .management-card p{margin-bottom:0;overflow-wrap:anywhere}.history-balance{padding:18px;background:#edf3e9;color:#507445;border-radius:9px;font-size:12px;line-height:1.9}.modal .dialog-actions{flex-wrap:wrap}.modal form select{width:100%}.modal form>label>select{padding:11px 12px;border:1px solid #d8e1d2;border-radius:8px;background:white;color:var(--ink);font:inherit}
@media(max-width:980px){.gathering-edit-form{grid-template-columns:1fr 1fr}.gathering-edit-form button{grid-column:1/-1;justify-self:start}.settlement-summary strong{font-size:20px}.sync-toolbar{flex-wrap:wrap}.management-card{padding:22px}.admin-tabs{gap:6px}.admin-tab{padding-left:12px;padding-right:12px}}
@media(max-width:720px){.sidebar nav{gap:14px;flex-wrap:wrap}.sidebar .nav-item{white-space:nowrap}.sync-toolbar{margin-top:22px;gap:13px}.sync-toolbar>div:first-child{width:100%;gap:8px}.sync-toolbar>div:last-child{width:100%;justify-content:space-between}.sync-toolbar strong{font-size:11px}.sync-toolbar .text-button{font-size:11px}.sync-alert{align-items:flex-start;font-size:11px;line-height:1.8;padding:14px}.sync-alert .save-retry{white-space:nowrap}.settlement-section{margin-top:30px}.settlement-section .section-heading{align-items:flex-start;gap:12px}.settlement-section .section-heading h2{font-size:18px}.settlement-section .section-heading .button{font-size:10px;padding:8px 10px;min-height:34px}.settlement-summary{gap:8px}.settlement-summary>div{padding:16px 11px;gap:10px}.settlement-summary span{font-size:10px}.settlement-summary strong{font-size:16px}.settlement-ready{padding:19px}.settlement-transfer{font-size:12px}.advance-row{gap:10px;padding:15px;flex-wrap:wrap}.advance-row .admin-row-info{flex:1}.advance-row .admin-row-actions{margin-left:auto}.management-card{padding:20px}.management-card>h3,.card-heading h3{font-size:16px}.gathering-edit-form{grid-template-columns:1fr}.gathering-edit-form button{grid-column:auto}.admin-tabs{gap:4px;margin-top:10px}.admin-tab{font-size:11px;padding:12px 11px}.backup-facts>div{grid-template-columns:90px minmax(0,1fr);gap:12px;font-size:11px}.session-row{align-items:flex-start}.session-row .admin-delete{white-space:nowrap;font-size:11px}.draft-card{padding:15px}.draft-comparison{gap:9px}.draft-comparison>div{padding:11px}.draft-comparison strong{font-size:15px}.draft-tools{gap:12px}.draft-tools button{font-size:11px}.wide-modal{padding:28px 20px}.wide-modal h2{font-size:21px;line-height:1.5;padding-right:18px}.gathering-list{grid-template-columns:1fr;gap:15px}.gathering-card{padding:23px}.history-heading{align-items:flex-start}.history-heading>p{font-size:11px;margin-top:0}.history-heading .button{padding:9px 12px;font-size:11px;min-height:35px}.history-people{grid-template-columns:1fr;gap:12px}.history-expenses{grid-template-columns:1fr}.history-person{padding:17px}.history-balance{font-size:11px}.person-net{font-size:10px}}
.detail-payment-summary{margin-top:22px;background:#f0f4e9;border-radius:10px;padding:18px}.detail-payment-summary>div{display:flex;justify-content:space-between;gap:18px;margin:8px 0;font-size:12px}.detail-payment-summary>div>span{color:var(--muted)}.detail-payment-summary>p{font-size:11px;color:var(--muted);line-height:1.7;margin-bottom:0}
.clear-form-button{font-size:11px;margin-top:12px}.management-card>.clear-form-button{margin-left:15px}.gathering-edit-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.gathering-edit-actions>.text-button{font-size:11px;white-space:nowrap}@media(max-width:980px){.gathering-edit-actions{grid-column:1/-1}}@media(max-width:720px){.gathering-edit-actions{grid-column:auto}}

/* Page hierarchy: one ledger task at a time, grouped management navigation. */
:root{--ink:#263f36;--muted:#728077;--line:#e1e7df;--page:#f5f7f3;--green:#246b55}
body{line-height:1.5}
.sidebar{width:216px;padding:32px 22px 22px;background:#fff}
.brand{font-size:23px;letter-spacing:.3px}
.workspace-label{margin:39px 12px 13px;font-size:10px;letter-spacing:.8px;color:#8a978e}
.sidebar nav{display:flex;flex-direction:column;gap:6px}
.nav-item{margin:0;padding:13px 12px;font-size:13px;font-weight:500;color:#738276;border-radius:9px;gap:10px}
.nav-item.active{background:#edf3eb;color:var(--green);font-weight:650}
.nav-item:hover{background:#f2f5ef}
.nav-item svg{width:17px;height:17px}
.sidebar-figure{width:100%;aspect-ratio:1;margin:auto 0 0;border-radius:14px;overflow:hidden;background:#f1f3ed;border:1px solid #e7eae2;flex-shrink:0}
.sidebar-figure img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.app-shell{margin-left:216px;padding-bottom:112px}
.topbar{height:68px;background:#ffffffb8;padding:0 36px}
.topbar-actions{gap:18px}
.breadcrumb{font-size:12px;gap:13px;min-width:0}
.breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:36vw}
.save-status{font-size:11px}
main{max-width:1280px;padding:0 36px}
.button{font-size:12px;min-height:40px}
.button-small{font-size:11px;min-height:36px}
.button-outline{background:#fff;border-color:#d7e1d3}
.text-button{font-size:12px;color:#50775d;min-height:32px}
.page-kicker{display:block;color:#879586;font-size:10px;line-height:1.5;letter-spacing:1.5px;margin-bottom:10px;font-weight:550}
.ledger-overview{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:32px 0 22px}
.ledger-intro{min-width:0}
.ledger-intro h1{font-size:28px;line-height:1.5;font-weight:650;letter-spacing:-.6px;margin:0 0 15px;overflow-wrap:anywhere}
.ledger-intro h1>span{color:var(--ink)}
.ledger-intro h1>span:last-child{color:#738d71}
.gathering-meta{display:flex;align-items:center;gap:11px;flex-wrap:wrap;line-height:1.7}
.gathering-meta strong{font-size:12px;font-weight:500;color:#6b7b6b;overflow-wrap:anywhere}
.status-pill{padding:4px 9px;font-size:10px;background:#eaf1e4;color:#658057}
.hero-total{min-width:230px;width:260px;background:#edf3e7;border:1px solid #e1e9da;border-radius:14px;padding:18px 22px;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.hero-total-top{font-size:11px;color:#78916d}
.bill-stamp svg{height:20px;width:20px}
.hero-amount{margin:12px 0 8px;gap:7px}
.hero-amount>span{font-size:20px;color:#5d7c54}
.hero-amount strong{font-size:38px;letter-spacing:-1px;color:#355d41;line-height:1.1;overflow-wrap:anywhere}
.hero-amount strong.is-large{font-size:27px}
.hero-total-bottom{font-size:9px;letter-spacing:.6px;color:#90a085}
.sync-toolbar{margin:0 0 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:13px;font-size:11px}
.sync-indicator{display:inline-flex;align-items:center;gap:7px;color:#82917f;min-width:0}
.sync-indicator i{width:5px;height:5px;border-radius:50%;background:#8daa7f;flex-shrink:0}
.sync-toolbar #sync-time{font-size:10px;color:#82917f;overflow-wrap:anywhere}
.sync-toolbar .text-button{font-size:11px}
.guest-banner{margin:0 0 20px;padding:12px 15px;background:#fff;border:1px solid var(--line);border-radius:9px;gap:12px}
.guest-banner>div:nth-child(2){display:flex;flex-wrap:wrap;gap:3px 13px;color:#8c9985;font-size:11px}
.guest-banner strong{font-size:11px;color:#6b7f61}
.guest-banner span{font-size:11px}
.guest-banner .text-button{font-size:11px;min-height:32px}
.ledger-tabs{display:flex;align-items:center;gap:25px;border-bottom:1px solid #dce5d7;margin-bottom:25px;min-width:0}
.ledger-tab{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:transparent;padding:13px 2px 15px;font-size:13px;color:#83907e;white-space:nowrap;font-weight:550;min-height:48px}
.ledger-tab svg{width:16px;height:16px}
.ledger-tab.active{color:var(--green);font-weight:650}
.ledger-tab.active::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--green);border-radius:3px 3px 0 0}
.ledger-tab:hover{color:var(--green)}
.ledger-tab:focus-visible{outline-offset:-1px;border-radius:5px}
.ledger-panel{outline:none;min-width:0;animation:panel-appear .16s ease-out}
.ledger-panel:focus-visible{outline:2px solid #91b5a1;outline-offset:5px;border-radius:8px}
.ledger-panel .people-section,.ledger-panel .expenses-section,.ledger-panel .settlement-section{margin:0}
.section-heading{gap:16px;margin-bottom:20px;min-height:36px}
.section-heading>div{gap:10px;min-width:0}
.section-heading h2{font-size:17px;font-weight:650;line-height:1.6;letter-spacing:-.3px}
.section-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-shrink:0}
.section-hint{font-size:11px;line-height:1.6;color:#91a085}
.expense-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.expense-card{display:block;padding:23px;background:#fff;border-radius:13px;border:1px solid var(--line);box-shadow:0 2px 3px #23492f02}
.expense-top{margin-bottom:24px;gap:11px}
.expense-icon{width:36px;height:36px;border-radius:10px}
.expense-title{font-size:14px;font-weight:650;line-height:1.6}
.expense-subtitle{font-size:10px;margin-top:4px}
.field-caption{font-size:11px;margin-bottom:9px}
.currency-hint{font-size:9px}
.amount-control{height:49px;border-radius:8px;background:#f8faf5;padding:0 13px}
.amount-input{font-size:24px;font-weight:500}
.participants-caption{font-size:11px;margin:23px 0 10px;gap:12px}
.participants-count{font-size:10px}
.participant-picker-button{font-size:11px;padding:6px 9px;min-height:30px;line-height:1.5}
.participants-summary{font-size:11px;line-height:1.9;min-height:47px;color:#7f9074}
.participants-summary .empty-participants{font-size:11px}
.expense-allocation{font-size:10px;line-height:1.8;margin-top:12px;padding-top:13px;gap:12px}
.expense-allocation strong{font-size:11px}
.field-error{font-size:11px;line-height:1.7}
.allocation-help{font-size:11px;line-height:1.9;padding-top:13px}
.people-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.person-card{padding:22px;border-radius:13px}
.person-top{margin-bottom:17px}
.person-index{font-size:10px;color:#acb8a5}
.person-name{font-size:14px;line-height:1.6;margin-bottom:0}
.person-note{font-size:11px;min-height:16px;margin:5px 0 18px}
.person-amount-label{font-size:10px;color:#8c9d80;margin-bottom:7px}
.person-amount{font-size:29px;line-height:1.3}
.person-amount>span{font-size:14px}
.person-net{font-size:11px;gap:7px;margin-top:17px}
.person-divider{margin:18px 0 13px}
.person-chip{font-size:9px;padding:5px 6px}
.person-chip.absent{padding:4px 5px}
.section-description{font-size:12px;margin:0 0 22px;line-height:1.9}
.settlement-summary{gap:16px;margin-bottom:18px}
.settlement-summary>div{border-radius:12px;padding:22px;gap:9px}
.settlement-summary span{font-size:11px}
.settlement-summary strong{font-size:27px;line-height:1.3;letter-spacing:-.5px}
.settlement-notice{font-size:12px;padding:17px 20px}
.settlement-ready{padding:23px;border-radius:12px}
.settlement-transfer{padding:15px 0;font-size:13px}
.advance-records-heading{margin:29px 0 14px}
.advance-records-heading h3{font-size:15px;font-weight:600;margin:0}
.advance-list{margin-top:0;gap:11px}
.advance-row{padding:17px 20px}
.admin-hero{padding:32px 0 25px}
.admin-hero h1{font-size:28px;letter-spacing:-.6px;line-height:1.4;margin:0}
.admin-hero .page-kicker{margin-bottom:9px}
.admin-workspace{display:grid;grid-template-columns:174px minmax(0,1fr);gap:28px;align-items:start}
.admin-tabs{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:3px 18px 10px 0;border:0;border-right:1px solid var(--line);margin:0;position:sticky;top:20px;min-width:0}
.admin-nav-label{font-size:10px;color:#9ca88f;padding:2px 12px 10px;line-height:1.6;letter-spacing:.5px}
.admin-nav-divider{margin-top:21px;padding-top:17px;border-top:1px solid var(--line)}
.admin-tab{display:flex;align-items:center;gap:10px;width:100%;background:transparent;padding:12px;border:0;border-radius:8px;color:#829076;font-size:12px;line-height:1.6;text-align:left;font-weight:500;white-space:normal;min-height:43px;position:relative}
.admin-tab svg{width:16px;height:16px;flex-shrink:0;opacity:.75}
.admin-tab.active{background:#eaf1e5;color:#527346;font-weight:650;border:0}
.admin-tab.active::after{display:none}
.admin-tab.active svg{opacity:1}
.admin-tab:hover{background:#eef3e9;color:#527346}
.admin-tab:focus-visible{outline-offset:-2px}
.tab-dirty-dot{margin-left:auto;flex-shrink:0}
.admin-panels{min-width:0}
.admin-panels>[role="tabpanel"]{min-width:0;animation:panel-appear .16s ease-out}
.admin-section{padding:0;margin:0}
.admin-section .section-heading{margin-bottom:8px;min-height:28px}
.admin-section .section-heading h2,.page-editor-heading h2,.audit-heading h2{font-size:20px;line-height:1.6;letter-spacing:-.4px;margin:0;font-weight:650}
.panel-description,.page-editor-heading p,.audit-heading p{font-size:12px;color:#8a977e;line-height:1.9;margin:0 0 23px}
.admin-list{border-radius:11px;background:#fff;overflow:hidden}
.admin-row{padding:17px 19px;gap:13px}
.admin-row-info{min-width:0}
.admin-row-info strong{font-size:13px;overflow-wrap:anywhere}
.admin-row-info p{font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.admin-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.admin-delete{font-size:11px;min-height:32px;padding:7px 10px}
.admin-role{font-size:10px}
.admin-form-note{font-size:11px;line-height:1.9;color:#8b9a7d;margin:17px 0 0}
.add-entry{background:#fff;border:1px solid var(--line);border-radius:11px;margin-top:20px;overflow:hidden}
.add-entry>summary{display:flex;align-items:center;gap:9px;min-height:51px;padding:15px 18px;font-size:12px;font-weight:600;list-style:none;color:#567a4b;cursor:pointer}
.add-entry>summary::-webkit-details-marker{display:none}
.add-entry>summary:hover{background:#f5f8f1}
.add-entry>summary:focus-visible{outline:2px solid #7fb7a1;outline-offset:-4px;border-radius:9px}
.add-entry>summary>[data-icon]{margin-left:auto;color:#9aaa8e}
.add-entry>summary svg{width:15px;height:15px;transition:transform .16s}
.add-entry[open]>summary>[data-icon] svg{transform:rotate(180deg)}
.add-entry[open]>summary{border-bottom:1px solid var(--line)}
.add-entry-plus{font-size:18px;line-height:1;font-weight:400}
.add-entry-body{padding:19px;background:#fafbf7}
.admin-add-form{background:transparent;border:0;padding:0;margin:0;gap:15px;grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-expense-form{grid-template-columns:minmax(0,1fr) auto}
.admin-add-form label,.modal label{font-size:12px;gap:9px;color:#7c8d72}
.admin-add-form input,.admin-add-form select{font-size:12px;background:#fff;border-color:#dce5d3;min-height:42px}
.admin-add-form .button{height:42px;justify-self:start;min-width:114px}
.clear-form-button{font-size:11px;min-height:28px;margin-top:15px}
.add-entry .admin-form-note{margin:0}
.page-editor-heading,.audit-heading{margin:0 0 23px;gap:18px;align-items:flex-start}
.page-editor-heading p,.audit-heading p{margin:8px 0 0}
.page-editor-heading .button,.audit-heading .button{flex-shrink:0}
.page-editor-heading h2{margin:0}
.management-card{padding:23px;border-radius:11px;margin-bottom:19px}
.management-card>h3,.card-heading h3{font-size:16px}
.management-card>label,.gathering-edit-form>label{font-size:12px}
.gathering-edit-form{grid-template-columns:minmax(0,1fr) minmax(135px,.72fr);gap:16px}
.gathering-edit-actions{grid-column:1/-1}
.gathering-add-entry{margin-top:22px}
.new-gathering-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.7fr);gap:17px}
.new-gathering-form>label{display:flex;flex-direction:column;gap:9px;margin:0;font-size:12px;color:#7c8d72}
.new-gathering-form input:not([type="checkbox"]){width:100%;background:#fff;font:inherit;min-height:43px}
.new-gathering-form>.check-label,.new-gathering-form>.admin-form-note{grid-column:1/-1}
.new-gathering-form>button{justify-self:start}
.new-gathering-form>.clear-form-button{margin-top:0;align-self:center;justify-self:end}
#password-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
#password-form>h3,#password-form>label:first-of-type,#password-form>.form-error,#password-form>button{grid-column:1/-1}
#password-form>h3{margin-bottom:0}
#password-form>label{margin:0}
#password-form>button{justify-self:start;margin-top:3px}
#accounts-section .section-hint{max-width:400px}
.page-editor-layout{grid-template-columns:minmax(0,1fr) minmax(180px,.8fr);gap:18px}
.content-editor-card{padding:21px}
.content-preview{padding:0;position:sticky;top:20px}
.content-card-heading h3{font-size:14px}
.content-editor-actions{flex-wrap:wrap;gap:18px;padding:20px;margin-top:20px;border-radius:10px}
.content-action-buttons{flex-wrap:wrap;gap:9px}
.content-action-buttons .button{padding:10px 13px;font-size:11px}
.content-upload-actions{gap:8px}
.content-upload-actions .button{font-size:10px;padding:9px 10px}
.content-editor-card .section-number{display:none}
.audit-heading h2{margin:0}
.audit-heading p{font-size:11px}
.audit-log-card{padding:19px;border-radius:11px}
.history-heading{margin:0 0 24px;gap:18px}
.history-heading>p{margin:0;font-size:12px;color:#8a977e}
.gathering-list{gap:18px}
.gathering-card{padding:24px;border-radius:13px}
.gathering-card h2{font-size:21px;margin-top:20px}
.releases-hero{padding:32px 0 28px}
.releases-hero h1{font-size:28px;letter-spacing:-.6px}
.release-current-card{background:#fff;border-radius:13px;padding:28px}
.release-history-card summary{padding:21px 24px}
.balance-bar{left:216px;padding:15px max(36px,calc((100vw - 216px - 1208px)/2));gap:23px;min-height:84px;background:#ffffffed}
.balance-amount>span{font-size:10px;color:#8a9c80}
.balance-amount>strong{font-size:21px;line-height:1.3}
.balance-result{margin-left:6px;padding-left:25px;gap:9px}
.balance-result strong{font-size:11px;line-height:1.5;margin-bottom:2px}
.balance-result>div>span{font-size:10px}
.balance-live{font-size:10px}
.toast{left:calc(50% + 108px);bottom:105px;font-size:12px}
.empty-card,.loading-card{grid-column:1/-1;padding:44px 24px;border:1px dashed #d7e1ce;border-radius:12px;background:#f9fbf6;box-shadow:none}
.empty-card h3{font-size:16px;margin-top:18px;margin-bottom:9px}
.empty-card p{font-size:12px;line-height:1.9;color:#99a68e}
.admin-empty{padding:24px 20px;font-size:12px;color:#9aa88e}
@keyframes panel-appear{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.ledger-panel,.admin-panels>[role="tabpanel"]{animation:none}.person-card,.add-entry>summary svg{transition:none}}
@media(max-width:1190px){
  .sidebar{width:190px;padding:29px 18px 20px}.brand{font-size:21px}.app-shell{margin-left:190px}.topbar{padding:0 28px}main{padding:0 28px}.balance-bar{left:190px;padding:15px 28px;gap:17px}.balance-result{padding-left:18px;margin-left:0}.balance-live{display:none}.toast{left:calc(50% + 95px)}
  .ledger-overview{gap:25px}.ledger-intro h1{font-size:25px}.hero-total{min-width:215px;width:235px;padding:18px 20px}.hero-amount strong{font-size:35px}.expense-grid{gap:13px}.expense-card{padding:19px}.people-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.person-card{padding:20px}.admin-workspace{grid-template-columns:154px minmax(0,1fr);gap:23px}.admin-tabs{padding-right:13px}.admin-tab{padding:11px 10px;font-size:11px;gap:8px}.page-editor-layout{grid-template-columns:1fr}.content-preview{position:static;max-width:none;display:block}
}
@media(max-width:980px){
  .sidebar{width:176px;padding:27px 15px 20px}.brand{font-size:20px}.brand-mark{grid-template-columns:11px 11px;width:25px}.brand-mark i{height:11px}.workspace-label{margin-top:33px;margin-left:10px;font-size:9px}.nav-item{font-size:12px;padding:12px 10px;gap:9px}.sidebar-figure{border-radius:11px}.app-shell{margin-left:176px}.topbar{padding:0 25px}.topbar-actions{gap:12px}main{padding:0 25px}.balance-bar{left:176px;padding:14px 25px;gap:14px}.balance-amount>strong{font-size:19px}.balance-result{padding-left:14px}.balance-result strong{font-size:10px}.balance-check{width:24px;height:24px}.toast{left:calc(50% + 88px)}
  .ledger-overview{padding-top:28px;gap:18px}.ledger-intro h1{font-size:23px}.hero-total{min-width:195px;width:210px;padding:17px 18px}.hero-amount strong{font-size:32px}.gathering-meta strong{font-size:11px}.gathering-meta{gap:7px}.expense-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.expense-card{display:block;padding:19px}.expense-top{margin-bottom:23px}.expense-amount-group,.expense-participants-group,.expense-allocation{grid-column:auto;grid-row:auto}.participants-caption{margin-top:22px}.expense-allocation{margin-top:12px;padding-top:13px}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-workspace{grid-template-columns:140px minmax(0,1fr);gap:19px}.admin-tab{font-size:11px;gap:8px;padding:11px 9px}.admin-tabs{padding-right:10px}.admin-nav-label{padding-left:9px}.management-card{padding:21px}.admin-row{padding:17px}.admin-row-actions{gap:6px}.admin-delete{font-size:10px;padding:7px 8px}.admin-add-form{grid-template-columns:1fr}.admin-expense-form{grid-template-columns:1fr}.admin-add-form .button{justify-self:stretch}.admin-form-note{font-size:10px}.gathering-edit-form,.new-gathering-form{grid-template-columns:1fr}.gathering-edit-actions,.new-gathering-form>.check-label,.new-gathering-form>.admin-form-note{grid-column:auto}.new-gathering-form>.clear-form-button{justify-self:start}.settlement-summary{gap:10px}.settlement-summary>div{padding:18px 14px}.settlement-summary strong{font-size:22px}.settlement-summary span{font-size:10px}.section-heading h2{font-size:16px}.section-actions{gap:10px}.section-hint{font-size:10px}.section-actions .section-hint{display:none}.gathering-list{grid-template-columns:1fr}
}
@media(max-width:720px){
  .sidebar{position:static;width:auto;padding:20px 20px 0;background:#fff;border:0;border-bottom:1px solid var(--line);gap:0}.brand{font-size:23px}.brand-mark{width:26px;grid-template-columns:11px 11px}.brand-mark i{height:11px}.sidebar .workspace-label,.sidebar-figure{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(65px,1fr));flex-direction:row;gap:5px;border:0;margin:18px -5px 0;padding:0 0 12px}.sidebar .nav-item{justify-content:center;gap:6px;font-size:11px;padding:10px 5px;min-height:39px;border-radius:7px;white-space:nowrap;width:100%;border-bottom:0}.sidebar .nav-item.active{border-bottom:0;background:#edf3e8}.sidebar .nav-item svg{width:14px;height:14px}.sidebar .nav-arrow,.sidebar .nav-lock{display:none}.app-shell{margin:0;padding-bottom:120px}.topbar{height:58px;padding:0 20px;gap:12px;background:#f5f7f3;border:0}.breadcrumb{font-size:10px;gap:8px;white-space:nowrap}.breadcrumb strong{font-size:10px;max-width:30vw}.topbar-actions{gap:9px;min-width:0}.save-status{font-size:9px;max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions .button{font-size:10px;padding:8px 10px;gap:5px;min-height:32px}.topbar-actions .button svg{width:12px;height:12px}main{padding:0 20px}.page-kicker{font-size:9px;letter-spacing:1px;margin-bottom:7px}.ledger-overview{padding:15px 0 18px;gap:14px;align-items:stretch}.ledger-intro{flex:1;display:flex;flex-direction:column;justify-content:center}.ledger-intro h1{font-size:22px;line-height:1.5;letter-spacing:-.5px;margin-bottom:12px}.ledger-intro h1>span{display:block}.gathering-meta{gap:6px;align-items:flex-start;flex-direction:column}.gathering-meta strong{font-size:10px;line-height:1.8}.status-pill{font-size:9px;padding:3px 7px}.hero-total{width:156px;min-width:156px;align-self:stretch;padding:17px 16px;border-radius:11px}.hero-total-top{font-size:9px;gap:8px;align-items:flex-start}.bill-stamp svg{width:17px;height:17px}.hero-amount{margin:16px 0 9px;gap:4px;flex-wrap:wrap}.hero-amount strong{font-size:30px;letter-spacing:-1.2px}.hero-amount strong.is-large{font-size:22px;letter-spacing:-.7px}.hero-amount>span{font-size:17px}.hero-total-bottom{font-size:8px;letter-spacing:.3px}.sync-toolbar{margin:0 0 18px;padding-bottom:10px;gap:10px;flex-wrap:nowrap}.sync-toolbar>div:first-child,.sync-toolbar>div:last-child{width:auto}.sync-toolbar #sync-time{font-size:9px}.sync-toolbar .text-button{font-size:10px;min-height:28px}.guest-banner{padding:11px 12px;gap:9px;margin-bottom:16px}.banner-icon svg{width:14px;height:14px}.guest-banner>div:nth-child(2){display:block;font-size:10px}.guest-banner strong{display:block;font-size:10px;margin-bottom:3px}.guest-banner span{font-size:10px;line-height:1.8}.guest-banner .text-button{font-size:10px;min-height:32px}.guest-banner .text-button>span{margin-left:4px}.ledger-tabs{gap:0;justify-content:space-between;margin-bottom:21px}.ledger-tab{font-size:12px;padding:12px 2px 14px;min-height:46px;gap:6px;flex:1}.ledger-tab svg{width:15px;height:15px}.ledger-tab.active::after{left:12%;right:12%;height:3px}.ledger-panel{min-height:150px}.section-heading{margin-bottom:15px;gap:12px;min-height:34px;align-items:center}.section-heading h2{font-size:16px;line-height:1.6}.section-heading .button{font-size:10px;min-height:32px;padding:8px 10px}.section-actions{gap:0}.expense-grid{grid-template-columns:1fr;gap:14px}.expense-card{display:block;padding:20px;border-radius:12px}.expense-top{margin-bottom:20px;gap:11px}.expense-icon{width:35px;height:35px}.expense-title{font-size:14px}.expense-subtitle{font-size:10px}.field-caption{font-size:11px;margin-bottom:8px}.currency-hint{font-size:9px}.amount-control{height:49px}.amount-input{font-size:25px}.participants-caption{font-size:11px;margin:21px 0 10px}.participants-count{font-size:10px}.participant-picker-button{font-size:11px;min-height:32px;padding:6px 9px}.participants-summary{font-size:11px;min-height:35px;line-height:1.9}.expense-allocation{font-size:10px;padding-top:13px;margin-top:11px;min-height:30px}.expense-allocation strong{font-size:11px}.allocation-help{font-size:11px;padding-top:14px}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.person-card{padding:18px 15px;border-radius:11px}.person-top{margin-bottom:13px}.person-card .avatar{width:36px;height:36px;border-radius:10px}.person-index{font-size:9px}.person-name{font-size:13px}.person-note{font-size:10px;margin:5px 0 17px;min-height:15px}.person-amount-label{font-size:9px;margin-bottom:6px}.person-amount{font-size:25px;letter-spacing:-.7px}.person-amount>span{font-size:12px}.person-net{font-size:10px;gap:6px;line-height:1.8;margin-top:14px}.person-divider{margin:15px 0 12px}.person-chips{gap:4px}.person-chip{font-size:8px;padding:5px}.person-chip.absent{padding:4px}.section-description{font-size:11px;line-height:1.9;margin-bottom:19px}.settlement-section .section-heading{margin-bottom:13px;align-items:center}.settlement-section .section-heading h2{font-size:16px}.settlement-section .section-heading .button{font-size:10px;padding:8px 10px;min-height:32px}.settlement-summary{gap:8px;margin-bottom:16px}.settlement-summary>div{padding:15px 10px;gap:9px;border-radius:10px}.settlement-summary span{font-size:9px;line-height:1.6}.settlement-summary strong{font-size:18px;letter-spacing:-.5px}.settlement-notice{font-size:11px;line-height:1.9;padding:15px}.settlement-ready{padding:18px;margin:17px 0}.settlement-ready>strong{font-size:15px}.settlement-ready>p{font-size:10px}.settlement-transfer{font-size:12px;gap:15px;padding:14px 0}.advance-records-heading{margin-top:24px}.advance-records-heading h3{font-size:14px}.advance-row{padding:16px;gap:10px}.advance-row .admin-row-info strong{font-size:12px}.advance-row .admin-row-info p{font-size:10px}.advance-row .admin-row-actions{width:100%;padding-top:6px;justify-content:flex-end}.admin-hero{padding:17px 0 21px}.admin-hero h1{font-size:25px;line-height:1.5}.admin-hero .page-kicker{margin-bottom:6px}.admin-workspace{display:block}.admin-tabs{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e0e7d9;padding:12px;gap:5px;border-radius:11px;margin:0 0 25px;background:#fff}.admin-nav-label{grid-column:1/-1;padding:2px 6px 7px;font-size:9px;letter-spacing:.5px}.admin-nav-divider{margin:8px 0 0;padding-top:12px;border-top:1px solid #e8ede2}.admin-tab{justify-content:flex-start;gap:6px;width:100%;padding:10px 7px;min-height:38px;font-size:10px;border-radius:6px;line-height:1.6;white-space:nowrap}.admin-tab svg{width:13px;height:13px}.admin-tab.active{background:#eaf1e3}.tab-dirty-dot{width:5px;height:5px;margin-left:auto}.admin-section .section-heading{min-height:28px;margin-bottom:7px}.admin-section .section-heading h2,.page-editor-heading h2,.audit-heading h2{font-size:19px}.panel-description,.page-editor-heading p,.audit-heading p{font-size:11px;line-height:1.9;margin-bottom:18px}.admin-list{border-radius:10px}.admin-row{padding:16px;gap:10px}.admin-row-info strong{font-size:12px}.admin-row-info p{font-size:10px;line-height:1.8}.admin-member-avatar{width:32px;height:32px;border-radius:9px;font-size:12px}.admin-row-actions{gap:5px}.admin-delete{font-size:10px;min-height:31px;padding:7px 9px}.admin-role{font-size:9px;padding:4px 6px}.add-entry{margin-top:17px;border-radius:10px}.add-entry>summary{padding:13px 15px;min-height:49px;font-size:12px}.add-entry-body{padding:17px}.admin-add-form{gap:16px;grid-template-columns:1fr}.admin-add-form label{font-size:11px;gap:8px}.admin-add-form input,.admin-add-form select{font-size:12px;min-height:43px}.admin-add-form .button{height:42px;justify-self:stretch}.admin-form-note{font-size:10px;line-height:1.9;margin-top:14px}.page-editor-heading,.audit-heading{margin:0 0 19px;gap:13px}.page-editor-heading p,.audit-heading p{margin:7px 0 0}.page-editor-heading .button,.audit-heading .button{font-size:10px;padding:8px 10px;min-height:33px}.management-card{padding:19px;margin-bottom:17px;border-radius:10px}.management-card>h3,.card-heading h3{font-size:15px}.gathering-edit-form{grid-template-columns:1fr;gap:16px}.gathering-edit-form>label{margin:0}.gathering-edit-actions{grid-column:auto;gap:12px}.gathering-edit-actions .button{font-size:11px;padding:10px 13px}.gathering-edit-actions>.text-button{font-size:10px}.new-gathering-form{grid-template-columns:1fr;gap:17px}.new-gathering-form>label{font-size:11px}.new-gathering-form>.check-label,.new-gathering-form>.admin-form-note{grid-column:auto}.new-gathering-form>.clear-form-button{justify-self:start}.new-gathering-form>.button{justify-self:stretch;font-size:11px}#password-form{grid-template-columns:1fr;gap:17px}#password-form>h3,#password-form>label:first-of-type,#password-form>.form-error,#password-form>button{grid-column:auto}#password-form>button{justify-self:stretch;font-size:11px}.session-row{gap:13px;align-items:flex-start}.session-row strong{font-size:11px}.session-row p{font-size:10px}.session-row .admin-delete{font-size:10px}.card-heading .text-button{font-size:10px}.backup-facts>div{grid-template-columns:80px minmax(0,1fr);gap:12px;font-size:11px}.content-editor-card{padding:18px}.content-editor-actions{padding:17px;gap:17px}.content-action-buttons{width:100%;gap:8px}.content-action-buttons .button{font-size:10px;flex:1;padding:9px 8px;min-height:37px}.content-editor-actions>div:first-child{font-size:10px}.audit-heading p{max-width:none;font-size:10px}.audit-log-card{padding:17px;border-radius:10px}.audit-log-top{gap:10px}.audit-log-summary{font-size:12px;line-height:1.9}.audit-log-account strong{font-size:12px}.history-heading{margin:0 0 21px;gap:15px}.history-heading>p{font-size:11px;line-height:1.9}.history-heading .button{font-size:10px;min-height:33px;padding:8px 10px}.gathering-card{padding:22px}.gathering-card h2{font-size:20px}.gathering-total{font-size:29px}.releases-hero{padding:17px 0 25px;gap:13px}.releases-hero h1{font-size:24px;line-height:1.5}.release-current-card{padding:22px 20px}.release-current-card h2{font-size:20px}.release-changes li{font-size:12px}.balance-bar{left:0;min-height:88px;padding:13px 20px;gap:10px;display:grid;grid-template-columns:minmax(0,1fr) 13px minmax(0,1.2fr) auto;align-items:center}.balance-amount>span{font-size:9px;line-height:1.5;margin-bottom:6px}.balance-amount>strong{font-size:18px;letter-spacing:-.4px}.balance-equals{font-size:16px;margin:10px 0 0}.balance-result{margin-left:0;padding-left:11px;gap:0;border-left:1px solid #e4eadf;display:block;max-width:90px}.balance-result .balance-check{display:none}.balance-result strong{font-size:9px;line-height:1.6;margin-bottom:4px;white-space:normal}.balance-result>div>span{font-size:8px;white-space:normal;line-height:1.6;display:block}.balance-live{display:none}.toast{left:50%;bottom:107px;font-size:11px;max-width:calc(100vw - 32px)}.empty-card,.loading-card{padding:37px 23px}.empty-card h3{font-size:15px}.empty-card p{font-size:11px}.admin-empty{font-size:11px;padding:22px 17px}.alert{font-size:11px}.sync-alert{padding:13px;font-size:11px;gap:10px}.sync-alert .save-retry{white-space:nowrap}.modal label{font-size:11px}
}
@media(max-width:375px){
  .sidebar{padding:18px 16px 0}.sidebar nav{gap:3px}.sidebar .nav-item{font-size:10px;padding:10px 4px;gap:5px}.sidebar .nav-item svg{width:12px;height:12px}.topbar{padding:0 16px}.topbar-actions{gap:7px}.save-status{max-width:68px;font-size:8px}.topbar-actions .button{font-size:9px;padding:7px 8px}.breadcrumb{font-size:9px;gap:6px}.breadcrumb strong{font-size:9px;max-width:26vw}main{padding:0 16px}.ledger-intro h1{font-size:20px}.hero-total{min-width:139px;width:139px;padding:16px 13px}.hero-amount strong{font-size:27px}.hero-amount strong.is-large{font-size:21px}.hero-total-top{font-size:8px}.hero-amount>span{font-size:15px}.bill-stamp svg{width:15px;height:15px}.gathering-meta strong{font-size:9px}.ledger-tab{font-size:11px;gap:5px}.ledger-tab svg{width:14px;height:14px}.section-heading h2{font-size:15px}.section-heading .button{font-size:9px;padding:8px}.expense-card{padding:18px}.people-grid{gap:9px}.person-card{padding:16px 12px}.person-amount{font-size:23px}.person-name{font-size:12px}.person-net{font-size:9px}.settlement-summary>div{padding:14px 9px}.settlement-summary strong{font-size:16px}.settlement-summary span{font-size:8px}.admin-tabs{padding:10px;gap:4px}.admin-tab{font-size:9px;padding:10px 6px;gap:5px}.admin-tab svg{width:12px;height:12px}.admin-row{padding:14px 12px;gap:8px;flex-wrap:wrap}.admin-row-info{flex:1;min-width:95px}.admin-row-actions{margin-left:auto}.admin-delete{font-size:9px;padding:6px 8px;min-height:29px}.balance-bar{padding:13px 16px;gap:8px;grid-template-columns:minmax(0,1fr) 10px minmax(0,1.2fr) auto}.balance-amount>span{font-size:8px}.balance-amount>strong{font-size:16px}.balance-result{padding-left:9px;max-width:79px}.balance-result strong{font-size:8px}.balance-result>div>span{font-size:8px}.content-action-buttons .button{font-size:9px}
}
/* Keep the compact mobile audit strip on one row; reset the legacy two-row grid. */
@media(max-width:720px){
  .balance-result{grid-column:auto;grid-row:auto;max-width:92px}
  .balance-result>div{display:block}
  .balance-result strong{font-size:10px}
  .balance-result>div>span{font-size:9px}
  .balance-amount>strong{overflow-wrap:anywhere}
}

/* A single bill: add a dish, choose who ate it, see each person's amount. */
.bill-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0 20px}
.bill-title{min-width:0}
.bill-title h1{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:27px;line-height:1.4;letter-spacing:-.5px;margin:0;color:var(--ink);font-weight:650}
.bill-title-note{font-size:11px;letter-spacing:0;padding:5px 9px;border-radius:6px;background:#eaf1e6;color:#668161;font-weight:500;white-space:nowrap}
.bill-title>p{margin:11px 0 0;font-size:12px;line-height:1.8;color:#7c8d7b;max-width:520px}
.bill-total{display:flex;align-items:center;gap:14px;flex-shrink:0;background:#edf3e7;border:1px solid #dfe8d9;padding:15px 21px;border-radius:12px}
.bill-total>span{font-size:11px;color:#748b68;white-space:nowrap}
.bill-total strong{display:flex;align-items:baseline;gap:5px;font-size:32px;line-height:1.2;font-weight:600;letter-spacing:-.6px;color:#355d41;overflow-wrap:anywhere}
.bill-total strong>span:first-child{font-size:17px;font-weight:500}
.bill-total #hero-total.is-large{font-size:24px}
.bill-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:25px}
.bill-primary-actions,.bill-sync{display:flex;align-items:center;gap:17px;min-width:0}
.bill-primary-actions>.button{padding:11px 17px;font-size:12px;min-height:42px}
.bill-primary-actions>#reset-bill{font-size:11px;color:#8d9787;font-weight:400;padding:5px 0}
.bill-primary-actions>#reset-bill:hover{color:var(--red)}
.bill-sync{gap:11px;font-size:10px;color:#8a9983}
.bill-sync #sync-time{overflow-wrap:anywhere}
.bill-sync .text-button{font-size:10px;min-height:28px}
.bill-workspace{display:grid;grid-template-columns:minmax(0,1fr) 294px;grid-template-areas:"expenses people";gap:25px;align-items:start}
.bill-workspace:has(#people-section[hidden]){grid-template-columns:1fr;grid-template-areas:"expenses"}
.bill-workspace .people-section{grid-area:people;margin:0;min-width:0}
.bill-workspace .expenses-section{grid-area:expenses;margin:0;min-width:0}
.bill-workspace .section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px;min-height:32px}
.bill-workspace .section-heading h2{font-size:16px;line-height:1.5;margin:0;font-weight:650;letter-spacing:-.2px}
.bill-workspace .section-heading>.text-button{font-size:10px;min-height:28px;white-space:nowrap}
.bill-workspace .section-hint{font-size:10px}
.bill-workspace .expense-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.bill-workspace .expense-card{padding:20px;border-radius:11px;min-width:0}
.bill-workspace .expense-top{gap:10px;margin-bottom:18px;align-items:center;flex-wrap:wrap}
.bill-workspace .expense-icon{width:32px;height:32px;border-radius:9px;flex-shrink:0}
.bill-workspace .expense-title{font-size:14px;line-height:1.6;overflow-wrap:anywhere;min-width:0;flex:1}
.bill-workspace .expense-card-actions{display:flex;gap:5px;align-items:center}
.bill-workspace .expense-card-actions .text-button{font-size:10px;min-height:26px;padding:3px 5px}
.bill-workspace .expense-card-actions .danger-text{color:#b77e71}
.bill-workspace .field-caption{font-size:10px;line-height:1.6;margin-bottom:7px}
.bill-workspace .currency-hint{font-size:9px;color:#9aa48f}
.bill-workspace .amount-control{height:43px;background:#fafbf7;padding:0 11px}
.bill-workspace .amount-input{font-size:23px;line-height:1.3}
.bill-workspace .participants-caption{margin:18px 0 7px;font-size:11px;line-height:1.6;align-items:center}
.bill-workspace .participants-count{font-size:10px;white-space:nowrap}
.bill-workspace .participants-summary{font-size:11px;line-height:1.8;min-height:20px;margin:0 0 9px;color:#6e8469;overflow-wrap:anywhere}
.bill-workspace .participant-picker-button{min-height:31px;padding:6px 10px;font-size:10px;width:100%;justify-content:center}
.bill-workspace .expense-allocation{margin-top:13px;padding-top:11px;font-size:10px;line-height:1.7}
.bill-workspace .expense-allocation strong{font-size:11px}
.bill-workspace .people-grid{display:grid;grid-template-columns:1fr;gap:10px}
.bill-workspace .person-card{display:grid;grid-template-columns:33px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:2px 9px;padding:13px 14px;border-radius:10px;min-height:73px;box-shadow:none}
.bill-workspace .person-card:hover{transform:none;box-shadow:0 3px 12px #283d3209}
.bill-workspace .person-top{grid-column:1;grid-row:1/3;margin:0}
.bill-workspace .person-top .avatar{width:33px;height:33px;border-radius:10px;font-size:13px}
.bill-workspace .person-name{grid-column:2;grid-row:1;font-size:12px;line-height:1.6;margin:0;min-width:0;overflow-wrap:anywhere;align-items:center;gap:5px;justify-content:flex-start;text-align:left}
.bill-workspace .person-name svg{height:12px;width:12px;flex-shrink:0}
.bill-workspace .person-amount-label{grid-column:2;grid-row:2;margin:0;font-size:9px;line-height:1.6;color:#8c9b81}
.bill-workspace .person-amount{grid-column:3;grid-row:1/3;font-size:21px;line-height:1.3;letter-spacing:-.3px;white-space:nowrap;text-align:right}
.bill-workspace .person-amount.is-large{font-size:16px}
.bill-workspace .person-amount>span{font-size:11px}
.bill-workspace .person-net{grid-column:1/-1;margin:9px 0 0;padding-top:9px;border-top:1px solid #e9eee4;font-size:10px;line-height:1.7;gap:3px}
.bill-workspace .person-index,.bill-workspace .person-note,.bill-workspace .person-chips,.bill-workspace .person-divider{display:none}
.bill-workspace .empty-card{padding:35px 22px;grid-column:1/-1}
.bill-workspace .empty-card-icon{display:none}
.bill-workspace .empty-card h3{margin:0 0 15px;font-size:15px}
.bill-workspace .empty-card .button{font-size:11px;min-height:37px}
.bill-extra{margin:26px 0 0;padding:0;border:1px solid var(--line);border-radius:11px;background:#fff}
.bill-extra>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:16px 19px;font-size:12px;font-weight:550;color:#607858;min-height:54px}
.bill-extra>summary::-webkit-details-marker{display:none}
.bill-extra>summary>svg{width:16px;height:16px;margin-left:auto;flex-shrink:0;transition:transform .15s}
.bill-extra>summary>span[data-icon]{margin-left:auto}
.bill-extra>summary>span[data-icon] svg{width:16px;height:16px}
.bill-extra[open]>summary>span[data-icon]{transform:rotate(180deg)}
.bill-extra>summary .optional-label{font-size:10px;font-weight:400;color:#9aa68f}
.bill-extra[open]>summary{border-bottom:1px solid var(--line)}
.bill-extra-body{padding:21px}
.bill-extra-body .section-heading{margin-bottom:17px}
.bill-extra-body .section-heading h2{font-size:15px}
.bill-extra-body .settlement-summary{margin-top:0}
.bill-extra-body .settlement-summary>div{padding:15px}
.bill-extra-body .settlement-summary strong{font-size:22px}
.bill-extra-body .settlement-plan{margin-top:18px}
.dish-participants{min-width:0;border:0;padding:0;margin:23px 0}
.dish-participants>legend{font-size:12px;font-weight:600;color:#526e4d;padding:0;margin:0 0 9px}
.dish-participants .participant-picker-tools{margin:0 0 10px;gap:10px;font-size:11px}
.dish-participants .participant-picker-tools .text-button{font-size:11px;min-height:26px}
.expense-editor-modal .participant-picker-list{max-height:256px;overflow:auto;display:grid;gap:8px;overscroll-behavior:contain}
.expense-editor-modal .participant-picker-list label{margin:0}
.expense-editor-modal .dialog-actions{margin-top:19px}
.expense-editor-modal .dialog-description{font-size:12px}
#reset-bill-dialog .dialog-description{line-height:1.9}
#reset-bill-dialog #reset-bill-confirm{background:#a15f4c;border-color:#a15f4c;color:#fff}
.admin-workspace{grid-template-columns:170px minmax(0,1fr)}
.admin-tabs{padding-top:0}
.admin-tab{min-height:43px}
@media(max-width:1100px) and (min-width:721px){
  .bill-workspace{grid-template-columns:minmax(0,1fr) 250px;gap:19px}
  .bill-workspace .expense-grid{grid-template-columns:1fr}
  .bill-workspace .expense-card{padding:19px}
  .bill-workspace .person-card{grid-template-columns:29px minmax(0,1fr) auto;padding:12px 11px;gap:2px 7px}
  .bill-workspace .person-top .avatar{width:29px;height:29px;font-size:12px}
  .bill-workspace .person-name{font-size:11px}
  .bill-workspace .person-amount{font-size:19px}
  .bill-total{padding:14px 17px;gap:11px}
  .bill-total strong{font-size:29px}
  .bill-title h1{font-size:25px;gap:9px}
  .bill-title>p{font-size:11px}
  .bill-sync{width:100%;justify-content:flex-end}
  .bill-tools{gap:9px}
  .admin-workspace{grid-template-columns:150px minmax(0,1fr)}
}
@media(max-width:720px){
  .bill-heading{align-items:flex-start;gap:15px;padding:24px 0 17px}
  .bill-title h1{font-size:22px;gap:8px;line-height:1.5}
  .bill-title-note{font-size:9px;padding:4px 6px;line-height:1.5}
  .bill-title>p{font-size:10px;line-height:1.8;margin-top:9px}
  .bill-total{display:block;min-width:116px;padding:13px 12px;border-radius:10px}
  .bill-total>span{display:block;font-size:9px;margin-bottom:8px}
  .bill-total strong{font-size:26px;letter-spacing:-.5px;gap:4px}
  .bill-total strong>span:first-child{font-size:13px}
  .bill-total #hero-total.is-large{font-size:19px}
  .bill-tools{gap:12px;margin-bottom:20px;padding-bottom:17px}
  .bill-primary-actions{gap:14px;flex-wrap:wrap}
  .bill-primary-actions>.button{font-size:11px;min-height:39px;padding:10px 14px}
  .bill-primary-actions>#reset-bill{font-size:10px}
  .bill-sync{width:100%;justify-content:space-between;font-size:9px}
  .bill-sync .text-button{font-size:10px;min-height:23px}
  .bill-workspace{display:grid;grid-template-columns:1fr;grid-template-areas:"people" "expenses";gap:25px}
  .bill-workspace .section-heading{margin-bottom:12px;min-height:28px;gap:10px}
  .bill-workspace .section-heading h2{font-size:15px}
  .bill-workspace .section-heading>.text-button{font-size:10px;min-height:25px}
  .bill-workspace .section-hint{font-size:9px}
  .bill-workspace .people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .bill-workspace .person-card{grid-template-columns:26px minmax(0,1fr);gap:5px 7px;padding:11px;min-height:82px;border-radius:9px}
  .bill-workspace .person-top{grid-column:1;grid-row:1;margin:0}
  .bill-workspace .person-top .avatar{width:26px;height:26px;border-radius:8px;font-size:11px}
  .bill-workspace .person-name{grid-column:2;grid-row:1;font-size:11px;line-height:1.5}
  .bill-workspace .person-name svg{width:10px;height:10px}
  .bill-workspace .person-amount-label{display:none}
  .bill-workspace .person-amount{grid-column:1/-1;grid-row:2;text-align:left;font-size:21px;margin-top:3px;line-height:1.25}
  .bill-workspace .person-amount.is-large{font-size:16px}
  .bill-workspace .person-amount>span{font-size:11px}
  .bill-workspace .person-net{grid-column:1/-1;font-size:9px;margin-top:5px;padding-top:6px;line-height:1.6}
  .bill-workspace .expense-grid{grid-template-columns:1fr;gap:13px}
  .bill-workspace .expense-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 16px;padding:17px;border-radius:10px}
  .bill-workspace .expense-top{grid-column:1/-1;margin-bottom:16px;gap:9px}
  .bill-workspace .expense-icon{height:31px;width:31px}
  .bill-workspace .expense-title{font-size:14px}
  .bill-workspace .expense-amount-group{grid-column:1}
  .bill-workspace .expense-participants-group{grid-column:2;min-width:0}
  .bill-workspace .amount-control{height:42px;padding:0 10px}
  .bill-workspace .amount-input{font-size:21px}
  .bill-workspace .field-caption{font-size:10px;margin-bottom:7px;min-height:16px}
  .bill-workspace .currency-hint{display:none}
  .bill-workspace .participants-caption{margin:0 0 7px;font-size:10px;min-height:16px;gap:7px}
  .bill-workspace .participants-count{font-size:9px}
  .bill-workspace .participants-summary{font-size:10px;line-height:1.7;min-height:27px;margin:0 0 7px}
  .bill-workspace .participant-picker-button{min-height:29px;font-size:10px;padding:5px 8px}
  .bill-workspace .participant-picker-button svg{width:13px;height:13px}
  .bill-workspace .expense-allocation{grid-column:1/-1;margin-top:12px;padding-top:10px;font-size:10px}
  .bill-workspace .expense-allocation strong{font-size:11px}
  .bill-workspace .field-error{font-size:10px}
  .bill-workspace .empty-card{padding:28px 20px}
  .bill-extra{margin-top:22px;border-radius:10px}
  .bill-extra>summary{padding:14px 15px;font-size:11px;min-height:49px;gap:9px}
  .bill-extra>summary .optional-label{font-size:9px}
  .bill-extra-body{padding:17px}
  .bill-extra-body .settlement-summary>div{padding:13px 9px}
  .bill-extra-body .settlement-summary strong{font-size:19px}
  .bill-extra-body .settlement-summary span{font-size:9px}
  .bill-extra-body .section-heading h2{font-size:14px}
  .dish-participants>legend{font-size:11px}
  .expense-editor-modal .participant-picker-list{max-height:223px}
  .admin-workspace{display:block}
  .admin-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:10px;margin-bottom:22px}
  .admin-tab{font-size:10px;padding:10px 7px;min-height:39px}
}
@media(max-width:375px){
  .bill-title h1{font-size:20px}
  .bill-heading{gap:11px}
  .bill-total{min-width:107px;padding:12px 10px}
  .bill-total strong{font-size:24px}
  .bill-total>span{font-size:8px}
  .bill-tools{gap:9px}
  .bill-primary-actions{gap:12px}
  .bill-primary-actions>.button{font-size:10px;padding:9px 12px;min-height:37px}
  .bill-primary-actions>#reset-bill{font-size:9px}
  .bill-workspace .person-card{padding:10px;gap:4px 6px}
  .bill-workspace .person-amount{font-size:19px}
  .bill-workspace .expense-card{padding:15px;gap:0 12px}
  .bill-workspace .amount-input{font-size:20px}
  .bill-workspace .expense-title{font-size:13px}
  .bill-extra>summary{padding:13px;font-size:10px}
  .bill-extra>summary .optional-label{font-size:8px}
}

.access-view{max-width:600px;margin:80px auto;text-align:center;padding:40px 24px;background:#fff;border:1px solid var(--line);border-radius:16px}.access-symbol{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:16px;background:#edf3e8;color:#56764c}.access-symbol svg{width:26px;height:26px}.access-view h1{font-size:25px;margin:23px 0 14px}.access-view p{font-size:13px;line-height:1.9;color:#7d8a73;margin-bottom:28px}.access-view .form-error{margin-top:18px}@media(max-width:720px){.access-view{margin:34px auto;padding:32px 18px}.access-view h1{font-size:21px}}
