*{box-sizing:border-box}body{margin:0;background:#f4f6f7;color:#172b35;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif}a{color:#076a64}.center,.login{min-height:100dvh;display:grid;place-items:center}.login{background:linear-gradient(125deg,#e7f0ef,#f6f8f7 63%,#e7edf2);padding:20px}.login-card{width:min(100%,390px);padding:36px;border:1px solid #d6e1e1;border-radius:12px;background:#fff;box-shadow:0 12px 40px #133c4210}.login-card h1{margin:36px 0 24px;font-size:24px}.login-card .ant-alert{margin-bottom:16px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:23px;letter-spacing:-.8px}.brand-mark{display:grid;place-items:center;font-size:19px;font-weight:800;width:31px;height:31px;background:#8ae5c8;color:#163a37;border-radius:7px}.shell{min-height:100dvh}.sidebar-inner{height:100dvh;position:sticky;top:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#425760 transparent}.sidebar,.sidebar .ant-menu,.sidebar .ant-menu-sub{background:#152b36!important}.sidebar .ant-menu-item-selected{background:#165b59!important}.brand-link{display:block;color:#fff;padding:22px 24px 26px}.workspace{min-width:0;background:#f4f6f7}.topbar{height:64px;display:flex;align-items:center;gap:14px;padding:0 28px;background:#fff;border-bottom:1px solid #dfe6e7}.top-spacer{flex:1}.identity{display:flex;flex-direction:column;text-align:right;font-size:13px}.identity small,.directory-card small{color:#617681}.content{width:100%;max-width:1450px;margin:0 auto;padding:28px clamp(16px,3vw,48px) 48px}.page-heading{margin:16px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.page-heading h1{margin:0;font-size:28px}.page-heading .ant-select{width:180px}.directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr));gap:14px}.directory-card{display:flex;align-items:center;padding:20px 16px;gap:13px;min-width:0;border:1px solid #d9e2e4;border-radius:8px;background:#fff;color:inherit;text-decoration:none}.directory-card:hover{border-color:#559d92}.directory-card div{min-width:0}.directory-card strong,.directory-card small{display:block}.directory-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:6px}.folder{display:grid;place-items:center;flex:0 0 38px;height:38px;color:#0a7366;background:#e6f4ef;border-radius:7px;font-size:18px}.arrow{margin-left:auto;color:#71868b}.panel,.pending{background:#fff;border:1px solid #dce3e5;border-radius:8px;padding:20px}.pending{padding:68px 16px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.toolbar .ant-input-affix-wrapper{max-width:280px}.grant-tree{margin-top:12px;max-height:52vh;overflow:auto}@media(max-width:767px){.sidebar:not(.ant-layout-sider-collapsed){position:fixed;top:64px;bottom:0;left:0;z-index:5;overflow:auto}.sidebar-inner{height:calc(100dvh - 64px)}.topbar{padding:0 14px}.panel{padding:12px}.page-heading .ant-select{width:135px}}.player-preview{padding:0 22px 8px}.player-preview .ant-tabs-top>.ant-tabs-nav{margin-bottom:0}.player-preview .ant-tabs-tab{padding:16px 0}.preview-tag.ant-tag{margin:0;color:#416965;border-color:#c4dad5;background:#eff7f5}.preview-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:20px 0}.preview-field{display:flex;flex-direction:column;gap:5px;min-width:122px}.preview-field.wide{width:min(255px,100%)}.preview-field>span:first-child,.two-line small,.player-identity small,.ledger-totals small,.balance-comparison small{font-size:12px;color:#596d77}.preview-table-heading,.ledger-heading{display:flex;align-items:center;gap:10px}.preview-table-heading{margin:0 0 12px}.ledger-heading{justify-content:space-between;padding:16px 0;border-bottom:1px solid #e4e9eb}.ledger-heading h2{font-size:16px;margin:0}.ledger-context{margin-top:16px}.player-identity{display:inline-flex;align-items:center;gap:10px}.player-identity strong,.player-identity small,.two-line>*{display:block}.player-identity strong{font-weight:600}.player-initial{width:32px;height:32px;flex:0 0 auto;display:grid;place-items:center;border-radius:8px;font-weight:600}.merchant-M1001{background:#ddf0ea;color:#216950}.merchant-M1002{background:#e4eafa;color:#40558a}.merchant-M1003{background:#fcf0d9;color:#84601c}.number-cell,.ledger-totals strong,.balance-block strong,.balance-comparison strong{font-variant-numeric:tabular-nums}.balance-cell{font-weight:600}.preview-link,.player-preview a,.preview-action{color:#086d62}.preview-link{background:none;border:0;padding:0;font:inherit;cursor:pointer;text-align:inherit}.preview-link:hover,.player-preview a:hover,.preview-action:hover{text-decoration:underline}.ledger-totals{display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 18px;border:1px solid #dce6e5;border-radius:8px;background:#f7faf9}.ledger-totals>div{padding:12px 16px}.ledger-totals>div+div{border-left:1px solid #dce6e5}.ledger-totals strong,.balance-block strong{display:block;font-size:21px}.ledger-totals em{margin-left:7px;font-size:12px;font-style:normal;font-weight:400}.change-income{color:#08745e}.change-expense{color:#a04d28}.detail-person{margin-bottom:16px}.detail-person .player-initial{width:42px;height:42px;font-size:20px}.balance-block{background:#eef6f4;padding:16px 20px;border:1px solid #d9e8e4;border-radius:8px}.balance-block>span{font-size:13px;color:#49655f}.balance-block strong{margin-top:5px;font-size:26px}.balance-comparison{display:flex;align-items:center;gap:22px;padding:14px 0 0}.balance-comparison strong{display:block}.detail-section{margin:20px 0}.detail-section .ant-descriptions-header{margin-bottom:12px}.detail-section .ant-descriptions-item-label{width:125px}@media(max-width:767px){.player-preview{padding:0 12px 8px}.preview-field{flex:1 1 120px;min-width:0}.preview-field.wide{flex:1 1 100%}.preview-filters .ant-picker-range{max-width:100%}.ledger-totals>div{padding:8px}.ledger-totals strong{font-size:15px}}
