
:root{color-scheme:light;--bg:#f2f3f6;--surface:#fff;--ink:#17191e;--muted:#68717e;--faint:#e7e9ee;--brand:#e23d4c;--rose:#fff0f1;--green:#21834e;--radius:22px;--curve:cubic-bezier(.22,1,.36,1);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans CJK SC","Microsoft YaHei",system-ui,sans-serif;font-synthesis:none;-webkit-tap-highlight-color:transparent}
*,*::before,*::after{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.5;-webkit-text-size-adjust:100%}button,input,textarea,select{font:inherit;color:inherit}button{border:0;background:none;padding:0;cursor:pointer;touch-action:manipulation}button:disabled{opacity:.34;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--brand);outline-offset:3px}button:not(:disabled):active{filter:brightness(.95)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:760;letter-spacing:-.045em;line-height:1.22}h2{font-size:20px;letter-spacing:-.035em;font-weight:730}h3{font-size:15px;font-weight:680}small,.mute{color:var(--muted)}small{font-size:12px}svg.icon{display:inline-block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}a{color:var(--brand)}
.app{min-height:100dvh;max-width:540px;margin:auto;position:relative}.main{padding:0 18px calc(98px + env(safe-area-inset-bottom,0px));min-width:0}.content{min-width:0}.top{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:78px;margin:0 -18px 8px;padding:calc(12px + env(safe-area-inset-top,0px)) 18px 10px;background:#f2f3f6ed;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.tophead{min-width:0;display:flex;align-items:center;gap:9px}.tophead h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topright,.row-buttons,.toolbar{display:flex;align-items:center;gap:8px}.topright{flex:none}.topright>span{font-size:12px;font-weight:580;color:#5c6574;white-space:nowrap}.header-date{display:flex;align-items:center;gap:7px}.header-date .icon{width:15px;height:15px}.header-kicker{display:block;color:#68717e;font-size:10px;letter-spacing:.12em;font-weight:700;margin-bottom:3px}.app.subpage .rail{display:none}.app.subpage .main{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}.app.subpage .top{min-height:64px;margin-bottom:13px}.app.subpage h1{font-size:21px;letter-spacing:-.02em}.app.subpage .tophead{gap:7px}.app.subpage .tophead>.icon-button{color:var(--brand);background:transparent;width:32px;min-height:44px}.app.subpage .tophead>.icon-button .icon{width:23px;height:23px;stroke-width:2.3}
.rail{position:fixed;z-index:8;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,540px);padding:8px 14px calc(8px + env(safe-area-inset-bottom,0px));background:#ffffffed;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-top:1px solid #dce0e8;box-shadow:0 -5px 28px #131c3210}.rail .brand{display:none}.nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#737b89;font-size:11px;font-weight:560;min-height:53px;position:relative}.nav-glyph{display:grid;place-items:center;width:55px;height:31px;border-radius:11px;transition:background .18s,color .18s}.nav .icon{width:23px;height:23px}.nav button[aria-current=page]{color:var(--brand);font-weight:720}.nav button[aria-current=page] .nav-glyph{background:#fff0f1}.nav button[aria-current=page] .icon{stroke-width:2.05}
.primary,.soft,.quiet,.danger,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border-radius:12px;padding:0 14px;font-size:14px;font-weight:650;white-space:nowrap;transition:background .16s,transform .16s}.primary{background:var(--brand);color:#fff}.soft{background:#fff0f1;color:#c92f40}.quiet{background:#eff1f5;color:#556071}.danger{background:#fff0ee;color:#c83d35}.icon-button{width:44px;padding:0;background:#e9ecf2;color:#536070}.icon-button .icon{width:19px;height:19px}.primary:not(:disabled):active,.soft:not(:disabled):active,.quiet:not(:disabled):active,.danger:not(:disabled):active,.icon-button:not(:disabled):active{transform:scale(.97)}
.axis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:4px;background:#e4e7ed;border-radius:13px;position:relative;isolation:isolate;min-width:0}.axis::before{content:"";position:absolute;z-index:-1;left:4px;top:4px;bottom:4px;width:calc((100% - 11px)/2);background:#fff;border-radius:10px;box-shadow:0 1px 4px #18263814;transition:transform .22s var(--curve)}.axis[data-index="1"]::before{transform:translateX(calc(100% + 3px))}.axis button{min-height:35px;padding:4px 8px;font-size:13px;color:#626b79;white-space:nowrap;font-weight:620}.axis button[aria-pressed=true]{color:#20252f;font-weight:730}
.home-grid{display:grid;gap:27px}.hero-stack{display:grid;gap:12px;min-width:0}.home-controls{display:grid;grid-template-columns:1fr 1.16fr;gap:10px}.hero-stage{width:100%;perspective:1300px}.hero{position:relative;isolation:isolate;overflow:hidden;background:#1b2537;color:#fff;border-radius:25px;box-shadow:0 8px 21px #18253b24;transform-origin:center}.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 100% 0%,#344f78 0%,transparent 65%);pointer-events:none}.hero-inner{min-height:253px;padding:17px 18px 14px;display:flex;flex-direction:column;gap:10px}.hero-label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:620;color:#d8e4f5}.hero-symbol{display:grid;place-items:center;width:31px;height:31px;background:#ffffff13;border:1px solid #ffffff16;border-radius:10px;color:#c5d9ff}.hero-symbol .icon{width:17px;height:17px}.hero-label .kicker{margin-left:auto;font-size:11px;color:#c0cde0;font-weight:500;white-space:nowrap}.hero-data{display:flex;align-items:baseline;justify-content:space-between;gap:9px}.hero-value{font-size:53px;line-height:1.05;font-weight:700;letter-spacing:-.06em;font-variant-numeric:tabular-nums;white-space:nowrap}.hero-value.money{font-size:clamp(34px,10vw,46px)}.hero-unit{font-size:24px;letter-spacing:0;margin-right:4px;font-weight:530;color:#c6d7f3}.hero-value small{font-size:15px;font-weight:540;letter-spacing:0;margin-left:7px;color:#c0cde0}.hero-meta{margin-top:auto;border-top:1px solid #ffffff18;padding-top:10px;color:#c6d2e6;font-size:12px;display:flex;gap:14px}.hero-meta b{color:#fff;margin-left:5px;font-size:14px}.hero-link{color:#cbe0ff;margin-left:auto}.chart-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin:0 -3px;padding:0 3px}.chart-scroll::-webkit-scrollbar{display:none}.hero-chart{display:grid;align-items:end;gap:0;width:100%;min-width:0}.hero-chart.by-date{grid-template-columns:repeat(7,minmax(38px,1fr));min-width:266px}.hero-chart.by-person{display:flex;width:max-content;min-width:100%;justify-content:flex-end}.hero-chart.by-person .chart-column{flex:0 0 57px}.chart-column{min-width:0;text-align:center;padding:0 2px 3px;border-radius:8px;width:100%;color:#d2def0}.chart-column:active{background:#ffffff15}.hero-chart .bar-slot{height:78px;display:flex;align-items:end;justify-content:center;background:linear-gradient(to top,#ffffff13 1px,transparent 1px)}.bar-fill{position:relative;display:block;min-height:2px;width:min(59%,30px);border-radius:5px 5px 1px 1px;background:#6689c1}.chart-column.last .bar-fill{background:#91c5ff}.chart-value{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);font-size:10px;line-height:19px;font-weight:600;color:#eff5ff;font-variant-numeric:tabular-nums;white-space:nowrap}.chart-day{display:block;margin-top:5px;font-size:10px;color:#c0cde0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-empty{height:95px;display:grid;place-items:center;color:#bdc9dc;font-size:13px}
.queue{min-width:0}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 1px 12px}.section-head h2{font-size:20px}.section-head small{font-size:12px}.tabs{display:flex;position:relative;gap:4px;overflow:auto;scrollbar-width:none;touch-action:pan-y pinch-zoom;border-bottom:1px solid #dde1e8;margin-bottom:13px}.tabs::-webkit-scrollbar{display:none}.tab{position:relative;flex:1 0 auto;min-height:43px;padding:0 8px 4px;white-space:nowrap;color:#657080;font-size:13px;font-weight:580}.tab[aria-pressed=true]{color:#d33343;font-weight:730}.tab[aria-pressed=true]::after{content:"";position:absolute;bottom:0;left:50%;height:3px;width:25px;border-radius:5px;background:var(--brand);transform:translateX(calc(-50% + var(--tab-offset,0px)));transition:transform var(--tab-motion,0s)}.tab small{display:inline-block;vertical-align:1px;margin-left:5px;padding:1px 6px;background:#e2e6ed;color:#6b7585;border-radius:20px;font-size:10px;font-weight:700}.tab[aria-pressed=true] small{background:#fce5e8;color:#e23d4c}
.card-list,.user-grid{display:grid;grid-template-columns:1fr;gap:10px}.user-card,.panel,.post-card,.empty,.info-rows{background:var(--surface);border:0;border-radius:var(--radius);box-shadow:0 2px 10px #15283d06;min-width:0}.user-card{overflow:hidden}.user-head{width:100%;min-height:77px;display:flex;align-items:center;gap:11px;text-align:left;padding:13px 14px}.avatar{width:44px;height:44px;display:grid;place-items:center;flex:none;border-radius:15px;color:#ce4854;background:#fcebed;font-size:19px;font-weight:720}.avatar[data-tone="1"]{background:#e3f4ec;color:#287c58}.avatar[data-tone="2"]{background:#eee9fc;color:#785bb2}.avatar[data-tone="3"]{background:#f9ede0;color:#a4692e}.user-id{min-width:0;flex:1}.user-id strong{display:block;font-size:16px;font-weight:720;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-id small,.metric small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#68717e;margin-top:3px}.metric{text-align:right;flex:none;min-width:0;max-width:43%;font-variant-numeric:tabular-nums}.metric strong{display:block;font-size:16px;font-weight:700;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric em{font-style:normal;font-size:12px;color:#68717e}.user-head>.icon{color:#a5adba;width:14px;height:14px}.user-actions{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:5px;margin:0 12px;padding:5px 0 9px;border-top:1px solid #edf0f4}.user-actions button{min-height:44px;border-radius:10px;font-size:13px;gap:5px}.user-actions .quiet{background:transparent;color:#667180}.user-actions .soft{background:transparent;color:#e23d4c}.user-actions .primary{background:#fff0f1;color:#e23d4c}.user-actions .icon{width:15px;height:15px}.pill{display:inline-flex;align-items:center;padding:4px 8px;background:#eef1f5;color:#606b7b;font-size:11px;border-radius:7px;white-space:nowrap;font-weight:650}.pill.good{background:#e4f5eb;color:#237a4c}.pill.warn{background:#fff0e7;color:#b75129}.empty{grid-column:1/-1;min-height:100px;display:grid;place-items:center;text-align:center;color:#76808f;padding:22px;font-size:14px}.empty::before{content:"";width:27px;height:19px;border:1.5px solid #b2bac7;border-radius:5px;box-shadow:inset 0 -5px #e9edf2;align-self:end;margin-bottom:6px}
.filters,.posts-toolbar{display:grid;gap:10px;position:sticky;top:78px;z-index:4;background:#f2f3f6f5;padding:0 0 9px;margin-bottom:10px;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}.search{display:flex;align-items:center;gap:9px;border:1px solid transparent;background:#e5e8ee;color:#7c8696;border-radius:13px;padding:0 12px;min-height:46px;min-width:0}.search .icon{width:19px;height:19px}.search input{background:transparent;border:0;outline:none!important;min-width:0;width:100%;flex:1;font-size:16px;padding:10px 0}.search input::placeholder{color:#6c7787;font-size:14px}.search:focus-within{background:#fff;border-color:#efa2aa}.filter-line{display:flex;justify-content:space-between;align-items:center;gap:8px}.filter-line .soft{min-height:44px;background:#fff;color:#404b5d;border:1px solid #e5e9ef;padding:0 11px;font-size:13px}.filter-line .icon{width:16px;height:16px}.menu-anchor{position:relative}.menu{position:absolute;left:0;top:calc(100% + 6px);width:190px;z-index:10;background:#fff;border-radius:15px;box-shadow:0 12px 32px #1a29452e;padding:5px;border:1px solid #edf0f4}.menu button,.menu label{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;border-radius:10px;padding:9px 12px;text-align:left;font-size:14px;color:#4c596b}.menu button[aria-pressed=true]{color:#e23d4c;background:#fff0f1;font-weight:700}.menu button[aria-pressed=true]::after{content:'✓'}.fab{position:fixed;z-index:6;bottom:calc(83px + env(safe-area-inset-bottom,0px));right:max(18px,calc((100vw - 540px)/2 + 18px));display:flex;align-items:center;justify-content:center;gap:6px;background:var(--brand);color:white;height:49px;padding:0 16px;border-radius:25px;box-shadow:0 6px 20px #d8374938;font-size:14px;font-weight:680}.fab [data-icon]{display:flex}.fab .icon{width:21px;height:21px}.user-grid{padding-bottom:38px}.search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.search-form .primary{min-width:62px}.posts-toolbar>.axis{width:100%}.posts-toolbar .tabs{margin-bottom:0}.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.post-card{display:block;text-align:left;width:100%;overflow:hidden;border-radius:17px}.cover{display:block;position:relative;aspect-ratio:3/4;background:#e8eaf0;overflow:hidden}.cover img,.detail-cover img{display:block;width:100%;height:100%;object-fit:contain}.cover>.pill{position:absolute;left:8px;top:8px;background:#fff;box-shadow:0 1px 5px #0002}.post-card-body{padding:10px 10px 12px}.post-card-body strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;font-weight:660;line-height:1.45;min-height:40px}.post-card-body small{display:flex;align-items:center;gap:5px;margin-top:6px;font-size:11px;color:#68717e}.post-card-body .icon{width:14px;height:14px;color:#71819a}
.settings{display:grid;gap:20px;min-width:0}.setting-group h2{font-size:12px;letter-spacing:.025em;margin:0 0 7px 10px;color:#727d8e;font-weight:630}.info-rows{overflow:hidden;border-radius:19px}.setting-row,.record{width:100%;display:flex;align-items:center;justify-content:space-between;gap:9px;text-align:left;min-height:58px;padding:10px 14px}.setting-row+.setting-row,.record+.record{position:relative}.setting-row+.setting-row::before,.record+.record::before{content:"";position:absolute;top:0;left:14px;right:0;height:1px;background:#edf0f4;pointer-events:none}.row-name,.row-value{display:flex;align-items:center;gap:8px;min-width:0}.row-name{font-weight:570;font-size:15px;flex:1}.row-value{font-size:13px;color:#687383;justify-content:flex-end;text-align:right;max-width:70%}.row-value .icon{width:14px;height:14px;color:#a0aab9}.row-symbol{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#fff0f1;color:#e23d4c;flex:none}.row-symbol .icon{width:16px;height:16px}.row-symbol.green{background:#e1f5ea;color:#19834d}.row-symbol.purple{background:#eeeaf9;color:#785bb2}.row-symbol.orange{background:#fff1e1;color:#ae6c27}.logout-row{justify-content:center;color:#d13c38;font-weight:650;gap:8px}.logout-row .icon{width:18px;height:18px}.switch{display:block;flex:none;width:49px;height:29px;background:#d8dce4;border-radius:40px;position:relative;transition:background .22s}.switch::after{content:"";position:absolute;left:3px;top:3px;width:23px;height:23px;background:#fff;border-radius:50%;box-shadow:0 1px 4px #0002;transition:transform .22s var(--curve)}[role=switch][aria-checked=true] .switch{background:#34b76a}[role=switch][aria-checked=true] .switch::after{transform:translateX(20px)}.stepper{display:grid;grid-template-columns:40px 45px 40px;align-items:center;background:#eff1f5;border-radius:11px;overflow:hidden;flex:none}.stepper .icon-button{width:40px;min-height:44px;background:transparent;color:#e23d4c;border-radius:0}.stepper input{width:100%;min-width:0;appearance:textfield;border:0;padding:0;background:transparent;text-align:center;font-size:16px;font-weight:680;font-variant-numeric:tabular-nums}.stepper input::-webkit-inner-spin-button,.stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.step-unit{min-width:27px;text-align:left;font-size:11px}.source-list{display:grid;gap:10px}.source{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;background:#fff;border-radius:17px;padding:12px}.source-title{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:0}.source-title strong{font-size:14px}.source-title .pill{font-size:10px}.source .row-buttons{gap:3px}.source .icon-button{width:34px;min-height:44px;border-radius:9px;background:#f1f3f6}.source .icon-button .icon{width:16px;height:16px}.source button[role=switch]{min-height:44px}.source .switch{width:43px;height:25px}.source .switch::after{height:19px;width:19px}.source [role=switch][aria-checked=true] .switch::after{transform:translateX(18px)}
.detail{display:grid;gap:16px;min-width:0}.detail>.panel,.settings .panel{padding:16px}.detail-layout{display:grid;gap:15px}.detail-cover{width:100%;aspect-ratio:3/4;max-height:52dvh;max-width:100%;border-radius:20px;overflow:hidden;background:#e4e8ef;touch-action:pan-y}.detail-summary{display:flex;align-items:center;gap:12px}.detail-summary .avatar{width:57px;height:57px;font-size:25px;border-radius:19px}.detail-summary h2{font-size:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-actions{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:8px;margin-top:15px}.detail-actions button{min-height:44px}.meta-grid{display:flex;gap:6px;flex-wrap:wrap;margin:11px 0 15px}.detail-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;margin:10px 0 17px;color:#3b4655;font-size:15px}.detail-layout .detail>.row-buttons{display:grid;grid-template-columns:44px 1fr 44px;gap:10px}.detail-layout .detail>.row-buttons .icon-button{width:44px}.daybar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:14px 0}.daybar .soft{min-height:44px;flex:1;background:#fff;color:#e23d4c}.daybar .icon-button{width:44px;min-height:44px}.list-total{font-size:27px;font-weight:740;letter-spacing:-.04em;margin:12px 3px 10px;font-variant-numeric:tabular-nums}.record .row-name{display:block;min-width:0;flex:1;overflow-wrap:anywhere}.record .row-name small{display:block;font-size:12px;font-weight:400;margin-top:3px}.record .row-value{flex:none;font-variant-numeric:tabular-nums}.settlement-group{margin-top:17px}.settlement-group .section-head{margin:0 3px 7px}.settlement-group .empty{min-height:70px}.activity-content{margin-top:6px}.end-actions{justify-content:flex-end}.end-actions .primary{min-width:106px}
#dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:540px;max-height:89dvh;overflow:auto;overscroll-behavior:contain;padding:0;background:#fff;color:var(--ink);border:0;border-radius:26px 26px 0 0;box-shadow:0 -15px 55px #101c3830;padding-bottom:env(safe-area-inset-bottom,0px)}#dialog::backdrop{background:#111a3059;backdrop-filter:blur(4px)}#dialog[open]{animation:sheetin .29s var(--curve)}#dialog.closing{pointer-events:none}.sheet-head{position:sticky;top:0;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:2;padding:15px 18px 8px;min-height:66px;border-bottom:1px solid #edf0f3}.sheet-head::before{content:"";width:35px;height:4px;border-radius:10px;background:#cdd3dc;position:absolute;top:6px;left:50%;transform:translateX(-50%)}.sheet-head h2{font-size:19px}.sheet-head .icon-button{width:36px;min-height:36px;border-radius:50%;background:#f0f2f5}.sheet-head .icon-button .icon{width:17px;height:17px}.sheet-body{padding:18px}.sheet-body:empty{padding:0}.sheet-body p{margin-bottom:13px;color:#566171}.dialog-footer{position:sticky;bottom:0;padding:10px 18px 14px;background:#fff;border-top:1px solid #edf0f3}.sheet-foot{display:grid;grid-template-columns:1fr 1.4fr;gap:9px;margin-top:16px}.dialog-footer .sheet-foot{margin:0}.sheet-foot button{min-height:49px}.field{display:grid;gap:7px;margin-bottom:16px;font-size:13px;font-weight:650;color:#556171}.field input,.field textarea,.field select{width:100%;min-width:0;border:1px solid #e5e9f0;background:#f5f6f9;color:#18202d;border-radius:12px;padding:12px;font-size:16px;min-height:47px;font-weight:400}.field textarea{min-height:155px;resize:vertical}.choices{display:flex;flex-wrap:wrap;gap:8px}.choice-group{display:grid;gap:9px;margin:3px 0 19px}.choice-group strong{font-size:14px}.choice{min-height:44px;padding:8px 12px;border-radius:11px;background:#f0f2f6;color:#566171;font-size:13px;font-weight:620;border:1px solid transparent}.choice[aria-pressed=true]{background:#fff0f1;color:#e23d4c;border-color:#f0b7bd;font-weight:730}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.calendar button{min-height:46px;font-size:14px;font-weight:650;border-radius:10px;padding:2px}.calendar button small{display:block;font-size:9px;white-space:nowrap}.calendar button[aria-pressed=true]{background:#fff0f1;color:#e23d4c}.calendar button[aria-pressed=true] small{color:#e23d4c}input[type=checkbox],input[type=radio]{accent-color:var(--brand)}.toast{position:fixed;z-index:20;bottom:calc(86px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);background:#222c3e;color:white;padding:11px 18px;max-width:85vw;border-radius:15px;box-shadow:0 8px 25px #14203830;font-size:14px}.notice-preview{display:grid;gap:10px;justify-items:start}
.login{min-height:100dvh;display:flex;justify-content:center;padding:calc(56px + env(safe-area-inset-top,0px)) 24px 30px;background:radial-gradient(ellipse at 50% 0,#e3edff,transparent 58%),#f2f3f6}.login-shell{width:min(100%,370px)}.login-brand{display:flex;align-items:center;gap:9px;color:#47566c;font-size:14px;font-weight:680}.mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e23d4c;color:#fff}.mark .icon{width:19px;height:19px}.login-identity{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:43px 0 30px}.login-identity .mark{width:66px;height:66px;background:#1e2d47;box-shadow:0 8px 24px #1f355d28;border-radius:21px}.login-identity .mark .icon{width:31px;height:31px}.login-identity h1{font-size:34px}.login-identity p{color:#687383;font-size:14px}.login-form{display:grid;gap:17px}.login-form label{display:block;margin-bottom:6px;color:#495569;font-size:13px;font-weight:650}.login-form input{height:53px;width:100%;padding:12px 14px;background:#fff;border:1px solid #e5e9f0;border-radius:14px;font-size:16px}.login-secret-row{position:relative}.login-secret-row input{padding-right:54px}.login-secret-row button{position:absolute;right:5px;top:5px;background:transparent}.login-form .primary{min-height:52px;margin-top:8px;border-radius:14px;font-size:16px}.login-form .demo{min-height:44px;color:#e23d4c;font-size:14px;font-weight:640}
#homeQueueResults,#postResults{position:relative;touch-action:pan-y pinch-zoom}.swipe-preview{position:absolute;inset:0 0 auto;z-index:2;overflow:hidden;pointer-events:none;background:var(--bg)}.swipe-preview>div{position:absolute;inset:0 0 auto;will-change:transform}.page-in{animation:pagein .22s var(--curve)}.sub-in{animation:subin .25s var(--curve)}.sub-out{animation:subout .2s var(--curve)}@keyframes pagein{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes subin{from{opacity:.6;transform:translateX(14px)}to{opacity:1;transform:none}}@keyframes subout{from{opacity:.65;transform:translateX(-9px)}to{opacity:1;transform:none}}@keyframes sheetin{from{transform:translateY(100%)}to{transform:none}}
@media(max-width:360px){.main{padding-inline:13px}.top{margin-inline:-13px;padding-inline:13px}.hero-inner{padding-inline:13px}.home-controls{gap:7px}.axis button{font-size:12px;padding-inline:5px}.tab{font-size:12px;padding-inline:6px}.stepper{grid-template-columns:35px 40px 35px}.stepper .icon-button{width:35px}.source{padding:10px;gap:5px}.source .icon-button{width:29px}.user-head{padding-inline:11px;gap:8px}.post-grid{gap:8px}.metric strong{font-size:15px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.home-grid,.hero-stack{grid-template-columns:minmax(0,1fr)}.hero-stage,.hero,.hero-inner,.chart-scroll,.home-controls{min-width:0;max-width:100%}.chart-scroll{width:auto}.tophead>div{min-width:0}.filters,.posts-toolbar{top:78px}

/* Compact iOS-style mobile component system. */
:root{--bg:#f5f5f7;--surface:#fff;--ink:#202024;--muted:#77777e;--faint:#e9e9ed;--brand:#e33c4b;--rose:#fff0f1;--radius:17px;--curve:cubic-bezier(.22,1,.36,1);--spring:cubic-bezier(.2,.8,.2,1.12)}
html{overscroll-behavior-y:none;overflow-x:clip}body{overflow-x:clip;font-size:14px;-webkit-font-smoothing:antialiased}.app{max-width:480px}.main{padding:0 16px calc(84px + env(safe-area-inset-bottom,0px))}.top,.app.subpage .top{min-height:60px;margin:0 -16px 7px;padding:calc(8px + env(safe-area-inset-top,0px)) 16px 8px;background:#f5f5f7e8;backdrop-filter:saturate(160%) blur(20px)}h1,.app.subpage h1{font-size:24px;font-weight:720;line-height:1.3;letter-spacing:-.025em}h2,.section-head h2{font-size:17px;letter-spacing:-.015em}.header-date{font-weight:500;color:#797980!important;font-size:12px!important}.header-date .icon{color:#929299}.topright{gap:5px}.top .icon-button{min-height:38px;width:38px;border-radius:50%;background:transparent;color:#5c5c63}.app.subpage .tophead>.icon-button{margin-left:-7px;color:var(--ink);width:34px;min-height:42px}.topright .danger,.topright .primary{min-height:36px;padding-inline:15px;font-size:13px}
.rail{width:min(100%,480px);padding:6px 10px calc(6px + env(safe-area-inset-bottom,0px));border-top:.5px solid #0002;background:#ffffffeb;box-shadow:none;backdrop-filter:saturate(180%) blur(24px)}.nav button{min-height:47px;gap:2px;font-size:11px;color:#8e8e93;font-weight:500;transition:color .2s,transform .32s var(--spring)}.nav-glyph{width:40px;height:28px;transition:transform .32s var(--spring);background:none!important}.nav button[aria-current=page]{font-weight:650}.nav button[aria-current=page] .nav-glyph{transform:translateY(-1px) scale(1.08)}.nav .icon{width:23px;height:23px}.nav button:active{transform:scale(.92)}
button{transition:transform .32s var(--spring),background .18s,color .18s,opacity .18s,box-shadow .18s}button:not(:disabled):active{filter:none;transform:scale(.97);transition-duration:.09s}.primary,.soft,.quiet,.danger{min-height:40px;border-radius:11px;font-weight:600;font-size:13px;padding-inline:12px;letter-spacing:0}.primary{background:var(--brand);box-shadow:0 1px 2px #a51c2930,inset 0 1px 0 #fff3}.soft{background:#fcebed;color:#c62b3d}.quiet{background:#f1f1f4;color:#5c5c64}.danger{background:#fff0f0;color:#d22d3e}.icon-button{background:#eeeef1;color:#65656e;min-height:40px;width:40px;border-radius:12px}.axis{padding:3px;gap:3px;border-radius:11px;background:#e8e8ec}.axis::before{left:3px;top:3px;bottom:3px;width:calc((100% - 9px)/2);border-radius:8px;box-shadow:0 2px 5px #00000010,0 0 0 .5px #00000008;transition:transform .3s var(--curve)}.axis button{min-height:32px;font-size:13px;color:#6e6e76}.axis button[aria-pressed=true]{color:#29292e;font-weight:650}
.home-grid{gap:19px}.hero-stack{gap:9px}.home-controls{grid-template-columns:1fr 1fr;gap:8px}.hero-stage{perspective:none;min-width:0}.hero{background:#fff;color:var(--ink);border-radius:19px;box-shadow:0 0 0 .5px #0000000b,0 3px 12px #00000005;overflow:hidden}.hero::before{display:none}.hero-inner{min-height:0;padding:14px 15px 12px;gap:8px;min-width:0}.hero-label{color:#6c6c75;font-size:13px;gap:6px}.hero-symbol{width:26px;height:26px;background:#fcebed;color:var(--brand);border:0;border-radius:8px}.hero-symbol .icon{width:15px;height:15px}.hero-label .kicker{color:#929299;font-size:11px}.hero-value{font-size:43px;font-weight:740;letter-spacing:-.045em;color:#202024}.hero-value.money{font-size:40px}.hero-value small,.hero-unit{color:#77777e;font-size:14px}.hero-unit{font-size:23px}.hero-meta{border-top:.5px solid #e9e9ed;padding-top:10px;font-size:12px;color:#77777e}.hero-meta b{color:var(--ink);font-size:14px}.hero-link{color:var(--brand)}.chart-scroll{width:100%;max-width:100%;min-width:0;display:block;margin:0;padding:0;overflow-x:scroll;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:none;cursor:grab}.chart-scroll:active{cursor:grabbing}.chart-scroll *{touch-action:auto}.hero-chart.by-person{display:flex;width:max-content!important;min-width:100%;max-width:none;justify-content:flex-start;gap:0}.hero-chart.by-person .chart-column{width:61px;flex:0 0 61px;max-width:61px}.hero-chart.by-date{width:100%;min-width:266px;max-width:none}.chart-column{color:#77777e;padding:0 3px 4px;user-select:none;-webkit-user-select:none}.chart-column:active{background:#f8f8fa}.hero-chart .bar-slot{height:75px;background:linear-gradient(to top,#ececef 1px,transparent 1px)}.bar-fill{background:#f3b4ba;width:28px;border-radius:5px 5px 1px 1px}.chart-column.last .bar-fill{background:var(--brand)}.chart-value{color:#46464e;font-size:11px;font-weight:600}.chart-day{color:#77777e;font-size:11px;margin-top:5px}.chart-empty{color:var(--muted)}
.section-head{margin:0 1px 5px}.tabs{margin-bottom:9px;border-bottom:.5px solid #e4e4e8;gap:0;touch-action:pan-x pan-y}.tab{min-height:40px;font-size:13px;color:#77777e;font-weight:500}.tab[aria-pressed=true]{color:var(--brand);font-weight:650}.tab[aria-pressed=true]::after{height:2.5px;width:22px}.tab small{background:#e9e9ed;color:#77777e;font-weight:600;border-radius:7px;padding:1px 5px}.tab[aria-pressed=true] small{background:#fbe4e7;color:#d33a4a}
.user-card,.panel,.post-card,.info-rows,.empty{border:0;border-radius:17px;box-shadow:0 0 0 .5px #0000000b,0 2px 8px #00000005}.card-list,.user-grid{gap:10px}.user-head{padding:12px 13px;min-height:66px;gap:10px}.avatar{width:40px;height:40px;border-radius:12px;background:#fcebed;color:#c63b4a;box-shadow:inset 0 0 0 .5px #00000008;font-size:17px}.user-id strong{font-size:15px;font-weight:650}.user-id small,.metric small{font-size:11px;color:#77777e}.user-id .created-line{font-size:10px;color:#939399;margin-top:2px}.metric strong{font-size:17px;font-variant-numeric:tabular-nums;letter-spacing:-.025em}.metric{max-width:46%}.user-actions{margin:0 13px;padding:9px 0 11px;gap:7px;border-top:.5px solid #e8e8ec;display:flex;justify-content:flex-end}.user-actions button{flex:1;min-height:35px;border-radius:9px;font-size:12px}.user-actions .icon{width:15px;height:15px}.user-head>.icon{color:#c3c3c9;width:15px;height:15px}.pill{border-radius:6px;font-weight:600}.filters,.posts-toolbar{top:calc(60px + env(safe-area-inset-top,0px));background:#f5f5f7f2;gap:8px;margin-bottom:8px;padding-bottom:7px}.search{min-height:42px;border:0;background:#eaeaee;color:#8b8b93;border-radius:12px;padding-inline:11px}.search input::placeholder{color:#8b8b93;font-size:13px}.search input{padding:9px 0}.search:focus-within{background:#fff;box-shadow:0 0 0 1px #e33c4b70,0 0 0 3px #e33c4b13}.filter-line .soft{min-height:35px;border:0;background:#fff;color:#55555e;box-shadow:0 0 0 .5px #0000000c}.menu{border:0;box-shadow:0 8px 30px #0002}.fab{right:max(16px,calc((100vw - 480px)/2 + 16px));bottom:calc(74px + env(safe-area-inset-bottom,0px));height:44px;font-size:13px;box-shadow:0 5px 14px #d8374940;background:var(--brand)}.post-grid{gap:9px}.post-card{border-radius:13px}.cover{background:#f1f1f3}.post-card-body{padding:9px 10px 10px}.post-card-body strong{font-size:13px;min-height:36px}.post-card-body small,.post-card-body .icon{color:#818188}.settings{gap:17px}.setting-group h2{font-size:12px;color:#85858c;letter-spacing:0}.setting-row{min-height:55px}.row-name{font-size:14px}.row-value{color:#77777e}.row-symbol{background:#fcebed;color:#d13c4a}.switch{background:#e2e2e7;box-shadow:none}.switch::after{box-shadow:0 2px 5px #0002;transition:transform .34s var(--spring)}[role=switch][aria-checked=true] .switch{background:#34c759}.detail{gap:11px}.detail>.panel{padding:15px}.detail-summary .avatar{width:49px;height:49px}.detail-summary h2{font-size:20px}.detail-actions{gap:8px}.detail-actions button{min-height:38px}.profile-facts{display:grid;gap:0;margin-top:12px;padding-top:7px;border-top:.5px solid #e8e8ed}.profile-facts>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;font-size:13px}.profile-facts span{color:var(--muted)}.profile-facts strong{font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}.detail-cover{background:#fff;border-radius:15px}.detail-text{color:#44444b;font-size:14px}.daybar .soft{color:var(--brand)}
#dialog{max-width:480px;border-radius:25px 25px 0 0;box-shadow:0 -14px 45px #0002}#dialog::backdrop{background:#0005;backdrop-filter:blur(6px)}#dialog[open]{animation:sheetin .34s var(--curve)}.sheet-head{padding:16px 16px 9px;min-height:59px;border-bottom:.5px solid #e8e8ed}.sheet-head h2{font-size:18px}.sheet-head .icon-button{background:#f0f0f3}.sheet-body{padding:16px}.dialog-footer{padding-inline:16px}.sheet-foot button{min-height:46px}.field{font-size:13px;color:#55555d}.field input,.field textarea,.field select{background:#f1f1f4;border:0;color:var(--ink);border-radius:11px}.choice{background:#f1f1f4;color:#55555e;min-height:40px}.choice[aria-pressed=true]{background:#fcebed;color:#d13a49;border-color:#f4cbd0}.toast{background:#28282deb;border-radius:30px;box-shadow:0 8px 22px #0002;font-size:13px;animation:toast-in .25s var(--curve)}@keyframes toast-in{from{opacity:0;transform:translate(-50%,8px) scale(.98)}to{opacity:1;transform:translate(-50%,0) scale(1)}}.login{background:var(--bg);padding:calc(48px + env(safe-area-inset-top,0px)) 22px 24px}.login-identity{margin:14px 0 24px;gap:12px}.login-identity .mark{background:var(--brand);box-shadow:0 6px 18px #d43b4c22}.login-identity h1{font-size:30px}.login-form{padding:18px;border-radius:19px;background:white;gap:14px;box-shadow:0 0 0 .5px #0000000b,0 4px 15px #00000005}.login-form input{background:#f4f4f6;border:none;border-radius:12px}.login-form .primary{min-height:48px}.login-form .demo{color:var(--brand)}
.route-ghost{position:fixed;inset:0 auto 0;overflow:hidden;pointer-events:none;background:var(--bg);will-change:transform;contain:paint}.route-ghost .main{position:relative}.route-ghost .top{position:static}.pull-refresh{height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;pointer-events:none;overflow-anchor:none}.pull-refresh i{display:block;width:21px;height:21px;border-radius:50%;border:2px solid #d9d9de;border-top-color:var(--brand)}.pull-refresh.ready i{border-color:#f3c9ce;border-top-color:var(--brand)}.pull-refresh.settling{transition:height .24s var(--curve)}.pull-refresh.refreshing i{animation:pull-spin .7s linear infinite}@keyframes pull-spin{to{transform:rotate(360deg)}}
@media(max-width:350px){.main{padding-inline:12px}.top,.app.subpage .top{margin-inline:-12px;padding-inline:12px}.user-head{padding-inline:10px}.hero-inner{padding-inline:12px}.metric strong{font-size:15px}.hero-chart.by-person .chart-column{flex-basis:57px;width:57px}.tab{padding-inline:6px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}


.user-actions .primary,.detail-actions .primary{background:var(--brand);color:white;box-shadow:0 1px 2px #a51c2924,inset 0 1px 0 #fff3}.user-actions .soft,.detail-actions .soft{background:#fcebed;color:#c62b3d}.user-actions .quiet,.detail-actions .quiet{background:#f1f1f4;color:#5c5c64}.user-actions button{font-size:13px}.user-id .created-line{font-size:11px;letter-spacing:-.15px}.chart-scroll{scrollbar-width:none}.hero-chart.by-person .chart-column{flex-basis:64px;width:64px;max-width:64px}.chart-scroll .chart-column{touch-action:auto}.login-identity .mark{background:var(--brand)}

/* Opaque route surfaces and stable post geometry. */
.detail-cover{max-height:52svh;aspect-ratio:3/4;width:100%;height:auto;overflow:hidden;overflow-anchor:none}
.detail-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.detail-cover{position:relative}
.post-card,.post-card:not(:disabled):active{transform:none!important;filter:none!important;transition:background .15s,box-shadow .15s;animation:none}
.post-card .cover img{position:absolute;inset:0}
.post-card .cover{overflow-anchor:none}
.route-stage{position:fixed;z-index:40;top:0;bottom:0;overflow:hidden;isolation:isolate;background:var(--bg);pointer-events:auto;contain:strict}
.route-stage .route-ghost{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;max-width:none;background:var(--bg);opacity:1!important;overflow:hidden;contain:paint}
.route-stage .route-ghost .main{position:relative;min-height:100%;background:var(--bg);margin:0;transform:none}
.route-stage .route-ghost .top,.route-stage .route-ghost .filters,.route-stage .route-ghost .posts-toolbar{background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none}
.route-stage .route-ghost .rail{position:absolute;bottom:0;left:0;transform:none;width:100%;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
.fab[hidden]{display:none}


/* Inventory snapshot and five count-bearing filter tabs. */
.post-inventory{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:#fff;border-radius:16px;box-shadow:0 0 0 .5px #0000000b,0 2px 8px #00000005;margin:0 0 12px;padding:13px 0;overflow:hidden}
.inventory-item{display:flex;flex-direction:column;gap:4px;padding:0 15px;min-width:0}.inventory-item+.inventory-item{border-left:1px solid #ececf0}.inventory-item>span{font-size:12px;color:var(--muted);font-weight:500}.inventory-item>strong{font-size:27px;line-height:1.15;letter-spacing:-.035em;font-weight:700;font-variant-numeric:tabular-nums}.inventory-item:nth-child(2)>strong{color:var(--brand)}
[data-tabs="post-filter"]{justify-content:space-between;gap:0}[data-tabs="post-filter"] .tab{display:flex;align-items:center;justify-content:center;gap:4px;flex:1 0 auto;padding:0 4px 4px;font-size:12px}[data-tabs="post-filter"] .tab small{margin-left:0;padding:1px 4px;font-size:10px;line-height:15px;font-variant-numeric:tabular-nums}
.header-date{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px!important}.hero-stage{perspective:1300px}.hero{backface-visibility:hidden;-webkit-backface-visibility:hidden;transform-origin:center center}.source-list{position:relative}.source [data-act="drag-source"]{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}.source-sorting{user-select:none;-webkit-user-select:none}.source-placeholder{opacity:0!important;pointer-events:none}.source-floating{position:fixed!important;z-index:80;margin:0!important;pointer-events:none!important;box-sizing:border-box;background:#fff!important;border-color:#f3c5cc!important;box-shadow:0 12px 28px #23131b24,0 0 0 1px #f1c0c8;will-change:top,transform;opacity:1!important}.source-floating [data-act="drag-source"]{color:var(--brand);cursor:grabbing}.source-floating *{pointer-events:none}
@media(max-width:360px){[data-tabs="post-filter"] .tab{font-size:11px;gap:3px;padding-inline:3px}[data-tabs="post-filter"] .tab small{font-size:10px;padding-inline:3px}.header-date{font-size:11px!important}.header-date .icon{width:14px;height:14px}}


/* Fixed footprint: the flip never changes the geometry of the queue. */
.hero-stage{height:258px;min-height:258px;max-height:258px;position:relative;overflow-anchor:none;isolation:isolate;perspective:1300px}
.hero-stage>.hero{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:100%;box-sizing:border-box;will-change:transform;backface-visibility:hidden}
.hero-stage .hero-inner{height:100%;min-height:0;max-height:100%;display:grid;grid-template-rows:28px 54px minmax(0,1fr) 32px;gap:8px;box-sizing:border-box}
.hero-stage .hero-label,.hero-stage .hero-data{min-height:0;align-items:center;flex:none;overflow:hidden}
.hero-stage .chart-scroll,.hero-stage .chart-empty{height:100%;min-height:0;align-self:stretch}
.hero-stage .hero-meta{margin:0;min-height:0;align-items:center;padding-top:8px;white-space:nowrap}
.home-grid,.hero-stack,#homeQueue{overflow-anchor:none;align-content:start;align-items:start}
/* Settlement ledger: shared surface, restrained red, compact individual entries. */
.settle-summary{background:#fff;border-radius:17px;padding:15px;box-shadow:0 0 0 .5px #0000000b,0 2px 8px #00000005;margin:12px 0 16px;display:grid;gap:14px}
.settle-overview{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}.settle-overview>div{display:grid;gap:3px}.settle-caption{font-size:12px;color:var(--muted)}.settle-total{font-size:31px;line-height:1.15;font-weight:720;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:var(--ink)}.settle-total small{font-size:18px;color:inherit;margin-right:2px}.settle-count{text-align:right;color:var(--muted);font-size:12px;padding-bottom:3px}.settle-count strong{color:var(--ink);font-size:20px;font-weight:680;font-variant-numeric:tabular-nums;margin-right:3px}.settle-split{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ededf0;padding-top:13px}.settle-split>div{min-width:0;padding:0 12px;display:grid;gap:4px}.settle-split>div:first-child{padding-left:0;border-right:1px solid #ededf0}.settle-split>div:last-child{padding-right:0}.settle-split label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}.settle-split label i{width:7px;height:7px;border-radius:50%;background:#e53c50}.settle-split>div:nth-child(2) label i{background:#989aa8}.settle-split-values{display:flex;align-items:baseline;justify-content:space-between;gap:4px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.settle-split-values strong{font-size:19px;font-weight:700}.settle-split-values span{font-size:12px;color:var(--muted)}
.settle-detail-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 2px 8px}.settle-detail-title h2{font-size:16px}.settle-detail-title small{font-size:12px;color:var(--muted)}.settlement-ledger{display:grid;gap:13px}.settlement-ledger .settlement-group{margin:0}.settlement-ledger .section-head{padding:0 2px;margin:0 0 7px}.settlement-ledger .section-head h3{font-size:13px;font-weight:650;display:flex;align-items:center;gap:6px}.settlement-ledger .section-head h3 small{font-size:11px;color:var(--muted);font-weight:500}.settlement-ledger .section-head>strong{font-size:13px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--ink)}.invite-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:11px 13px;min-height:57px}.invite-row+.invite-row{border-top:1px solid #f0f0f3}.invite-name{min-width:0;display:grid;gap:3px}.invite-name strong{font-size:14px;font-weight:650;overflow-wrap:anywhere}.invite-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:11px;line-height:1.5;color:var(--muted);font-variant-numeric:tabular-nums}.invite-price{font-size:14px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--ink);white-space:nowrap}.invite-price::first-letter{color:var(--muted)}.settlement-ledger .empty{min-height:48px;padding:13px;font-size:12px}


/* Fixed-width filters and a compact, individual invitation ledger. */
[data-tabs="home-queue"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;overflow:hidden}
[data-tabs="home-queue"] .tab{min-width:0;width:100%;padding-inline:2px;display:flex;align-items:center;justify-content:center;gap:5px;font-variant-numeric:tabular-nums}
[data-tabs="home-queue"] .tab small{margin-left:0;flex:none;min-width:19px;text-align:center}
.home-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.home-controls>div,.axis button{min-width:0}
.equal-filter-choices{display:grid;grid-template-columns:repeat(var(--choice-count),minmax(0,1fr));gap:6px}
.equal-filter-choices .choice{width:100%;min-width:0;padding:7px 2px;white-space:nowrap;font-size:12px}
.filter-line{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:center}.filter-line>.menu-anchor{min-width:0}.filter-line>.soft,.filter-line>.menu-anchor>.soft{width:100%;min-width:0}
.settlement-total{margin:13px 3px 18px;font-size:29px;letter-spacing:-.035em}
.simple-ledger{gap:18px}.simple-ledger .section-head{margin:0 3px 8px;padding:0;align-items:center}.simple-ledger .section-head h3{font-size:15px;font-weight:650;gap:8px}.simple-ledger .section-head h3 small{font-size:12px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}.group-amount{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.settlement-ledger.settlement-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px}
.settlement-columns .settlement-group{margin-top:0}
.settlement-columns .section-head{flex-wrap:wrap;column-gap:6px;row-gap:3px}
.settlement-columns .section-head h3{flex-wrap:wrap;gap:4px}
.settlement-columns .group-amount{margin-left:auto}
.settlement-columns .invite-card{grid-template-columns:minmax(0,1fr);gap:4px;padding:10px 11px}
.settlement-columns .invite-facts{text-align:left;overflow-wrap:anywhere}
.invite-list{display:grid;gap:7px;min-width:0}.invite-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:62px;padding:11px 14px;background:var(--surface);border-radius:var(--radius);box-shadow:0 0 0 .5px #0000000b,0 2px 8px #00000005}.invite-person{font-size:16px;font-weight:650;min-width:0;overflow-wrap:anywhere}.invite-facts{display:grid;gap:3px;text-align:right;font-size:12px;line-height:1.4;color:var(--muted);font-variant-numeric:tabular-nums}.invite-facts>span{color:var(--ink);font-weight:500}.invite-facts time{font-size:11px}
@media(max-width:350px){.equal-filter-choices{gap:4px}.equal-filter-choices .choice{font-size:11px}.invite-card{padding-inline:12px}[data-tabs="home-queue"] .tab{gap:3px}}


/* Source configuration: ordered primary providers and independent cloud service. */
.source-settings{gap:22px}.source-settings .source-section{display:grid;gap:9px;min-width:0}.source-settings .source-section-head{display:flex;align-items:center;justify-content:space-between;padding:0 5px;gap:8px}.source-settings .source-section-head h2{font-size:13px;font-weight:650;letter-spacing:0;color:var(--muted)}.source-settings .source-section-head small{font-size:11px;color:var(--muted)}.source-settings .source-list{margin:0;gap:8px}.source-settings .source{padding:10px 11px;gap:7px;border:1px solid var(--faint);border-radius:16px;min-height:67px}.source-settings .source-title{display:flex;align-items:flex-start;flex-direction:column;gap:3px}.source-settings .source-title strong{font-size:14px;line-height:20px;overflow-wrap:anywhere}.source-settings .source-title .pill{padding:2px 6px;font-size:10px;line-height:15px}.source-settings .source .row-buttons{gap:3px}.source-settings .source .icon-button{width:30px;min-height:36px;border-radius:9px;background:#f1f2f5}.source-settings .source .icon-button[data-act=drag-source]{background:transparent;color:var(--muted);width:30px;min-height:44px}.source-settings .source .switch{width:42px;height:25px}.source-settings .source [role=switch][aria-checked=true] .switch::after{transform:translateX(17px)}.source-service{background:#fff;border:1px solid var(--faint);border-radius:18px;padding:14px;display:grid;gap:11px}.source-service-main{display:flex;align-items:center;gap:10px;min-width:0}.source-service-glyph{display:grid;place-items:center;width:42px;height:42px;flex:none;background:#e7f4ed;color:#248458;border-radius:12px}.source-service-glyph .icon{width:23px;height:23px}.source-service-copy{flex:1;min-width:0;display:grid;gap:2px}.source-service-copy strong{font-size:15px;font-weight:700}.source-service-copy small{font-size:12px;color:var(--muted)}.source-service-main button{min-height:44px;flex:none}.source-service-status{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);line-height:1.5}.source-service-status .source-status-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#b1b4bb}.source-service-status[data-on=true] .source-status-dot{background:#27ac64}.source-service-status[data-on=true]{color:#257b50}.source-service[data-on=false] .source-service-glyph{background:#eff0f3;color:#858994}.source-settings .source-section-head h2{margin:0}.source-settings .axis{width:100%}@media(max-width:350px){.source-settings .source{padding:9px 8px;gap:5px}.source-settings .source .icon-button{width:26px}.source-settings .source .icon-button[data-act=drag-source]{width:27px}.source-settings .source-title strong{font-size:13px}.source-service{padding:12px}}

.source-threshold{border-top:1px solid var(--faint);padding-top:4px}.source-threshold .setting-row{padding:5px 0 0;min-height:49px}.source-threshold .row-name{font-size:14px}
.loading-cards{display:grid;gap:10px}.loading-card{padding:17px;min-height:70px;background:#fff;border-radius:16px;display:grid;align-content:center;gap:10px}.loading-card i{display:block;width:42%;height:11px;border-radius:9px;background:#e8ebf1;animation:zz-pulse 1.35s ease-in-out infinite alternate}.loading-card i+ i{width:67%;height:8px}.loading-cards.hero-skel .loading-card{min-height:160px}.post-gap,.page-tail,.post-grid>.loading-cards,.post-grid>.empty{grid-column:1/-1}.page-tail{text-align:center;color:#777e8c;padding:12px;font-size:13px}.empty button{margin-top:10px}@keyframes zz-pulse{to{opacity:.38}}@media(prefers-reduced-motion:reduce){.loading-card i{animation:none}}

dialog.fallback-modal{z-index:50;box-shadow:0 0 0 200vmax #20263280}

#userSearch{display:flex;gap:8px;margin-bottom:8px}#userSearch .search{flex:1;min-width:0}#userSearch button{flex:none}
