.print-page{background:#e9ecf1;min-height:100vh;padding:16px 0 40px}.print-toolbar{flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin-bottom:16px;display:flex}.sheet{box-sizing:border-box;color:#000;background:#fff;width:210mm;max-width:calc(100% - 32px);margin:0 auto;padding:14mm 14mm 16mm;font-size:13px;box-shadow:0 2px 12px #0000001f}.sheet+.sheet{margin-top:16px}.sheet{position:relative}.sheet-copy{border:1px solid #000;padding:2px 8px;font-size:13px;font-weight:600;position:absolute;top:14mm;right:14mm}.sheet-title{text-align:center;letter-spacing:2px;font-size:22px;font-weight:700}.sheet-subtitle{text-align:center;letter-spacing:6px;margin:4px 0 12px;font-size:18px;font-weight:600}.sheet-meta{grid-template-columns:1fr 1fr;gap:6px 24px;margin-bottom:10px;display:grid}.sheet-meta .wide{grid-column:span 1}.sheet-meta span{color:#333}.sheet-table{border-collapse:collapse;table-layout:fixed;width:100%}.sheet-table th,.sheet-table td{text-align:center;word-break:break-all;border:1px solid #000;padding:6px 4px}.sheet-table th{background:#f2f2f2;font-weight:600}.sheet-table .l{text-align:left}.sheet-table .r{text-align:right;font-variant-numeric:tabular-nums}.sheet-table tr.blank td{height:26px}.sheet-table tr.total td{font-weight:600}.sheet-note{margin-top:8px;font-size:12px}.sheet-sign{flex-wrap:wrap;justify-content:space-between;gap:16px;margin-top:28px;display:flex}.sheet-sign .line{vertical-align:bottom;border-bottom:1px solid #000;width:90px;display:inline-block}.sheet-sign .line.long{width:140px}@media print{@page{size:A4;margin:10mm}html,body,#root{height:auto;background:#fff!important}.no-print{display:none!important}.print-page{background:#fff;min-height:0;padding:0}.sheet{box-shadow:none;width:auto;max-width:none;padding:0}.sheet+.sheet{break-before:page;margin-top:0}.sheet-copy{top:0;right:0}.sheet-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.statement .st-section{margin:12px 0 6px;font-size:14px;font-weight:600}.statement .st-closing{font-size:16px}.statement .st-paynote{border:1px solid #000;margin:8px 0 12px;padding:8px 10px;font-size:14px;font-weight:600}.statement .st-bank{margin-bottom:8px;line-height:1.8}.statement .muted{color:#666}@media print{.statement .sheet-table tr{break-inside:avoid}}.sheet-table tr.subtotal td{background:#fafafa;font-weight:600}.app-content{box-sizing:border-box;height:100vh;padding:24px;overflow:auto}.brand{border-bottom:1px solid #ffffff14;margin-bottom:8px;padding:20px 20px 16px}.brand-title{color:#fff;font-size:18px;font-weight:700}.brand-sub{color:#9fb0cc;margin-top:4px;font-size:12px}.page-head{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.page-title{margin:0;font-size:20px;font-weight:600}.page-head .spacer{flex:1}.num{font-variant-numeric:tabular-nums;white-space:nowrap}.owe{color:#cf1322;font-weight:600}.prepaid{color:#389e0d}.muted{color:#8c8c8c}.warn-text{color:#d46b08}.stat-row{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:16px;display:grid}.stat-card{background:#fff;border:1px solid #edf0f5;border-radius:8px;padding:14px 16px}.stat-card .label{color:#8c8c8c;font-size:13px}.stat-card .value{font-variant-numeric:tabular-nums;margin-top:4px;font-size:22px;font-weight:600}.stat-card .hint{color:#8c8c8c;margin-top:2px;font-size:12px}.panel{background:#fff;border:1px solid #edf0f5;border-radius:8px;margin-bottom:16px;padding:16px}.clickable-row{cursor:pointer}.row-highlight td{background:#e6f4ff!important}.row-cancelled td{text-decoration:line-through;color:#bfbfbf!important}.sum-line{color:#595959;flex-wrap:wrap;gap:6px 20px;margin-bottom:12px;display:flex}.sum-line b{font-variant-numeric:tabular-nums;color:#262626}.sum-line b.owe{color:#cf1322}.items-table .ant-table-cell{vertical-align:top;padding:6px!important}.price-hint{margin-top:2px;font-size:12px;line-height:1.3}.price-hint.diff{color:#d46b08}.form-totals{flex-wrap:wrap;justify-content:flex-end;gap:6px 24px;padding:10px 4px 0;font-size:15px;display:flex}.form-totals b{font-variant-numeric:tabular-nums}.sticky-actions{z-index:5;background:#fff;border-top:1px solid #edf0f5;border-radius:0 0 8px 8px;justify-content:flex-end;gap:8px;margin:16px -16px -16px;padding:12px 16px;display:flex;position:sticky;bottom:0}.m-layout{min-height:100vh}.m-header{z-index:10;background:#14213d;align-items:center;gap:8px;height:52px;padding:0 8px;line-height:52px;display:flex;position:sticky;top:0}.m-header-title{color:#fff;font-size:17px;font-weight:600}.m-content{height:auto;padding:12px}.m-content .stat-row{grid-template-columns:repeat(2,1fr);gap:8px}.m-content .stat-card .value{font-size:18px}.m-content .page-title{display:none}.m-content .panel{padding:12px}.m-cards{flex-direction:column;gap:8px;display:flex}.m-card{cursor:pointer;background:#fff;border:1px solid #edf0f5;border-radius:8px;padding:10px 12px}.m-card-top{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.m-card-name{font-size:15px;font-weight:600}.m-card-sub{flex-wrap:wrap;align-items:center;gap:4px 6px;margin-top:6px;font-size:12px;display:flex}.sub-line{font-size:12px;font-weight:400;line-height:1.3;display:block}.stat-card.clickable{cursor:pointer}.stat-card.clickable:hover{border-color:#91caff}.profit-note{color:#3f3f3f;background:#f6ffed;border:1px solid #d9f7be;border-radius:8px;margin-bottom:16px;padding:8px 12px;font-size:13px;line-height:1.7}.pc-only-tag{color:#389e0d;background:#f6ffed;border:1px solid #d9f7be;border-radius:4px;margin-left:4px;padding:0 4px;font-size:11px}.low-margin{background:#fff7e6;border:1px solid #ffd591;border-radius:8px;margin-bottom:12px;padding:10px 14px}.low-margin.none{background:#fafafa;border-color:#edf0f5}.low-margin-title{margin-bottom:2px;font-weight:600}.low-margin-item{font-variant-numeric:tabular-nums;border-top:1px dashed #ffe7ba;flex-wrap:wrap;gap:4px 16px;padding:4px 0;display:flex}.row-low-margin td{background:#fffbf0}.sum-row td{background:#fafafa;font-weight:600}.trend{margin-top:2px;font-size:12px}.trend.up{color:#006300}.trend.down{color:#cf1322}.section-label{color:#8c8c8c;margin:0 0 8px;font-size:13px}.login-page{box-sizing:border-box;background:#14213d;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:16px;display:flex}.login-box{background:#fff;border-radius:12px;flex-direction:column;gap:14px;width:100%;max-width:360px;padding:28px 22px;display:flex}.login-title{text-align:center;font-size:22px;font-weight:700}.login-sub{color:#8c8c8c;text-align:center}.beian{flex-wrap:wrap;justify-content:center;gap:4px 16px;margin-top:18px;font-size:12px;display:flex}.beian a{color:#fff9}.beian a:hover{color:#fff}.login-hint{color:#8c8c8c;font-size:12px;line-height:1.6}.captcha-row{align-items:center;gap:8px;display:flex}.captcha-img{cursor:pointer;border:1px solid #e5e5e5;border-radius:6px;flex:none;width:132px;height:40px}.mfa-steps{margin:0 0 12px;padding-left:20px;font-size:13px;line-height:1.7}.mfa-steps li{margin-bottom:6px}.mfa-qr{width:176px;height:176px;margin:8px 0 2px}.mfa-secret{word-break:break-all;background:#f5f5f5;border-radius:6px;padding:6px 8px;font-family:ui-monospace,Consolas,monospace;font-size:14px}.recovery-codes{grid-template-columns:1fr 1fr;gap:6px 12px;margin:12px 0;display:grid}.recovery-codes code{letter-spacing:1px;text-align:center;background:#f5f5f5;border-radius:4px;padding:4px 8px;font-size:16px}.option-tags{flex-wrap:wrap;gap:6px 0;display:flex}.option-tag{cursor:pointer;padding:2px 8px;font-size:13px}.steps{margin:0 0 8px;padding-left:20px;line-height:1.9}.access-url{color:#1f6feb;-webkit-user-select:all;user-select:all;margin:2px 0;font-family:Consolas,monospace;font-size:18px;font-weight:600}.path-text{word-break:break-all;font-family:Consolas,monospace;font-size:13px}.folder-path{word-break:break-all;margin-bottom:6px;font-size:13px}.filter-row{flex-wrap:wrap;gap:8px;display:flex}.m-content .page-title.keep-title{flex-basis:100%;order:-1;font-size:17px;display:block}.maintenance-bar{color:#fff;text-align:center;background:#cf1322;padding:8px 12px;font-weight:600;line-height:1.6}.maintenance-bar a{color:#fff;text-decoration:underline}.copy-bar{color:#fff;text-align:center;background:#fa8c16;padding:6px 12px;font-weight:600}.pending-bar{background:#fff7e6;border:1px solid #ffd591;border-radius:8px;flex-wrap:wrap;gap:4px 16px;margin-bottom:12px;padding:8px 12px;display:flex}.section-box{background:#fffbf0;border:1px solid #ffd591;border-radius:8px;margin-bottom:10px;padding:10px 12px}.section-box.ok{background:#f6ffed;border-color:#d9f7be}.section-head{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.section-head .spacer{flex:1}.col-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:8px;display:grid}.col-card{background:#fff;border:1px solid #edf0f5;border-radius:6px;padding:6px 8px}.col-card.ignored{opacity:.75}.col-card.guessed{border-color:#fa8c16}.col-samples{color:#595959;word-break:break-all;max-height:60px;font-size:12px;line-height:1.5;overflow:hidden}.date-choice{flex-wrap:wrap;align-items:center;gap:4px 6px;display:flex}.date-choice>div{flex-basis:100%}.edit-grid{grid-template-columns:1fr 1fr;gap:8px 12px;display:grid}.edit-grid label{color:#595959;flex-direction:column;gap:2px;font-size:13px;display:flex}.match-card{border:1px solid #edf0f5;border-radius:8px;margin-bottom:8px;padding:8px 12px}.match-card.todo{background:#fffbf0;border-color:#ffd591}.row-bad td{background:#fff1f0!important}.batch-bar{background:#f0f5ff;border:1px solid #d6e4ff;border-radius:6px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;padding:6px 10px;font-size:13px;display:flex}.scope-hint{margin:2px 0 6px;font-size:12px;font-weight:400}.delta{font-size:12px}.delta.up{color:#006300}.delta.down{color:#cf1322}.row-unassigned td{background:#fffbf0!important}.delta-prev{font-size:11px;display:block}.user-chip{color:#9fb0cc;font-size:12px}.user-chip-btn.ant-btn{color:#dbe4f3;height:28px;padding:0 6px}.user-chip-btn.ant-btn:hover{color:#fff!important;background:#ffffff14!important}.m-header .spacer{flex:1}.item-card{cursor:default}.item-grid{grid-template-columns:1fr 1fr;gap:8px 10px;margin-top:8px;display:grid}.item-grid label{color:#595959;flex-direction:column;gap:2px;min-width:0;font-size:12px;display:flex}.item-grid label.wide{grid-column:1/-1}.m-content .sticky-actions{margin:16px -12px -12px;padding:10px 12px}.m-content .sticky-actions .ant-btn{flex:1;height:40px}.alloc-card .ant-input-number{width:100%}
