html{background:#f4f7fb}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1f2d3d;background:radial-gradient(circle at top left,rgba(104,157,255,.12),transparent 28%),linear-gradient(180deg,#f8fbff,#f4f7fb)}#root{min-height:100vh}.app-shell{min-height:100vh;background:transparent;overflow-x:hidden}.app-sider.ant-layout-sider{margin:16px 0 16px 16px;border:1px solid rgba(219,228,238,.8);border-radius:22px;box-shadow:0 18px 40px #1f2d3d14;overflow:hidden;flex:0 0 220px!important;max-width:220px!important;min-width:220px!important}.brand-panel{display:flex;gap:10px;align-items:center;padding:18px 16px 14px}.brand-mark{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;font-size:18px;font-weight:700;color:#356dff;background:linear-gradient(135deg,#eef4ff,#f5fbff)}.brand-title{font-size:16px;line-height:1.25;font-weight:700;color:#1f2d3d}.brand-subtitle{margin-top:2px;color:#7d8ca1;font-size:11px}.app-menu{padding:8px 14px;border-inline-end:none!important}.sider-footer{padding:16px}.sider-footer-card{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:18px;background:linear-gradient(180deg,#f7faff,#fefeff);border:1px solid #e9eef6}.app-main{background:transparent}.app-header.ant-layout-header{height:auto;line-height:normal;padding:18px 20px 0;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.header-main{display:flex;gap:12px;align-items:flex-start;min-width:0;flex:1}.header-title{margin-top:6px;font-size:20px;line-height:1.2;font-weight:700;color:#1f2d3d;word-break:break-word}.header-action{height:42px;border-radius:14px;border-color:#e6ecf5;background:#ffffffbf}.mobile-menu-btn{margin-top:18px}.user-chip{display:flex;gap:12px;align-items:center;align-self:center;padding:8px 12px 8px 8px;border-radius:18px;background:#ffffffd1;border:1px solid #e7edf6;min-width:0}.user-chip-name{font-size:14px;font-weight:600;line-height:1.4}.user-chip-role{margin-top:2px;color:#8391a4;font-size:12px;line-height:1.4}.app-content{margin:12px 20px 20px;min-width:0}.compact-table .ant-table-cell{padding:6px 10px!important;font-size:13px}.compact-table .ant-table-thead>tr>th{padding:8px 10px!important;font-size:13px}.page-header{margin-bottom:8px}.soft-tag{border:none;color:#356dff;background:#edf4ff}.page-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:10px;flex-wrap:wrap}.page-toolbar-card{padding:10px 12px;border-radius:16px;background:#ffffffb8;border:1px solid #e8eef6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.toolbar-search{min-width:220px;flex:1 1 220px}.store-selector{min-width:260px}.date-range-filter{display:flex;align-items:center;gap:10px;flex:1 1 420px;min-width:280px;flex-wrap:wrap}.date-range-label{white-space:nowrap}.surface-card.ant-card{border:1px solid rgba(231,237,246,.95);box-shadow:0 16px 34px #1f2d3d0f;background:#ffffffe0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.management-link-card{display:block;color:inherit}.management-card{min-height:220px}.management-card .ant-card-body{display:flex;flex-direction:column;gap:14px}.management-card-icon{width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center;border-radius:16px;color:#356dff;background:#edf4ff;font-size:22px}.metric-card{position:relative;overflow:hidden;border:1px solid #ebf0f6;box-shadow:0 14px 32px #1f2d3d0f}.metric-card .ant-statistic-content{font-size:24px;font-weight:700}.metric-icon{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:10px;color:#356dff;background:#edf4ff}.table-card .ant-table-wrapper{margin-top:8px}.editable-sheet{margin-top:18px}.editable-sheet .ant-input,.editable-sheet .ant-input-number,.editable-sheet .ant-select-selector{border-radius:10px!important}.ledger-quick-panel{display:grid;grid-template-columns:minmax(360px,.95fr) minmax(420px,1.05fr);gap:12px;margin-bottom:12px}.ledger-preset-card.ant-card,.ledger-summary-card.ant-card{height:100%}.ledger-preset-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}.ledger-preset-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;min-width:0}.ledger-preset-main.ant-btn{height:auto;min-height:32px;padding-top:5px;padding-bottom:5px;min-width:0;white-space:normal}.ledger-preset-main>span{display:block;width:100%;min-width:0}.ledger-preset-label{min-width:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ledger-summary-overview{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 12px;border:1px solid #d7e8f8;border-radius:10px;background:linear-gradient(135deg,#e8f6ffeb,#f7fcfff5)}.ledger-summary-overview-main{display:flex;gap:10px;align-items:baseline;min-width:0}.ledger-summary-overview-total{color:#0f5f8f;font-size:22px;font-weight:750;line-height:1.1;white-space:nowrap}.univer-editor-host{width:100%;min-width:0;height:680px;min-height:520px;overflow:hidden;border:1px solid #e4ebf3;border-radius:8px}.univer-editor-loading{display:grid;width:100%;height:680px;min-height:520px;place-items:center;color:#6b7a8f;border:1px dashed #dce7f2;border-radius:8px;background:#fbfdff}.selected-row>td{background:#eef7ff!important}.spreadsheet-list-card .ant-table-cell{vertical-align:top}.spreadsheet-list-card .ant-table-wrapper{overflow:hidden}.spreadsheet-list-card .ant-card-body,.spreadsheet-list-card .ant-space,.spreadsheet-list-card .ant-space-item{min-width:0}.empty-panel{min-height:360px;display:grid;place-items:center;border:1px dashed #dce7f2;border-radius:10px;background:#fbfdff}.page-toolbar{display:flex;justify-content:flex-end;margin-bottom:12px}.ledger-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ledger-summary-block{display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px;border:1px solid #e8eef6;border-radius:10px;background:#f8fbffd1}.ledger-summary-head,.ledger-summary-category{display:flex;justify-content:space-between;gap:8px;align-items:center}.ledger-summary-total{font-size:20px;font-weight:700;color:#1f2d3d}.ledger-summary-category-list{display:grid;gap:5px}.ledger-summary-category{font-size:12px}.ledger-summary-category>.ant-typography{max-width:44%}.ledger-summary-category>span{white-space:nowrap}.receivable-detail-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(110px,.8fr) minmax(110px,.7fr) minmax(140px,1fr) 36px;gap:8px;align-items:start}.receivable-detail-row .ant-form-item{margin-bottom:0}.receivable-receive-list{display:grid;gap:8px}.receivable-receive-item{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 10px;border:1px solid #e8eef6;border-radius:8px;background:#fff}.receivable-receive-item>span{min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:center}.section-heading .ant-typography{margin-bottom:0}.ant-table-thead>tr>th{font-weight:600}.ant-table-tbody>tr>td{color:#3d4b5d}.trend-card .ant-card-body{display:flex;flex-direction:column;gap:16px}.trend-chart-wrap{display:flex;flex-direction:column;gap:10px}.trend-chart{width:100%;height:130px;overflow:visible}.trend-axis{stroke:#dbe4ee;stroke-width:1}.trend-labels{display:flex}.soft-modal .ant-modal-content{box-shadow:0 28px 60px #1f2d3d29}.spreadsheet-editor-modal .ant-modal-body{max-height:calc(100vh - 180px);overflow:hidden}.spreadsheet-editor-modal .ant-modal-content{display:flex;flex-direction:column}.spreadsheet-editor-modal .ant-modal-body{flex:1;overflow:hidden}.ledger-entry-modal .ant-modal-body{max-height:calc(100vh - 190px);overflow-y:auto}.ledger-entry-modal.ant-modal{max-width:1800px}.ledger-entry-form{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(240px,1.1fr) minmax(170px,.8fr);column-gap:14px;row-gap:8px}.ledger-entry-form>.ant-form-item{margin-bottom:6px}.ledger-entry-form .form-span-2{grid-column:span 2}.ledger-entry-form .form-span-full{grid-column:1 / -1}.ledger-entry-form .ant-form-item-label{padding-bottom:3px}.ledger-entry-modal .ant-radio-group{display:flex;flex-wrap:wrap;gap:8px}.ledger-entry-modal .ant-radio-wrapper{min-height:34px;margin-inline-end:0;padding:6px 10px;border:1px solid #dbe4ee;border-radius:8px;background:#fff;transition:border-color .16s,background .16s,color .16s,box-shadow .16s}.ledger-entry-modal .ant-radio-wrapper:hover{border-color:#8fb1ff;background:#f7faff}.ledger-entry-modal .ant-radio-wrapper-checked,.ledger-entry-modal .ant-radio-wrapper:has(.ant-radio-checked){color:#2458d3;border-color:#356dff;background:#edf4ff;box-shadow:0 0 0 2px #356dff14}.ledger-entry-modal .ant-radio{display:none}.ledger-entry-modal .ant-radio-button-wrapper{height:36px;border:1px solid #dbe4ee!important;border-inline-start-width:1px!important;border-radius:8px!important;background:#fff;box-shadow:none!important}.ledger-entry-modal .ant-radio-button-wrapper:before{display:none!important}.ledger-entry-modal .ant-radio-button-wrapper-checked{color:#2458d3!important;border-color:#356dff!important;background:#edf4ff!important}.center-shell{min-height:100vh;display:grid;place-items:center;color:#5f6f82}.route-loading{min-height:40vh;display:grid;place-items:center}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;padding:24px;gap:24px}.login-hero,.login-card.ant-card{border:1px solid rgba(231,237,246,.95);border-radius:30px;background:#ffffffd1;box-shadow:0 20px 40px #1f2d3d14;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.login-hero{padding:48px;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at top right,rgba(91,141,239,.18),transparent 28%),#ffffffbd}.login-card.ant-card{display:flex;align-items:center}.login-card .ant-card-body{width:100%}.login-mark{margin-bottom:18px}.mobile-nav-drawer .ant-drawer-body{padding:0 12px 16px}.membership-tag{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border-radius:999px;background:#f4f8ff;border:1px solid #dce7fb}.mobile-card-list{display:grid;gap:12px;margin-top:18px}.mobile-data-card{border-radius:18px;border:1px solid #e8eef6;box-shadow:0 10px 24px #1f2d3d0f}.mobile-data-card.is-selected{border-color:#9ab8ff;box-shadow:0 14px 30px #356dff1f}.mobile-data-card .ant-card-body{display:flex;flex-direction:column;gap:10px}.mobile-data-card__header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.mobile-data-card__header .ant-typography{margin:0}.mobile-data-card__meta{display:flex;gap:12px;flex-wrap:wrap;color:#66778b;font-size:13px}.mobile-data-card__actions{margin-top:4px}.mobile-membership-list{display:flex;gap:8px;flex-wrap:wrap}.mobile-pagination-wrap{display:flex;justify-content:flex-end;margin-top:16px}.attachment-file-tag{margin-inline-end:0}.attachment-thumb{width:58px;height:58px;padding:1px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;cursor:pointer;overflow:hidden}.attachment-thumb:disabled{cursor:wait;opacity:.72}.attachment-thumb__image{width:56px;height:56px;object-fit:cover;display:block}.attachment-thumb__placeholder{width:56px;height:56px;display:grid;place-items:center;color:#8c8c8c;font-size:12px;background:#f5f5f5}.attachment-preview-stage{position:relative;display:flex;justify-content:center;align-items:center;min-height:220px;padding:0 54px}.attachment-preview-image{display:block;max-width:100%;max-height:78vh;object-fit:contain}.attachment-preview-nav.ant-btn{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;z-index:1}.attachment-preview-nav--previous.ant-btn{left:0}.attachment-preview-nav--next.ant-btn{right:0}.attachment-preview-counter{display:block;margin-top:10px}.auth-drawer-summary{display:flex;flex-direction:column;gap:10px;padding:0 0 16px}.mobile-form-drawer .ant-drawer-body{display:flex;flex-direction:column;gap:12px}@media(max-width:992px){.app-header.ant-layout-header{padding:20px 16px 0;flex-direction:column;gap:16px}.app-content{margin:16px}.ledger-quick-panel,.login-shell{grid-template-columns:1fr}}@media(max-width:768px){.header-title{font-size:24px}.page-toolbar-card{padding:12px}.page-toolbar{flex-direction:column;align-items:stretch}.toolbar-search{min-width:100%}.store-selector{width:100%;min-width:100%}.header-main{width:100%}.login-shell{padding:16px}.login-hero{padding:28px 22px}.user-chip{width:100%;justify-content:flex-start}.mobile-data-card__header{flex-direction:column}.mobile-pagination-wrap{justify-content:center}.attachment-preview-stage{padding:0 40px}.attachment-preview-image{max-height:70vh}.attachment-preview-nav.ant-btn{width:34px;height:34px}.ledger-preset-list,.ledger-summary-grid,.ledger-preset-item,.receivable-detail-row,.ledger-entry-form{grid-template-columns:1fr}.ledger-entry-form .form-span-2,.ledger-entry-form .form-span-full{grid-column:1}.ledger-entry-modal.ant-modal{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px);margin:8px auto}.ledger-entry-modal .ant-modal-content{padding:14px}.ledger-entry-modal .ant-modal-body{max-height:calc(100vh - 150px)}}
