:root{--bg:#f5f6f8;--panel:#fff;--ink:#202b35;--muted:#7b8794;--line:#e9edf1;--green:#167d67;--pale:#edf7f3;--orange:#ce9144;--nav:#182b2a}*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--ink);font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button,input,select{outline-offset:3px}a{color:var(--green)}.layout{display:grid;grid-template-columns:232px 1fr;min-height:100vh}.sidebar{background:var(--nav);color:#b8c9c5;position:fixed;inset:0 auto 0 0;width:232px;padding:34px 20px 20px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;color:white;margin:0 10px 38px;font-weight:650;font-size:20px;letter-spacing:1px}.brandmark{width:35px;height:35px;display:grid;place-items:center;background:#398974;border-radius:11px}.brand small{font-weight:400;font-size:10px;color:#9eb6ae;letter-spacing:2px;display:block;margin-top:4px}.nav-label{font-size:11px;letter-spacing:2px;color:#72948a;padding:0 16px;margin-bottom:12px}.nav{display:grid;gap:7px}.nav button{border:0;color:#b8c9c5;background:none;text-align:left;padding:13px 16px;border-radius:8px;display:flex;align-items:center;gap:13px}.nav button:hover{background:#203c36}.nav button.active{background:#2b5146;color:#fff}.nav svg{width:18px;height:18px}.side-note{margin-top:auto;border:1px solid #345048;border-radius:10px;padding:15px;font-size:12px;line-height:1.8;color:#90aaa1}.side-note b{color:#c7dcd3;font-weight:500;display:block;margin-bottom:3px}.identity{display:flex;align-items:center;gap:10px;margin:22px 8px 0}.avatar{width:35px;height:35px;border-radius:50%;background:#d6e8dd;color:#385f50;display:grid;place-items:center;font-weight:600}.identity .name{color:#e5ede9;font-size:13px}.identity small{display:block;color:#829a91;font-size:11px;margin-top:4px}.side-actions{display:flex;gap:15px;margin:14px 9px 0}.side-actions button{padding:0;background:none;border:0;color:#9db2a9;font-size:11px}.main{grid-column:2;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{color:#85918f;font-size:12px}.breadcrumb span{color:#344d45;margin-left:12px}.top-right{display:flex;align-items:center;gap:20px;font-size:12px;color:var(--muted)}.live{display:flex;gap:7px;align-items:center}.dot{width:6px;height:6px;background:#54a28c;border-radius:50%}.content{padding:34px 38px 24px;max-width:1600px;margin:0 auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}.eyebrow{font-size:10px;color:#84978c;letter-spacing:2px;margin-bottom:8px}.heading h1{font-size:26px;font-weight:600;letter-spacing:1px;margin:0 0 9px}.subtitle{color:var(--muted);font-size:12px;line-height:1.7}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.btn{border:1px solid #dde5e1;border-radius:7px;padding:10px 16px;background:white;color:#45584e;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.btn.primary{background:var(--green);color:#fff;border-color:var(--green)}.btn.small{font-size:12px;padding:7px 11px}.btn svg{width:16px;height:16px}.notice{padding:12px 17px;border-radius:8px;background:#eef4f1;border:1px solid #e1ebe4;color:#608273;font-size:12px;margin-bottom:23px;display:flex;align-items:center;gap:10px;line-height:1.8}.notice.warn{background:#fff7e9;border-color:#f2e7d1;color:#9f742f}.notice svg{width:16px;height:16px;flex:none}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.stat{background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:22px;min-height:151px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#687c72;font-size:12px}.stat-icon{height:31px;width:31px;border-radius:8px;background:#f0f5f2;display:grid;place-items:center;color:#4d8771}.stat-icon svg{height:17px;width:17px}.stat-value{font-size:31px;font-weight:650;letter-spacing:-1px;margin:13px 0 10px;font-variant-numeric:tabular-nums}.stat-value .currency{font-size:20px;margin-right:5px;font-weight:500}.stat-foot{font-size:11px;color:#97a29b}.stat.featured{background:#197b65;border-color:#197b65;color:white}.featured .stat-top{color:#d9ece5}.featured .stat-icon{background:#328a76;color:#e3f3eb}.featured .stat-foot{color:#b7d6ca}.panel{background:var(--panel);border:1px solid var(--line);border-radius:11px;margin-bottom:23px;overflow:hidden}.panel-head{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h2{font-size:15px;margin:0;font-weight:600}.panel-head p{font-size:11px;color:var(--muted);margin:7px 0 0}.pill{font-size:11px;background:#edf6f0;color:#51816b;border-radius:5px;padding:5px 9px;white-space:nowrap}.pill.pending{background:#faf2e4;color:#ac8038}.pill.gray{background:#f0f2f5;color:#82909b}.chart-wrap{padding:0 24px 20px;min-height:225px}.chart{width:100%;height:220px;display:block}.chart text{font-family:inherit;font-size:11px;fill:#96a39d}.chart .grid{stroke:#edf1ee;stroke-dasharray:4 5}.legend{font-size:11px;color:#7d8f84;display:flex;gap:8px;align-items:center}.legend i{width:8px;height:8px;background:var(--green);border-radius:50%}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:11px;color:#88958e;font-weight:400;background:#fafbfc;padding:13px 24px;border-block:1px solid var(--line)}td{padding:16px 24px;font-size:12px;border-bottom:1px solid #f0f2f3}tbody tr:last-child td{border-bottom:0}.account-cell{display:flex;align-items:center;gap:10px}.account-avatar{width:32px;height:32px;background:#eaf2eb;color:#60816a;border-radius:8px;display:grid;place-items:center}.account-cell strong{font-size:12px;font-weight:500}.account-cell small{display:block;font-size:10px;color:#9ba69f;margin-top:5px}.num{font-variant-numeric:tabular-nums}.income{color:#247e63;font-weight:600}.table-footer{padding:13px 24px;color:#98a49b;font-size:11px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;line-height:1.8}.empty{text-align:center;padding:48px 20px;color:#8b9b91;font-size:13px;line-height:2}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:grid;gap:8px;font-size:12px}.field label{color:#5f7468}.field input,.field select,.filter{border:1px solid #e0e6e2;border-radius:6px;padding:11px 12px;background:white;color:#3b5146;min-width:0;width:100%}.filter{padding:8px 11px;width:auto;max-width:220px;font-size:12px}.form-panel{padding:24px}.form-panel .btn{margin-top:20px}.helper{color:#8c9b92;font-size:11px;line-height:1.9;margin-top:8px}.upload-box{border:1.5px dashed #b8d0c2;background:#f8fbf9;text-align:center;padding:42px 20px;border-radius:10px;cursor:pointer}.upload-box.drag{background:#e5f2eb;border-color:var(--green)}.upload-box svg{width:36px;height:36px;color:var(--green);margin-bottom:12px}.upload-box h3{font-size:16px;font-weight:500;margin:0 0 10px}.upload-box p{font-size:12px;color:#91a397;line-height:1.9}.upload-box input{display:block;margin:22px auto 0;max-width:100%;font-size:12px}.two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:23px}.rule-list{padding:0 24px 24px;line-height:2.2;font-size:12px;color:#74897b}.rule-list p{margin:10px 0}.rule-number{display:inline-grid;place-items:center;width:20px;height:20px;background:#edf5ef;border-radius:50%;font-size:10px;margin-right:9px;color:#679276}.progress-msg{padding:16px;background:#eff7f1;border-radius:8px;line-height:1.8;margin-top:20px;color:#41755a;white-space:pre-line;font-size:12px}.footer{font-size:10px;color:#a0aba5;display:flex;justify-content:space-between;padding:0 3px 8px;gap:10px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-art{background:#183a31;padding:64px 10%;color:white;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-art:after{content:'';position:absolute;width:500px;height:500px;border:1px solid #476a5a;border-radius:50%;bottom:-300px;right:-100px;box-shadow:0 0 0 60px #ffffff03,0 0 0 120px #ffffff02}.login-art .brand{margin:0 0 80px}.login-art h1{font-size:43px;line-height:1.5;letter-spacing:3px;font-weight:500;margin:0 0 25px}.login-art p{color:#abc5b6;line-height:2.2;font-size:13px}.login-art small{margin-top:70px;color:#729883;letter-spacing:2px}.login-main{display:grid;place-items:center;background:#fcfdfb;padding:30px}.login-card{width:100%;max-width:350px}.login-card h2{font-size:25px;font-weight:600;margin-bottom:12px}.login-card .field{margin-top:22px}.login-card .btn{width:100%;margin-top:28px;padding:13px}.login-card .helper{margin-top:28px}.error{color:#bc5c4e;font-size:12px;min-height:17px;margin-top:13px}#toast{position:fixed;right:28px;bottom:25px;padding:14px 23px;background:#233e32;color:white;border-radius:9px;box-shadow:0 6px 22px #152b3020;z-index:20;opacity:0;transform:translateY(15px);transition:.2s;pointer-events:none;max-width:600px;line-height:1.7}#toast.show{opacity:1;transform:none}dialog{border:0;border-radius:12px;padding:28px;width:460px;max-width:95vw;box-shadow:0 20px 80px #0002}dialog::backdrop{background:#13291f70}dialog h2{font-size:18px;margin:0 0 20px}dialog .field{margin-bottom:16px}dialog .actions{justify-content:flex-end;margin-top:24px}.account-filter{max-width:220px}.truncate{max-width:290px;overflow:hidden;text-overflow:ellipsis}.search{border:1px solid var(--line);padding:8px 12px;border-radius:6px;width:210px;font-size:12px}.rates-history{font-size:11px;color:#8a9a90;line-height:1.8}.form-panel h3{font-size:14px;font-weight:500;margin:0 0 20px}.muted{color:#91a095}.section-spacer{margin-top:16px}
@media(min-width:1600px){.content{padding-top:42px}.stat{min-height:165px}.chart{height:260px}}@media(max-width:1100px){.sidebar{width:195px;padding-inline:12px}.layout{grid-template-columns:195px 1fr}.content{padding:25px}.topbar{padding-inline:25px}.stats{gap:12px}.stat{padding:17px}.stat-value{font-size:25px}.two-col{grid-template-columns:1fr}.heading{align-items:flex-start}}@media(max-width:760px){.sidebar{position:static;width:auto;min-width:0;padding:19px;grid-column:1/-1}.layout{grid-template-columns:minmax(0,1fr)}.brand{margin:0 0 18px}.nav{display:flex;overflow:auto}.nav button{padding:10px;white-space:nowrap;font-size:12px}.nav-label,.side-note,.identity{display:none}.side-actions{margin:15px 2px 0;justify-content:flex-end}.main{grid-column:1}.topbar{height:53px;padding-inline:18px}.top-right{font-size:10px;gap:10px}.content{padding:22px 16px}.heading{flex-direction:column;gap:15px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{min-width:0}.top-right .live{display:none}.stat{min-height:136px}.stat-value{font-size:26px}.panel-head{padding:18px}.chart-wrap{padding:0 12px 12px}td,th{padding:14px 18px}.form-grid{grid-template-columns:1fr}.login-page{grid-template-columns:1fr}.login-art{display:none}.login-main{min-height:100vh}.footer{line-height:1.7}.heading h1{font-size:23px}}

.settlement-change{color:#ac8038;white-space:normal;min-width:150px;max-width:230px}dialog input[type=checkbox]{width:auto;vertical-align:middle}

.reminder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;padding:0 24px 22px}.reminder-grid b{font-size:12px;color:#587568}.reminder-grid p{font-size:11px;line-height:1.9;color:#819187;max-height:100px;overflow:auto}.preview-body{padding:0 24px 24px}.wide-dialog{width:880px}.password-required{min-height:100vh}.temporary-password{font-family:monospace;font-size:17px;user-select:all}.sidebar{overflow-y:auto}.side-note{margin-top:24px}.nav{flex-shrink:0}.field input[type=checkbox]{width:auto}.table-wrap .actions{flex-wrap:nowrap}.heading .actions{justify-content:flex-end}@media(max-width:760px){.sidebar{overflow:visible}.nav{flex-shrink:1}.heading .actions{justify-content:flex-start}.reminder-grid{padding-inline:18px}.preview-body{padding-inline:18px}}

.date-range{display:flex;align-items:center;gap:8px}.date-range label{display:grid;gap:5px;color:var(--muted);font-size:11px}.date-range input{max-width:160px}.heading:has(.date-range){align-items:flex-start;flex-wrap:wrap}.heading:has(.date-range)>.actions{flex:1;min-width:300px}.date-range>span{padding-top:17px;color:var(--muted)}

.stats.range-stats{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:760px){.stats.range-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.wallet-card{max-width:760px}.wallet-summary{display:grid;gap:22px}.wallet-summary span{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.wallet-summary strong{font-weight:500;font-size:17px;overflow-wrap:anywhere}.payee-account{font-variant-numeric:tabular-nums;user-select:all}

.batch-toolbar,.pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 24px;border-top:1px solid var(--line,#e5e7eb)}
.batch-toolbar label,.pagination label{display:flex;align-items:center;gap:8px;font-size:13px}
.batch-toolbar input[type=checkbox],td input[type=checkbox]{width:17px;height:17px;accent-color:#256f59;cursor:pointer}
.batch-toolbar .helper{flex:1;min-width:180px}
.batch-review{max-height:280px;overflow:auto;padding:0 14px;background:#f6f8f7;border-radius:8px;margin-bottom:18px}
.batch-review p{padding:10px 0;border-bottom:1px solid #e4e9e6;margin:0}
.pagination{color:#66736e;font-size:13px}.pagination select{width:auto;min-width:72px;padding:7px}
@media(max-width:700px){.batch-toolbar,.pagination{padding:14px}.pagination .actions{flex-wrap:wrap}}
