:root{--bg:#f4f6fb;--surface:#fff;--surface-2:#eaeef6;--ink:#16213a;--muted:#5b6b85;--border:#dde3ee;--accent:#2e5aac;--accent-ink:#1e3e7d;--accent-soft:#e1e9fa;--good:#1e7a3d;--good-soft:#ddf0e3;--gold:#b4822e;--gold-soft:#f3e9d4;--danger:#b3382b;--danger-soft:#f5dcd8;--danger-ink:#8f291f;--shadow:0 1px 2px #0f172a0d, 0 10px 26px -10px #0f172a2e;--shadow-hover:0 2px 4px #0f172a0f, 0 16px 32px -12px #0f172a3d;--btn-shadow:0 4px 12px #1e3e7d47;--radius:18px;--hover-filter:brightness(.97);--progress-track:#c7d2e8;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0e1420;--surface:#141b2b;--surface-2:#1b2436;--ink:#e7ecf7;--muted:#8fa0be;--border:#28324a;--accent:#6c93e0;--accent-ink:#afc6f2;--accent-soft:#1c2a46;--good:#4abe79;--good-soft:#173225;--gold:#d9a85c;--gold-soft:#2e2617;--danger:#e08877;--danger-soft:#33201c;--danger-ink:#f2a79a;--shadow:0 1px 2px #0000004d, 0 14px 30px -12px #000000a6;--shadow-hover:0 2px 4px #00000059, 0 20px 40px -14px #000000b3;--btn-shadow:0 4px 14px #0000008c;--hover-filter:brightness(1.14);--progress-track:#3a4a6b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#0e1420;--surface:#141b2b;--surface-2:#1b2436;--ink:#e7ecf7;--muted:#8fa0be;--border:#28324a;--accent:#6c93e0;--accent-ink:#afc6f2;--accent-soft:#1c2a46;--good:#4abe79;--good-soft:#173225;--gold:#d9a85c;--gold-soft:#2e2617;--danger:#e08877;--danger-soft:#33201c;--danger-ink:#f2a79a;--shadow:0 1px 2px #0000004d, 0 14px 30px -12px #000000a6;--shadow-hover:0 2px 4px #00000059, 0 20px 40px -14px #000000b3;--btn-shadow:0 4px 14px #0000008c;--hover-filter:brightness(1.14);--progress-track:#3a4a6b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--ink);margin:0;font-family:IBM Plex Sans,ui-sans-serif,system-ui,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.5}h1,h2,h3,h4{letter-spacing:-.01em;text-wrap:balance;margin:0;font-weight:600}p{margin:0}a{color:var(--accent-ink);text-decoration:none}a:hover{text-decoration:underline}.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum";font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Consolas,monospace}code,.mono{font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.92em}.icon{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.topbar{border-bottom:1px solid var(--border);background:var(--surface);z-index:10;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;padding:12px 20px;display:flex;position:sticky;top:0}.topbar .brand{color:var(--ink);cursor:pointer;background:0 0;border:none;align-items:center;gap:9px;padding:0;font-size:16px;font-weight:700;display:flex}.topbar .brand .icon{width:20px;height:20px;color:var(--accent)}.topbar .brand:hover{text-decoration:none}.topbar .right{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.topbar .who{color:var(--muted);align-items:center;gap:6px;font-size:13.5px;display:flex}.topbar .who b{color:var(--ink);font-weight:600}.admin-badge{text-transform:uppercase;letter-spacing:.04em;background:var(--gold-soft);color:var(--gold);border-radius:5px;padding:2px 6px;font-size:10px;font-weight:700}.nav-badge{background:var(--danger);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 4px;font-family:IBM Plex Sans,sans-serif;font-size:10px;font-weight:700;line-height:1;display:inline-flex}.nav-menu{position:static}.nav-menu>summary{list-style:none}.nav-menu>summary::-webkit-details-marker{display:none}.nav-toggle{display:none}.nav-menu>.right{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}@media (width<=760px){.topbar{flex-wrap:nowrap}.topbar .brand{gap:10px;font-size:19px}.topbar .brand .icon{width:24px;height:24px}.nav-menu{position:relative}.nav-toggle{border:1px solid var(--border);background:var(--surface-2);width:38px;height:38px;color:var(--ink);cursor:pointer;border-radius:8px;flex:none;justify-content:center;align-items:center;display:flex}.nav-menu[open]>.right{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);z-index:30;flex-direction:column;align-items:stretch;gap:8px;width:250px;max-width:calc(100vw - 32px);padding:14px;position:absolute;top:calc(100% + 8px);right:0}.nav-menu[open]>.right .who{border-bottom:1px solid var(--border);order:-1;margin-bottom:2px;padding-bottom:10px}.nav-menu[open]>.right a.btn,.nav-menu[open]>.right form,.nav-menu[open]>.right .theme-toggle,.nav-menu[open]>.right button.btn{width:100%}.nav-menu[open]>.right a.btn,.nav-menu[open]>.right button.btn,.nav-menu[open]>.right .theme-toggle{justify-content:flex-start}}.app-shell{flex-direction:column;min-height:100dvh;display:flex}.app-shell>.shell{box-sizing:border-box;flex:1 0 auto;width:100%}.shell{max-width:960px;margin:0 auto;padding:28px 20px 60px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.page-head h1{font-size:24px}.breadcrumb{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;font-size:13px;display:flex}.breadcrumb a{color:var(--muted)}.report-payment-btn.mobile-only{display:none}@media (width<=640px){.report-payment-btn.desktop-only{display:none}.report-payment-btn.mobile-only{display:inline-flex}.chain-actions{justify-content:flex-end}.chain-actions .export-btn{display:none}}.btn{font:inherit;cursor:pointer;background:var(--surface-2);color:var(--ink);border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:9px 15px;font-size:14px;font-weight:600;transition:filter .12s,border-color .15s,background-color .15s,color .15s,transform .1s,box-shadow .15s;display:inline-flex}.btn:hover{filter:var(--hover-filter);text-decoration:none}.btn:active{transform:scale(.97)}.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn.ghost:hover{border-color:var(--accent)}.btn.ghost.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink)}.btn.primary{background:linear-gradient(135deg, var(--accent), var(--accent-ink));color:#fff;box-shadow:var(--btn-shadow)}.btn.gold{background:var(--gold);color:#231a0c}.btn.danger{background:linear-gradient(135deg, var(--danger), var(--danger-ink));color:#fff;box-shadow:var(--btn-shadow)}.btn.ghost{border-color:var(--border);background:0 0}.btn.small{border-radius:9px;padding:6px 11px;font-size:12.5px}.btn.block{width:100%}.btn .icon{width:16px;height:16px}.btn:disabled{cursor:progress;opacity:.85}.btn:after{content:"";border:2px solid #0000;border-radius:50%;flex:none;width:0;height:0;margin-left:0;display:inline-block}.btn.is-loading:after{opacity:.85;border-color:currentColor currentColor currentColor #0000;width:13px;height:13px;margin-left:1px;transition:width .12s .3s,height .12s .3s,margin-left .12s .3s,opacity .12s .3s;animation:.6s linear infinite btn-spin}@keyframes btn-spin{to{transform:rotate(360deg)}}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow)}.card .card-body{padding:18px 20px}.card .card-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:14px 20px;display:flex}.card .card-head h3{font-size:15px}form.stack{flex-direction:column;gap:14px;display:flex}.field{flex-direction:column;gap:5px;display:flex}.field label{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:12.5px;font-weight:600}.field input,.field select,.field textarea{font:inherit;border:1px solid var(--border);background:var(--bg);color:var(--ink);border-radius:7px;width:100%;padding:9px 11px;font-size:14.5px}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--accent);outline-offset:-1px;border-color:var(--accent)}.field .hint{color:var(--muted);font-size:12px}.field-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=520px){.field-row{grid-template-columns:1fr}.rule-field{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 10px;display:flex}}.alert{border-radius:8px;align-items:flex-start;gap:9px;padding:11px 14px;font-size:13.5px;display:flex}.alert.error{background:var(--danger-soft);color:var(--danger)}.alert.ok{background:var(--accent-soft);color:var(--accent-ink)}.alert .icon{margin-top:1px}.auth-page{flex-direction:column;min-height:100dvh;padding:20px;display:flex}.auth-wrap{flex:1;justify-content:center;align-items:center;min-height:0;padding-top:8vh;display:flex}.auth-card{width:100%;max-width:380px}.auth-brand{text-align:center;flex-direction:column;align-items:center;gap:6px;margin-bottom:16px;display:flex}.auth-brand-row{align-items:center;gap:10px;display:flex}.auth-brand .icon-wrap{background:var(--accent-soft);width:44px;height:44px;color:var(--accent-ink);border-radius:12px;justify-content:center;align-items:center;display:flex}.auth-brand-icon{color:var(--accent-ink);display:flex}.auth-brand-icon .icon{width:36px;height:36px}.auth-brand h1{white-space:nowrap;font-size:20px}.auth-brand p{color:var(--muted);font-size:13.5px}.auth-foot{text-align:center;color:var(--muted);margin-top:12px;font-size:13px}.auth-page footer.app-footer{flex:none;padding:12px 0 0}.auth-page .card .card-body{padding:16px 18px}.auth-page form.stack{gap:12px}@media (width<=600px){.auth-wrap{justify-content:flex-start}.auth-brand{gap:8px;margin-bottom:24px}.auth-brand-icon .icon{width:46px;height:46px}.auth-brand h1{font-size:clamp(16.5px,6vw,25px)}.auth-brand p{font-size:14.5px}}.stat-row{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px;display:grid}@media (width<=640px){.stat-row{grid-template-columns:1fr 1fr}}@media (width<=440px){.stat-row{grid-template-columns:1fr}}.stat{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px}.stat .label{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);align-items:center;gap:6px;font-size:11.5px;display:flex}.stat .value{margin-top:6px;font-size:21px;font-weight:700}.section-title{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);justify-content:space-between;align-items:center;margin:26px 0 10px;font-size:12.5px;font-weight:700;display:flex;position:relative}.card-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}@media (width<=640px){.card-grid{grid-template-columns:1fr}}.entity-card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:9px;padding:15px 16px;transition:box-shadow .15s,transform .15s;display:flex}.entity-card:hover{box-shadow:var(--shadow-hover);text-decoration:none;transform:translateY(-2px)}.entity-card .top{justify-content:space-between;align-items:center;gap:8px;display:flex}.entity-card .name{color:var(--ink);font-size:15px;font-weight:650}.entity-card .amount{font-size:19px;font-weight:700}.meta{color:var(--muted);flex-wrap:wrap;gap:4px 10px;font-size:12.5px;display:flex}.icon-wrap{border-radius:11px;flex:none;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.icon-wrap.accent{background:var(--accent-soft);color:var(--accent-ink)}.icon-wrap.gold{background:var(--gold-soft);color:var(--gold)}.chain-card-icon{width:22px;height:22px}.fade-in{animation:.15s ease-out fade-in}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.fade-in{animation:none!important}.btn.is-loading:after{transition:none!important}}.badge{text-transform:uppercase;letter-spacing:.03em;border-radius:999px;padding:2px 8px;font-size:10.5px;font-weight:700}.badge.good{background:var(--good-soft);color:var(--good)}.badge.neutral{background:var(--surface-2);color:var(--muted)}.badge.warn{background:var(--gold-soft);color:var(--gold)}.badge.bad{background:var(--danger-soft);color:var(--danger)}.empty{text-align:center;color:var(--muted);padding:36px 20px}.empty .icon{opacity:.6;width:30px;height:30px;margin-bottom:10px}.notification-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.notification-text{min-width:0}.notification-title{font-weight:650}.notification-body{margin-top:4px}.notification-actions{flex-direction:column;flex:none;gap:6px;display:flex}@media (width<=560px){.notification-row{flex-direction:column;align-items:stretch;gap:10px}.notification-title{font-size:14px}.notification-body{font-size:13px}.notification-actions{flex-direction:row}.notification-actions .btn{flex:1}}.tabs{border-bottom:1px solid var(--border);gap:4px;margin-bottom:18px;display:flex;overflow-x:auto}.tab{font:inherit;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:10px 14px;font-size:13.5px;font-weight:600;display:flex}.tab:hover{color:var(--ink)}.tab.active{color:var(--accent-ink);border-bottom-color:var(--accent)}.progress{gap:6px;height:14px;display:flex}.progress-seg{background:var(--progress-track);border-radius:7px;flex:1;min-width:6px;transition:background-color .2s}.progress-seg.filled{background:linear-gradient(90deg, var(--accent), var(--accent-ink))}.table-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}table.data-table{border-collapse:collapse;width:100%;font-size:13.5px}table.data-table th{text-align:left;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);border-bottom:1px solid var(--border);padding:0 12px 8px;font-size:11px;font-weight:700}table.data-table td{border-bottom:1px solid var(--border);vertical-align:top;padding:10px 12px}table.data-table tr:last-child td{border-bottom:none}.amt{text-align:right;white-space:nowrap;font-weight:650}@media (width<=560px){table.data-table thead{display:none}table.data-table,table.data-table tbody{width:100%;display:block}table.data-table tr{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:baseline;column-gap:8px;padding:10px 0;display:flex}table.data-table td{border:none;padding:1px 0;display:block}table.data-table td:first-child{color:var(--muted);order:1;font-size:12px}table.data-table td:nth-child(2){order:1}table.data-table td:nth-child(3){flex-basis:100%;order:3;margin-top:4px}table.data-table .amt{text-align:right;order:2;margin-left:auto;font-size:15px}}.mobile-card-list{display:none}@media (width<=640px){.desktop-only-table{display:none}.mobile-card-list{display:block}}.member-card,.round-card{background:var(--surface);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;gap:6px;margin-bottom:10px;padding:13px 14px;display:flex}.member-card:last-child,.round-card:last-child{margin-bottom:0}.member-card-body{align-items:flex-start;gap:11px;display:flex}.member-card-content{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.member-card-top,.round-card-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 10px;display:flex}.member-card-top-right{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.member-card-name-row,.round-card-beneficiary-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;display:flex}.member-card-name,.round-card-number{color:var(--ink);font-size:14.5px;font-weight:650}.round-card-beneficiary{color:var(--ink);font-size:14px}.round-card-bottom-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.round-card-action{color:var(--accent-ink);font-size:13.5px;font-weight:600;text-decoration:none}.round-card-action:hover{text-decoration:underline}.amt.pos{color:var(--accent-ink)}.amt.neg{color:var(--danger)}.type-tag{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:11px}.theme-toggle{border:1px solid var(--border);font:inherit;color:var(--ink);cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:6px;padding:6px 11px;font-size:12.5px;font-weight:600;transition:border-color .15s,transform .1s;display:flex}.theme-toggle:hover{border-color:var(--accent)}.theme-toggle:active{transform:scale(.97)}.theme-toggle .icon{width:16px;height:16px}footer.app-footer{text-align:center;color:var(--muted);padding:20px;font-size:12px}.pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 12px;margin-top:12px;display:flex}@media (width<=560px){.pagination .hint{text-align:center;flex-basis:100%;order:-1}}.modal-backdrop{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);z-index:100;background:#10162473;justify-content:center;align-items:center;padding:20px;animation:.15s ease-out modal-backdrop-in;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);width:100%;max-width:420px;max-height:calc(100vh - 40px);animation:.18s cubic-bezier(.25,.85,.35,1.15) modal-in;overflow-y:auto}.modal-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.modal-head h3{font-size:16px}.modal-close{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;transition:background-color .15s,color .15s;display:flex}.modal-close:hover{background:var(--surface-2);color:var(--ink)}.modal-body{padding:20px}@keyframes modal-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:scale(.96)translateY(6px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.modal-backdrop,.modal{animation:none!important}}.splash{background:var(--bg);min-height:100dvh;color:var(--ink);flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex}.splash-mark{background:var(--accent-soft);width:56px;height:56px;color:var(--accent-ink);border-radius:16px;justify-content:center;align-items:center;animation:1.6s ease-in-out infinite splash-pulse;display:flex}.splash-mark .icon{width:30px;height:30px}.splash-word{letter-spacing:-.01em;font-size:17px;font-weight:600}.splash-spinner{border:2.5px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:22px;height:22px;animation:.7s linear infinite btn-spin}@keyframes splash-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.85;transform:scale(1.055)}}@media (prefers-reduced-motion:reduce){.splash-mark,.splash-spinner{animation:none!important}}.page-loader{justify-content:center;align-items:center;min-height:40vh;display:flex}.page-loader-spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:26px;height:26px;animation:.7s linear infinite btn-spin}@media (prefers-reduced-motion:reduce){.page-loader-spinner{animation:none!important}}.copy-chip{color:var(--muted);background:var(--surface-2);cursor:pointer;border:none;border-radius:6px;align-items:center;gap:4px;padding:2px 7px;font-family:IBM Plex Mono,ui-monospace,monospace;font-size:12px;display:inline-flex}.copy-chip:hover{color:var(--ink)}.copy-chip .icon{width:12px;height:12px}
