html,body,#root{height:100%;margin:0;max-width:100%;overflow:hidden}body{background:#f4f6f8;color:#1f2328;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.app-shell{height:100vh;min-height:100vh;overflow:hidden}.app-shell .ant-layout,.app-shell .ant-layout-content{max-width:100%;min-width:0;overflow:hidden}.app-shell .ant-layout-content.page{overflow-x:hidden;overflow-y:auto}.app-shell>.ant-layout,.app-shell .ant-layout-sider{height:100vh}.app-shell .ant-layout-sider{overflow:hidden}.app-shell .ant-layout-sider-children{display:flex;flex-direction:column;height:100%;min-height:0}.brand{flex:0 0 auto;height:56px;display:flex;align-items:center;justify-content:center;padding:0 12px;font-size:17px;font-weight:700;color:#fff;overflow:hidden;text-align:center;white-space:nowrap}.ant-layout-sider-collapsed .brand{font-size:0}.ant-layout-sider-collapsed .brand:before{content:"尚";font-size:20px}.app-shell .ant-menu{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden}.app-shell .ant-menu::-webkit-scrollbar{width:8px}.app-shell .ant-menu::-webkit-scrollbar-thumb{background:#ffffff3d;border-radius:999px}.app-shell .ant-menu::-webkit-scrollbar-track{background:transparent}.page{box-sizing:border-box;height:calc(100vh - 64px);max-width:100%;min-width:0;overflow-x:hidden;overflow-y:auto;padding:20px}.app-header{align-items:center;background:#fff;display:flex;gap:12px;justify-content:space-between;min-height:64px;padding:0 20px!important}.app-header .ant-space{flex-wrap:wrap;min-width:0}.app-title-wrap{flex:1 1 auto}.app-title-text{display:inline-block;max-width:min(56vw,760px);overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.page-head{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:16px;margin-bottom:16px;min-width:0}.page-head>.ant-space{flex-wrap:wrap;justify-content:flex-end;min-width:0}.page-title{flex:0 1 auto;margin:0;font-size:20px;line-height:1.4;min-width:0}.panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-sizing:border-box;padding:16px;margin-bottom:16px;max-width:100%;min-width:0}.table-screen{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.table-screen>.page-head,.fixed-panel{flex:0 0 auto}.table-panel{display:flex;flex:1;flex-direction:column;min-height:0;max-width:100%;overflow:hidden}.table-panel .ant-table-wrapper,.table-panel .ant-spin-nested-loading,.table-panel .ant-spin-container{display:flex;flex:1;flex-direction:column;min-height:0}.table-panel .ant-table{flex:1;min-height:0;max-width:100%}.table-panel .ant-table-container{min-height:0;max-width:100%}.financial-statement-screen{height:auto;min-height:100%;overflow:visible;padding-bottom:32px}.financial-statement-screen .table-panel{flex:0 0 auto;overflow:visible}.financial-statement-screen .table-panel .ant-table-wrapper,.financial-statement-screen .table-panel .ant-spin-nested-loading,.financial-statement-screen .table-panel .ant-spin-container,.financial-statement-screen .table-panel .ant-table{display:block;flex:none}.ant-table-wrapper{max-width:100%;min-width:0}.ant-table-content,.ant-table-body{max-width:100%;overflow-x:auto!important}.center-table-panel{padding-bottom:12px}.center-table-panel .ant-table-wrapper{overflow:hidden}.center-table-panel .ant-table-pagination{flex:0 0 auto;margin:12px 0 0!important;padding-bottom:2px}.user-permission-content{display:flex;flex:1;flex-direction:column;min-height:0;overflow:auto}.user-permission-screen .user-list-panel{flex:0 0 auto;min-height:260px}.permission-toggle-group{display:flex;flex-wrap:wrap;gap:10px}.permission-toggle-group .permission-toggle-button{align-items:center;border:1px solid #d0d7de;border-radius:8px;background:#fff;color:#24292f;cursor:pointer;display:inline-flex;height:36px;margin-inline-start:0;padding:0 14px;transition:all .16s ease}.permission-toggle-group .permission-toggle-button:hover{border-color:#4096ff;color:#1677ff}.permission-toggle-group .permission-toggle-button .ant-checkbox{display:none}.permission-toggle-group .permission-toggle-button.ant-checkbox-wrapper-checked{background:#e6f4ff;border-color:#1677ff;color:#0958d9;box-shadow:inset 0 0 0 1px #1677ff}.dictionary-panels{display:flex;flex:1;flex-direction:column;min-height:0;gap:12px}.dictionary-integrated-panel{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;margin-bottom:0}.dictionary-integrated-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:12px;min-height:0;flex:1}.dictionary-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 160px;gap:10px;margin-bottom:12px}.dictionary-module-list{display:grid;grid-template-columns:1fr;align-content:start;gap:8px;min-height:0;overflow:auto;padding-right:2px}.dictionary-module-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;color:#1f2328;cursor:pointer;min-height:74px;padding:9px 10px;text-align:left}.dictionary-module-button strong,.dictionary-module-button span,.dictionary-module-button em{display:block}.dictionary-module-button strong{font-size:13px;margin-bottom:4px}.dictionary-module-button span{color:#68707d;font-size:11px;line-height:1.35}.dictionary-module-button em{color:#1f6feb;font-size:11px;font-style:normal;margin-top:5px}.dictionary-module-button.active{background:#eef5ff;border-color:#91caff;box-shadow:inset 0 0 0 1px #91caff}.dictionary-cascade{display:flex;gap:10px;min-width:0;min-height:0;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}.dictionary-cascade-column{background:#f8fafc;border:1px solid #d8dee4;border-radius:8px;display:flex;flex:0 0 280px;flex-direction:column;min-height:0;overflow:hidden}.dictionary-cascade-title{align-items:center;background:#fff;border-bottom:1px solid #d8dee4;display:flex;justify-content:space-between;min-height:44px;padding:9px 10px}.dictionary-cascade-title strong{color:#1f2328;font-size:14px}.dictionary-cascade-title span{color:#68707d;font-size:12px}.dictionary-cascade-list{display:flex;flex-direction:column;gap:8px;min-height:0;overflow-y:auto;padding:10px}.dictionary-cascade-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;gap:6px;padding:10px;text-align:left}.dictionary-cascade-card:hover,.dictionary-cascade-card:focus{border-color:#91caff;outline:none}.dictionary-cascade-card.active{background:#eef5ff;border-color:#1677ff;box-shadow:inset 0 0 0 1px #1677ff}.dictionary-cascade-card-head{align-items:center;display:flex;gap:5px;min-height:24px}.dictionary-cascade-count{background:#1677ff;border-radius:999px;color:#fff;font-size:11px;line-height:18px;margin-left:auto;min-width:18px;padding:0 6px;text-align:center}.dictionary-cascade-name{color:#1f2328;font-size:14px;font-weight:600;line-height:1.35;word-break:break-word}.dictionary-cascade-name.system{font-weight:700}.dictionary-cascade-meta{color:#68707d;display:flex;flex-direction:column;font-size:12px;gap:2px}.dictionary-cascade-note{color:#57606a;font-size:12px;line-height:1.45;max-height:52px;overflow:hidden}.dictionary-cascade-actions{border-top:1px solid #edf1f5;margin-top:2px;padding-top:8px}.dictionary-cascade-empty,.dictionary-cascade-loading{align-items:center;background:#fff;border:1px solid #d8dee4;border-radius:8px;color:#68707d;display:flex;justify-content:center;min-height:180px;min-width:280px;padding:20px}.panel-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.panel-title-row strong{font-size:15px;color:#24292f}.panel-title-row span{color:#667085;font-size:12px}.entry-grid{display:grid;gap:12px 14px}.five-col-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.three-col-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.two-col-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.form-hint{color:#667085;font-size:12px;line-height:1.6;margin-top:8px}.soft-alert{background:#f6f8fa;border:1px solid #d8dee4;border-radius:6px;color:#57606a;font-size:13px;line-height:1.6;padding:10px 12px}.subject-class-row>td{background:#eef4ff!important;font-weight:700}.subject-module-group-row>td{background:#f0f9ff!important;font-weight:700}.subject-item-row>td{background:#fff}.dictionary-node-name{font-weight:500}.dictionary-node-system{font-weight:700}.subject-item-row .dictionary-node-name{font-weight:400}.clickable-row{cursor:pointer}.table-row-selected>td{background:#eaf3ff!important}.table-row-selected .ant-checkbox-inner{background-color:#1677ff;border-color:#1677ff}.table-column-settings-bar{align-items:center;display:flex;justify-content:flex-end;min-height:24px}.table-column-settings-bar>span{color:#667085;font-size:12px;margin-right:auto}.table-column-settings-actions{display:flex;gap:8px;justify-content:flex-end;margin-bottom:12px}.table-column-settings-list{display:grid;gap:8px;max-height:58vh;overflow:auto;padding-right:4px}.table-column-settings-row{align-items:center;border:1px solid #edf0f3;border-radius:6px;display:grid;gap:8px;grid-template-columns:28px minmax(160px,1fr) 100px 76px auto;padding:8px}.table-row-selected .ant-checkbox-inner:after{border-color:#fff}.ant-table-thead .ant-checkbox-checked .ant-checkbox-inner{background-color:#1677ff;border-color:#1677ff}.ant-table-thead .ant-checkbox-checked .ant-checkbox-inner:after{border-color:#fff}.table-row-selected .ant-tag-blue{border-color:#1677ff;color:#0958d9;background:#e6f4ff}.table-select-box{background:#fff;border:1px solid #d0d5dd;border-radius:5px;cursor:pointer;flex:0 0 auto;height:18px;padding:0;position:relative;width:18px}.table-select-box.is-selected{background:#1677ff;border-color:#1677ff}.table-select-box.is-selected:after{border:solid #ffffff;border-width:0 2px 2px 0;content:"";height:9px;left:5px;position:absolute;top:1px;transform:rotate(45deg);width:5px}.product-summary-panel{min-height:0;margin-bottom:12px}.product-center-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-sub-panel{min-height:0;overflow:hidden}@media(max-width:1100px){.product-center-grid{grid-template-columns:1fr}}.sales-order-screen{min-height:100%}.sales-order-modal .ant-modal-content{max-height:calc(100vh - 32px);overflow:hidden;padding:0}.sales-order-modal .ant-modal-body{max-height:calc(100vh - 32px);overflow:auto;padding:20px}.sales-order-modal .sales-order-screen{min-height:auto}.sales-order-modal .sales-order-freeze-ui{margin:-20px -20px 16px}.sales-order-freeze-ui{background:#f5f7fb;margin:-20px -20px 16px;padding:20px 20px 12px;position:sticky;top:0;z-index:30}.sales-order-freeze-ui .page-head{margin-bottom:0}.sales-order-freeze-ui:before{background:#f5f7fb;content:"";inset:-20px 0 auto;height:20px;position:absolute;z-index:-1}.sales-order-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start;max-width:100%;min-width:0;padding-right:4px}.sales-order-preview-shell{background:#f7f9f5;border:1px solid #dfe4dc;border-radius:8px;box-sizing:border-box;max-width:100%;min-width:0;overflow:hidden;padding:12px;position:sticky;top:96px;width:100%}.sales-order-preview-toolbar{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-bottom:10px}.sales-order-thumbnail-card{background:#fff;border:1px solid #dfe4dc;border-radius:8px;cursor:zoom-in;display:grid;justify-content:center;min-height:302px;overflow:hidden;padding:10px;position:relative}.sales-order-thumbnail-card:focus-visible{outline:2px solid rgba(22,119,255,.35);outline-offset:2px}.sales-order-thumbnail-stage{display:block;height:338px;overflow:hidden;width:254px}.sales-order-thumbnail-scale{display:block;height:297mm;pointer-events:none;transform:scale(.32);transform-origin:top left;width:210mm}.sales-order-preview-shell.is-pi .sales-order-thumbnail-card{min-height:276px}.sales-order-preview-shell.is-pi .sales-order-thumbnail-stage,.sales-order-preview-shell.is-landscape .sales-order-thumbnail-stage{height:254px;width:360px}.sales-order-preview-shell.is-pi .sales-order-thumbnail-scale,.sales-order-preview-shell.is-landscape .sales-order-thumbnail-scale{height:210mm;width:297mm}.sales-order-thumbnail-mask{align-items:center;background:#0f172a8a;color:#fff;display:flex;gap:8px;inset:auto 10px 10px 10px;justify-content:center;min-height:36px;position:absolute}.sales-material-picker-thumb{background:#fff;border:1px solid #d9e2ec;border-radius:4px;display:block;height:54px;object-fit:contain;width:72px}.order-form-thumb{background:#fff;border:1px solid #d8dfd4;border-radius:6px;cursor:zoom-in;display:block;height:104px;overflow:hidden;padding:4px;position:relative;text-align:left;width:150px}.order-form-thumb:hover{border-color:#1677ff;box-shadow:0 2px 8px #1677ff29}.order-form-thumb-stage{display:block;height:88px;overflow:hidden;width:140px}.order-form-thumb-scale{display:block;height:297mm;pointer-events:none;transform:scale(.165);transform-origin:top left;width:210mm}.order-form-thumb.is-pi .order-form-thumb-stage{height:82px;width:140px}.order-form-thumb.is-pi .order-form-thumb-scale{height:210mm;transform:scale(.13);width:297mm}.order-form-thumb-caption{background:#0f172a9e;bottom:4px;color:#fff;font-size:11px;left:4px;line-height:18px;position:absolute;right:4px;text-align:center}.order-preview-modal-title{align-items:center;display:flex;gap:12px;justify-content:space-between;padding-right:28px}.sales-order-preview-modal .ant-modal-body{background:#f4f6f8;max-height:calc(100vh - 146px);overflow:auto;padding:16px}.sales-order-preview-modal-toolbar{background:#fff;border:1px solid #dfe4dc;border-radius:8px;margin-bottom:12px;padding:10px;position:sticky;top:0;z-index:5}.sales-order-preview-modal-body{display:block;min-width:max-content}.sales-order-preview-modal-canvas{margin:0 auto;position:relative}.sales-order-preview-modal-scale{left:0;position:absolute;top:0}.sales-order-form-panel{margin-bottom:0;max-width:100%;min-width:0;overflow:visible}.sales-order-form-panel .ledger-form-strip,.sales-order-form-panel .ledger-form-grid:not(.sales-order-settlement-form){grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.sales-order-recipient-grid{grid-template-columns:minmax(240px,1.35fr) minmax(160px,.8fr) minmax(180px,.9fr) minmax(240px,1.35fr)!important;margin-top:4px}.sales-order-template-panel{border:1px solid #e2e8db;border-radius:8px;background:#fbfcf7;margin:4px 0 12px;padding:12px}.sales-order-template-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.sales-order-template-grid .sales-product-image-input{min-width:0}.sales-order-template-grid .sales-product-image-preview{min-height:48px}.sales-order-template-grid .sales-product-image-preview img{max-height:54px}.sales-order-lines-panel{margin:4px 0 12px}.sales-order-lines-scroll{border:1px solid #dfe4dc;border-radius:8px;max-width:100%;overflow-x:auto}.sales-order-lines-input{width:100%;min-width:1280px;border-collapse:collapse;table-layout:fixed;background:#fff}.sales-order-lines-input th,.sales-order-lines-input td{border:1px solid #e3e8df;padding:6px;text-align:center;vertical-align:top}.sales-order-lines-input th{position:relative;background:#edf1ea;color:#17211d;font-size:12px;font-weight:700;-webkit-user-select:none;user-select:none}.sales-order-lines-input td{background:#fffef2}.sales-order-resizable-th>span{display:inline-block;max-width:calc(100% - 10px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-order-column-resizer{position:absolute;top:0;right:-4px;z-index:2;width:8px;height:100%;padding:0;border:0;background:transparent;cursor:col-resize}.sales-order-column-resizer:after{content:"";position:absolute;top:6px;bottom:6px;left:3px;width:1px;background:#aeb9a9;opacity:0}.sales-order-column-resizer:hover:after,.is-resizing-sales-column .sales-order-column-resizer:after{opacity:1}.is-resizing-sales-column,.is-resizing-sales-column *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.sales-order-lines-input .ant-form-item{margin-bottom:0}.sales-order-lines-input .ant-input-number,.sales-order-lines-input .ant-select,.sales-order-lines-input .ant-input,.sales-order-lines-input .ant-input-textarea{width:100%}.sales-product-image-input{display:grid;gap:6px;min-width:118px}.sales-product-image-preview{min-height:58px;border:1px dashed #b8c4b0;border-radius:6px;background:#fff;display:grid;place-items:center;color:#667085;font-size:12px;cursor:pointer;overflow:hidden}.sales-product-image-preview img{max-width:100%;max-height:72px;object-fit:contain}.sales-product-paste-panel{min-height:220px;border:1px dashed #8aa37e;border-radius:8px;background:#fbfcf7;display:grid;place-items:center;padding:12px;color:#667085;font-size:14px;outline:none}.sales-product-paste-panel:focus{border-color:#1677ff;box-shadow:0 0 0 2px #0591ff1f}.sales-product-paste-panel img{max-width:100%;max-height:220px;object-fit:contain}.smart-recognition-layout{display:grid;gap:16px;grid-template-columns:minmax(280px,.82fr) minmax(420px,1.18fr)}.smart-recognition-paste-panel{align-items:center;background:#fbfcf7;border:1px dashed #8aa37e;border-radius:8px;color:#475467;display:grid;gap:8px;justify-items:center;min-height:180px;outline:none;padding:18px;text-align:center}.smart-recognition-paste-panel:focus{border-color:#1677ff;box-shadow:0 0 0 2px #0591ff1f}.smart-recognition-paste-panel .anticon{color:#1677ff;font-size:28px}.smart-recognition-paste-panel span{color:#667085;font-size:13px;line-height:1.6}.smart-recognition-source-text{margin-top:12px}.smart-recognition-ocr-card{background:#fff;border:1px solid #dfe4dc;border-radius:8px;color:#344054;display:grid;gap:8px;margin-top:12px;padding:10px}.smart-recognition-error{color:#cf1322;font-size:13px;line-height:1.5}.smart-recognition-fields{display:flex;flex-wrap:wrap;gap:6px}.smart-recognition-result-head{margin-bottom:8px}.smart-recognition-thumb{border:1px solid #dfe4dc;border-radius:4px;height:42px;object-fit:contain;width:56px}.memo-card-panel{flex:1 1 auto;min-height:0;overflow:auto;padding-bottom:8px}.memo-card-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.memo-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 2px #1018280a;cursor:pointer;display:flex;flex-direction:column;gap:10px;min-height:220px;padding:14px;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.memo-card.priority-low{background:#f0f8f4;border-color:#cae8d6}.memo-card.priority-medium{background:#f2f7ff;border-color:#cfe1ff}.memo-card.priority-high{background:#fff7e8;border-color:#f6d79a}.memo-card.priority-urgent{background:#fff1f0;border-color:#ffccc7}.memo-card:hover{border-color:#b7d4ff;box-shadow:0 8px 22px #10182814;transform:translateY(-1px)}.memo-card.is-selected{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff24}.memo-card.is-overdue{border-left:4px solid #ff4d4f}.memo-card-top{align-items:flex-start;display:flex;gap:10px}.memo-card-title-block{display:grid;flex:1 1 auto;gap:3px;min-width:0}.memo-card-title-block strong{color:#101828;font-size:16px;line-height:1.35;overflow-wrap:anywhere}.memo-card-title-block span{color:#667085;font-size:12px}.memo-card-tags{display:flex;flex-wrap:wrap;gap:6px}.memo-card-meta{color:#475467;display:grid;font-size:13px;gap:4px;line-height:1.45}.memo-card-content{background:#f8fafc;border:1px solid #edf0f3;border-radius:6px;color:#344054;font-size:13px;line-height:1.6;max-height:96px;overflow:hidden;padding:8px;white-space:pre-wrap}.memo-card-images{display:flex;flex-wrap:wrap;gap:8px}.memo-card-images button{background:#fff;border:1px solid #dfe4dc;border-radius:6px;cursor:zoom-in;height:58px;overflow:hidden;padding:0;width:74px}.memo-card-images img{height:100%;object-fit:cover;width:100%}.memo-card-images span{align-items:center;background:#f2f4f7;border-radius:6px;color:#475467;display:inline-flex;font-size:13px;height:58px;justify-content:center;width:48px}.memo-card-attachment,.memo-card-handle{color:#667085;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.memo-card-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:auto}.memo-empty{color:#667085;text-align:center}.sales-line-amount{min-height:32px;display:flex;align-items:center;justify-content:flex-end;font-weight:700;font-variant-numeric:tabular-nums}.sales-order-print{background:#fff;color:#000;--sales-border-width: 1px;border:1px solid #d0d7de;box-sizing:border-box;width:var(--paper-width, 210mm);min-width:var(--paper-width, 210mm);height:var(--paper-height, 297mm);min-height:var(--paper-height, 297mm);max-width:none;margin:0 auto;overflow:hidden;padding:var(--paper-padding, 12mm 10mm);font-family:Songti SC,SimSun,Times New Roman,serif;font-size:12px;position:relative;page:sales-portrait}.sales-order-print.paper-landscape{page:sales-landscape}.sales-form-settings-preview .sales-order-print,.sales-order-layout .sales-order-print,.sales-order-modal .sales-order-print{margin-left:auto;margin-right:auto}.sales-order-header{display:grid;grid-template-columns:82px minmax(0,1fr) 150px;gap:8px;align-items:end}.sales-order-logo{text-align:center;color:#0b5c8f;font-size:8px;font-weight:700}.sales-order-logo-free{align-items:center;display:flex;justify-content:center;overflow:hidden;position:absolute;z-index:2}.sales-order-logo-mark{width:28px;height:28px;margin:0 auto 5px;border:2px solid #0b5c8f;display:grid;place-items:center;font-size:20px;line-height:1}.sales-order-logo-image{display:block;max-width:100%;max-height:100%;object-fit:contain;margin:0 auto}.sales-order-title{text-align:center}.sales-order-title h1{margin:0;font-size:var(--sales-title-font-size, 21px);line-height:1.15;font-weight:800}.sales-order-title p{margin:2px 0 var(--sales-section-gap, 10px);font-size:11px;font-weight:700}.sales-order-title h2{margin:0 0 var(--sales-row-gap, 8px);font-size:19px;line-height:1.2;font-weight:800}.sales-order-phone{align-self:end;font-size:11px;padding-bottom:var(--sales-section-padding-y, 6px)}.sales-order-line{border-top:var(--sales-border-width, 1px) solid #000000;margin:var(--sales-row-gap, 8px) 0 var(--sales-section-gap, 14px)}.sales-order-meta{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;font-size:14px;font-family:PingFang SC,Microsoft YaHei,sans-serif}.sales-order-meta p{margin:0 0 var(--sales-row-gap, 7px)}.sales-order-meta span{margin-left:52px}.sales-order-number{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sales-number-gap, 24px);padding-top:var(--sales-section-padding-y, 4px)}.sales-order-number strong{color:#e60000;font-size:19px;font-family:Arial,sans-serif}.sales-order-number span{margin:0;font-size:16px;font-weight:800;font-family:PingFang SC,Microsoft YaHei,sans-serif}.sales-order-table{width:100%;border-collapse:collapse;margin-top:var(--sales-section-gap, 10px);table-layout:fixed;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:var(--sales-table-font-size, 10px)}.sales-order-table th,.sales-order-table td{border:var(--sales-border-width, 1px) solid #000000;text-align:center;vertical-align:middle;padding:5px 3px;height:auto;position:relative;word-break:break-word}.sales-order-table th{font-weight:800}.sales-order-table th:nth-child(1){width:28px}.sales-order-table th:nth-child(2){width:62px}.sales-order-table th:nth-child(3){width:82px}.sales-order-table th:nth-child(4){width:62px}.sales-order-table th:nth-child(5){width:68px}.sales-order-table th:nth-child(6){width:42px}.sales-order-table th:nth-child(7){width:42px}.sales-order-table th:nth-child(8){width:50px}.sales-order-table th:nth-child(9){width:62px}.sales-order-table th:nth-child(10){width:82px}.sales-order-table img{max-width:100%;max-height:86px;object-fit:contain}.sales-order-table tbody tr:first-child td{min-height:calc(var(--sales-settlement-min-height, 30px) + 4px)}.ledger-form-grid.sales-order-settlement-form{grid-template-columns:repeat(6,minmax(120px,1fr))!important;align-items:end}.sales-order-price-note{border:var(--sales-border-width, 1px) solid #000000;border-top:0;padding:var(--sales-section-padding-y, 6px) 8px;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:11px;font-weight:700}.sales-order-settlement{border:var(--sales-border-width, 1px) solid #000000;border-top:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:10px;font-weight:700}.sales-order-settlement span{min-height:var(--sales-settlement-min-height, 30px);border-right:var(--sales-border-width, 1px) solid #000000;display:flex;align-items:center;padding:var(--sales-row-padding-y, 5px) 6px;word-break:break-word}.sales-order-settlement span:nth-child(4n),.sales-order-settlement span:last-child{border-right:0}.sales-order-remark{border:var(--sales-border-width, 1px) solid #000000;border-top:0;padding:var(--sales-section-padding-y, 8px);font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:13px;font-weight:700}.sales-order-extra-image{align-items:center;background:transparent;border:0;box-sizing:border-box;display:flex;justify-content:center;overflow:hidden;padding:0;position:absolute;z-index:2}.sales-order-extra-image-content{align-items:center;display:flex;height:100%;justify-content:center;transform-origin:center center;width:100%}.sales-order-extra-image-content img{display:block;max-width:100%;max-height:100%;object-fit:contain;margin:0 auto}.sales-order-extra-image-free{background:transparent}.sales-order-draggable-layer.sales-order-extra-image{overflow:visible}.sales-order-print-editable{-webkit-user-select:none;user-select:none}.sales-order-draggable-layer{border:1px dashed transparent;cursor:move}.sales-order-draggable-layer:after{background:#1677ffe6;border-radius:3px;color:#fff;content:"拖动";font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:10px;font-weight:700;line-height:1;padding:3px 4px;position:absolute;right:2px;top:2px;opacity:0;pointer-events:none;transition:opacity .12s ease}.sales-order-draggable-layer:hover{border-color:#1677ff}.sales-order-draggable-layer:hover:after,.is-dragging-sales-template .sales-order-draggable-layer:after{opacity:1}.sales-order-content-editable{border:1px dashed rgba(22,119,255,.65);border-radius:3px;cursor:text;display:inline;padding:1px 3px}.sales-order-content-editable:hover{background:#1677ff1a}.sales-order-image-resize-handle{background:#fff;border:2px solid #1677ff;border-radius:3px;bottom:-7px;cursor:nwse-resize;height:14px;padding:0;position:absolute;right:-7px;width:14px;z-index:5;opacity:0;pointer-events:none;transition:opacity .12s ease}.sales-order-image-rotate-handle{background:#1677ff;border:2px solid #ffffff;border-radius:999px;box-shadow:0 0 0 1px #1677ff;color:#fff;cursor:grab;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:11px;font-weight:700;height:24px;left:50%;line-height:18px;padding:0 8px;position:absolute;top:-34px;transform:translate(-50%);white-space:nowrap;width:auto;z-index:5;opacity:0;pointer-events:none;transition:opacity .12s ease}.sales-order-image-rotate-handle:after{background:#1677ff;content:"";height:10px;left:50%;position:absolute;top:21px;transform:translate(-50%);width:2px}.sales-order-draggable-layer:hover .sales-order-image-resize-handle,.sales-order-draggable-layer:hover .sales-order-image-rotate-handle,.is-resizing-sales-image .sales-order-image-resize-handle,.is-rotating-sales-image .sales-order-image-rotate-handle{opacity:1;pointer-events:auto}.sales-order-print-resizable-th{position:relative}.sales-order-print-resizable-th>span{display:inline-block;max-width:calc(100% - 10px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-order-print-column-resizer{background:transparent;border:0;cursor:col-resize;height:100%;padding:0;position:absolute;right:-4px;top:0;width:8px;z-index:4;opacity:0;pointer-events:none;transition:opacity .12s ease}.sales-order-print-column-resizer:after{background:#1677ff;bottom:3px;content:"";left:3px;opacity:.5;position:absolute;top:3px;width:2px}.sales-order-print-column-resizer:hover:after,.is-resizing-sales-column .sales-order-print-column-resizer:after{opacity:1}.sales-order-print-resizable-th:hover>.sales-order-print-column-resizer,.is-resizing-sales-column .sales-order-print-column-resizer{opacity:1;pointer-events:auto}.sales-order-adjustable-row{position:relative}.sales-order-single-row-resizer{background:#1677ff;border:1px solid #ffffff;border-radius:999px;bottom:-6px;box-shadow:0 1px 4px #1677ff4d;color:#fff;cursor:row-resize;height:12px;padding:0;position:absolute;right:4px;width:28px;z-index:6;opacity:0;pointer-events:none;transition:opacity .12s ease}.sales-order-single-row-resizer:before{background:#ffffffe6;border-radius:1px;content:"";height:2px;left:6px;position:absolute;right:6px;top:4px}.sales-order-single-row-resizer:after{background:#ffffffe6;border-radius:1px;content:"";height:2px;left:6px;position:absolute;right:6px;top:7px}.sales-order-single-row-resizer:hover,.is-resizing-sales-row .sales-order-single-row-resizer{background:#0958d9}.sales-order-adjustable-row:hover>.sales-order-single-row-resizer,.sales-order-print-resizable-th:hover>.sales-order-single-row-resizer,tr:hover>td>.sales-order-single-row-resizer,.is-resizing-sales-row .sales-order-single-row-resizer{opacity:1;pointer-events:auto}.is-capturing-sales-order .sales-order-draggable-layer{border:0}.is-capturing-sales-order .sales-order-draggable-layer:after,.is-capturing-sales-order .sales-order-print-column-resizer,.is-capturing-sales-order .sales-order-single-row-resizer,.is-capturing-sales-order .sales-order-image-resize-handle,.is-capturing-sales-order .sales-order-image-rotate-handle{display:none!important}.is-dragging-sales-template,.is-dragging-sales-template *,.is-resizing-sales-row,.is-resizing-sales-row *,.is-resizing-sales-image,.is-resizing-sales-image *,.is-rotating-sales-image,.is-rotating-sales-image *{cursor:move!important;-webkit-user-select:none!important;user-select:none!important}.is-resizing-sales-row,.is-resizing-sales-row *{cursor:row-resize!important}.is-resizing-sales-image,.is-resizing-sales-image *{cursor:nwse-resize!important}.is-rotating-sales-image,.is-rotating-sales-image *{cursor:grabbing!important}.pi-invoice-print{border:0;font-family:Arial,Helvetica Neue,sans-serif;font-size:11px;font-style:italic;line-height:1.28}.pi-header-band{align-items:center;background:#d9ebf7;border-bottom:3px solid #000000;display:grid;gap:12px;grid-template-columns:44mm minmax(0,1fr);min-height:25mm;padding:1mm 8mm}.pi-logo-box{align-items:center;display:flex;height:22mm;justify-content:center;overflow:hidden}.pi-logo-box img{display:block;max-height:100%;max-width:100%;object-fit:contain}.pi-logo-fallback{align-items:center;border:2px solid #0b5c8f;color:#0b5c8f;display:flex;font-size:28px;font-style:normal;font-weight:800;height:18mm;justify-content:center;width:18mm}.pi-company-block{color:#000;text-align:center}.pi-company-block h1{font-size:24px;font-style:italic;line-height:1.05;margin:0 0 4px}.pi-company-block p{font-size:10px;line-height:1.25;margin:0 0 4px}.pi-company-block p:last-child{display:flex;gap:24px;justify-content:center;margin-bottom:0}.pi-title{font-size:24px;font-weight:800;line-height:1;padding:2px 0 8px;text-align:center}.pi-meta{display:grid;grid-template-columns:minmax(0,1fr) 92mm;gap:16px;margin:0 0 6px}.pi-meta p{align-items:baseline;display:flex;font-size:18px;font-style:normal;line-height:1.35;margin:0 0 8px}.pi-buyer span{display:inline-block;font-weight:400;min-width:32mm;text-align:right}.pi-buyer strong{font-weight:600;margin-left:7mm}.pi-doc-info p{font-size:19px;font-weight:700}.pi-doc-info span{display:inline-block;min-width:22mm}.pi-doc-info .pi-rate-line{font-size:12px;font-weight:600;margin-top:-4px}.pi-rate-line strong{word-break:break-word}.pi-product-table{border-collapse:collapse;font-size:10px;table-layout:fixed;width:100%}.pi-product-table th,.pi-product-table td{border:1px solid #000000;color:#000;font-style:italic;height:13mm;padding:2px 3px;position:relative;text-align:center;vertical-align:middle;word-break:break-word}.pi-product-table th{background:#d9ebf7;font-size:11px;font-weight:800}.pi-product-table td{font-size:11px}.pi-photo-cell img{display:block;max-height:18mm;max-width:100%;object-fit:contain}.pi-size-cell{line-height:1.45;text-align:left!important}.pi-description{font-weight:700}.pi-total-row td{background:#d9ebf7;font-size:13px;font-weight:800;height:9mm}.pi-total-row td:first-child{text-align:right}.pi-remarks{font-style:normal;padding:4px 1mm 0}.pi-remarks h2{font-size:22px;line-height:1;margin:0 0 6px}.pi-remarks p{font-size:16px;line-height:1.25;margin:0 0 7px}.pi-signature-row{display:grid;font-style:normal;grid-template-columns:minmax(0,1fr) 70mm;margin-top:16mm;min-height:22mm}.pi-seller{position:relative}.pi-seller p,.pi-buyer-sign{font-size:15px;margin:0 0 8mm}.pi-seller-name{font-size:15px;font-weight:800;position:relative;z-index:2}.pi-stamp{bottom:-11mm;height:32mm;left:18mm;object-fit:contain;position:absolute;width:44mm;z-index:1}.sales-form-settings-screen{min-height:0}.sales-form-settings-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(520px,100%),1fr));gap:16px;align-items:start;max-width:100%;min-width:0}.sales-form-settings-panel{max-width:100%;max-height:calc(100vh - 150px);min-width:0;overflow:auto}.sales-form-settings-preview{max-height:calc(100vh - 150px);max-width:100%;overflow:auto;padding:16px}.sales-form-settings-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.sales-form-extra-images-field{display:grid;gap:8px}.sales-form-extra-images-head,.sales-form-extra-image-title{align-items:center;display:flex;justify-content:space-between;gap:8px}.sales-form-extra-images-head span,.sales-form-extra-image-title span{color:#1f2933;font-weight:700}.sales-form-extra-images-list{display:grid;gap:10px}.sales-form-extra-image-item{background:#f7f9f5;border:1px solid #dfe4dc;border-radius:6px;display:grid;gap:8px;padding:10px}.preview-field-label{align-items:center;display:inline-flex;gap:7px;min-width:0}.preview-field-label-table{justify-content:center;width:100%}.preview-field-toggle{background:#fff;border:1px solid #b7c0b4;border-radius:50%;cursor:pointer;flex:0 0 auto;height:11px;min-width:0;padding:0;width:11px}.preview-field-toggle.is-on{background:#1677ff;border-color:#1677ff;box-shadow:0 0 0 2px #1677ff1f}.preview-field-toggle:focus-visible{outline:2px solid rgba(22,119,255,.35);outline-offset:2px}.sales-order-section-preview-toggles{align-items:center;display:flex;flex-wrap:wrap;gap:10px 18px;margin:10px 0 8px}.sales-excel-designer{border:1px solid #dfe4dc;border-radius:6px;margin-bottom:18px;overflow:hidden;background:#f7f9f5}.designer-toolbar{background:#fff;border-bottom:1px solid #dfe4dc;padding:10px;position:sticky;top:0;z-index:8}.designer-cell-name{background:#f0f5eb;border:1px solid #d6dfcf;border-radius:4px;color:#344234;display:inline-flex;font-weight:700;justify-content:center;min-width:48px;padding:4px 8px}.designer-sheet-wrap{max-width:100%;max-height:560px;overflow:auto;padding:14px}.designer-a4-sheet{background:#fff;box-shadow:0 8px 26px #0f172a1f;box-sizing:border-box;height:297mm;margin:0 auto;min-width:210mm;padding:8mm;width:210mm}.designer-grid{border-collapse:collapse;table-layout:fixed;width:max-content}.designer-grid th,.designer-grid td{border:1px solid #bfc8bd;box-sizing:border-box;min-width:24px;position:relative}.designer-grid thead th,.designer-grid tbody th{background:#eef3ea;color:#4a5748;cursor:pointer;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:11px;font-weight:700;text-align:center;-webkit-user-select:none;user-select:none}.designer-grid thead th:hover,.designer-grid tbody th:hover,.designer-head-selected{background:#dbeafe!important;color:#1455a6!important}.designer-row-head-col{width:28px}.designer-cell{background:#fff;cursor:cell;font-family:PingFang SC,Microsoft YaHei,sans-serif;min-height:24px;overflow:hidden;padding:4px 6px;vertical-align:middle;word-break:break-word}.designer-cell-selected{background:#eaf3ff}.designer-cell-active{outline:2px solid #1677ff;outline-offset:-2px;z-index:2}.designer-bound-value{display:block}.designer-cell em{color:#8c8c8c;display:block;font-size:10px;font-style:normal;margin-top:2px}.designer-product-preview{display:grid;gap:3px;font-size:inherit;text-align:left}.designer-enable-switch{background:#f7f9f5;border:1px solid #dfe4dc;border-radius:6px;margin:10px 0;padding:10px 12px}.sales-order-designer-print{display:block}.designer-print-grid{border-collapse:collapse;table-layout:fixed;width:max-content}.designer-print-grid td{border:var(--sales-border-width, 1px) solid #000000;box-sizing:border-box;font-family:PingFang SC,Microsoft YaHei,sans-serif;overflow:hidden;padding:4px 6px;vertical-align:middle;word-break:break-word}.designer-col-resizer,.designer-row-resizer{background:transparent;border:0;padding:0;position:absolute;z-index:4}.designer-col-resizer{cursor:col-resize;inset:0 -4px 0 auto;width:8px}.designer-row-resizer{bottom:-4px;cursor:row-resize;height:8px;left:0;right:0}.designer-col-resizer:hover,.designer-row-resizer:hover{background:#1677ff2e}.opportunity-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:12px}.opportunity-kanban-wrap{max-width:100%;overflow:auto;padding-bottom:8px}.opportunity-kanban{align-items:stretch;display:grid;gap:12px;grid-auto-columns:minmax(260px,300px);grid-auto-flow:column;min-height:calc(100vh - 430px)}.opportunity-kanban-column{background:#f7f9f5;border:1px solid #dfe4dc;border-radius:8px;display:flex;flex-direction:column;min-height:360px;overflow:hidden}.kanban-column-head{align-items:center;background:#fff;border-bottom:1px solid #dfe4dc;display:flex;justify-content:space-between;padding:10px}.kanban-column-head span{color:#667085;font-weight:700}.kanban-card-list{display:grid;gap:10px;overflow:auto;padding:10px}.kanban-card{background:#fff;border:1px solid #e1e6dd;border-radius:8px;box-shadow:0 1px 2px #0f172a0a;color:#1f2933;cursor:pointer;display:grid;gap:6px;padding:10px;text-align:left;width:100%}.kanban-card:hover,.kanban-card-selected{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff1f}.kanban-card strong{font-size:14px}.kanban-card span,.kanban-card small{color:#667085}.opportunity-calendar-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex:1 1 auto;flex-direction:column;min-height:calc(100vh - 430px);overflow:hidden;padding:12px}.opportunity-calendar-toolbar{align-items:center;display:flex;flex:0 0 auto;flex-wrap:wrap;gap:8px;margin-bottom:10px}.opportunity-calendar-weekdays{background:#f8fafc;border:1px solid #e5e7eb;border-bottom:0;border-radius:8px 8px 0 0;color:#475467;display:grid;flex:0 0 auto;font-size:13px;font-weight:700;grid-template-columns:repeat(7,minmax(0,1fr))}.opportunity-calendar-weekdays>div{padding:8px 10px;text-align:center}.opportunity-calendar-grid{border-left:1px solid #e5e7eb;border-top:1px solid #e5e7eb;display:grid;flex:1 1 auto;grid-template-columns:repeat(7,minmax(0,1fr));min-height:0;overflow:auto}.opportunity-calendar-day{background:#fff;border-bottom:1px solid #e5e7eb;border-right:1px solid #e5e7eb;min-height:132px;min-width:0;padding:8px}.opportunity-calendar-day.is-outside{background:#f8fafc;color:#98a2b3}.opportunity-calendar-day.is-today{box-shadow:inset 0 0 0 2px #1677ff47}.opportunity-calendar-date{align-items:center;display:flex;justify-content:space-between;margin-bottom:6px}.opportunity-calendar-date>span{align-items:center;background:#f2f4f7;border-radius:999px;color:#344054;display:inline-flex;font-size:12px;font-weight:700;height:24px;justify-content:center;width:24px}.opportunity-calendar-day.is-today .opportunity-calendar-date>span{background:#1677ff;color:#fff}.opportunity-calendar-events{display:grid;gap:6px}.opportunity-calendar-event{background:#f6fbff;border:1px solid #cfe5ff;border-radius:6px;color:#1f2328;cursor:pointer;display:grid;gap:2px;padding:6px;text-align:left;width:100%}.opportunity-calendar-event:hover,.opportunity-calendar-event.is-selected{background:#eaf3ff;border-color:#1677ff}.opportunity-calendar-event strong,.opportunity-calendar-event span,.opportunity-calendar-event em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.opportunity-calendar-event strong{font-size:13px}.opportunity-calendar-event span{color:#475467;font-size:12px}.opportunity-calendar-event em{color:#667085;font-size:11px;font-style:normal}.form-grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 12px}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px}.stat-label{color:#667085;font-size:13px}.stat-value{margin-top:8px;font-size:22px;font-weight:700}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.85fr);gap:16px;margin-top:16px}.chart-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px;min-width:0}.chart-title{font-size:15px;font-weight:700;margin-bottom:12px;color:#24292f}.chart-svg{display:block;width:100%;height:auto;min-height:300px}.donut-wrap{min-height:260px;display:grid;align-content:center;justify-items:center;gap:16px}.donut{width:190px;height:190px;border-radius:50%;display:grid;place-items:center}.donut-center{width:116px;height:116px;border-radius:50%;background:#fff;display:grid;place-items:center;align-content:center;border:1px solid #eef1f4}.donut-center span{color:#667085;font-size:13px}.donut-center strong{font-size:18px;line-height:1.25}.donut-legend{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;color:#667085;font-size:13px}.donut-legend span{display:inline-flex;align-items:center;gap:6px}.donut-legend i{width:10px;height:10px;border-radius:2px;display:inline-block}.bar-list{display:grid;gap:12px}.bar-row{display:grid;grid-template-columns:minmax(92px,138px) minmax(120px,1fr) 92px;align-items:center;gap:10px}.bar-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475467;font-size:13px}.bar-track{height:12px;background:#eef1f4;border-radius:999px;overflow:hidden}.bar-fill{height:100%;border-radius:999px}.bar-value{text-align:right;color:#24292f;font-variant-numeric:tabular-nums;font-size:13px}.empty-chart{min-height:160px;display:grid;place-items:center;color:#667085}.account-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.account-report-grid{display:grid;gap:16px;margin-top:16px}.account-visual-grid{align-items:stretch;display:grid;gap:16px;grid-template-columns:minmax(0,1.6fr) minmax(340px,.9fr)}.account-flow-panel,.account-share-panel{min-width:0}.account-flow-panel .chart-panel,.account-share-panel .chart-panel{display:flex;flex-direction:column;height:100%;min-height:430px}.account-flow-panel .account-cluster-chart,.account-share-panel .account-share-layered{flex:1}.account-balance-panel{overflow:hidden}.account-flow-name{color:#475467;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amount-positive{color:#287d6b;font-weight:600}.amount-negative{color:#c35f37;font-weight:600}.account-share-layered{align-items:center;display:grid;gap:10px}.account-share-svg{display:block;width:100%;height:auto;max-height:360px;min-height:300px}.account-total-ring{filter:drop-shadow(0 2px 6px rgba(16,24,40,.08))}.account-donut-center-label{fill:#667085;font-size:11px}.account-donut-center-value{fill:#24292f;font-size:13px;font-weight:700}.account-donut-ring-value{fill:#fff;font-size:10px;font-weight:700;paint-order:stroke;stroke:#0000002e;stroke-width:2px}.account-donut-name-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;padding:2px 4px 0}.account-donut-name-legend span{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;white-space:nowrap}.account-donut-name-legend i{width:10px;height:10px;border-radius:2px;display:inline-block}.account-donut-percent-label{fill:#fff;font-size:11px;font-weight:700;paint-order:stroke;stroke:#0000002e;stroke-width:2px}.account-cluster-chart{display:grid;gap:12px}.account-flow-legend{display:flex;justify-content:flex-end;gap:16px;color:#667085;font-size:13px}.account-flow-legend span{display:inline-flex;align-items:center;gap:6px}.account-flow-legend i{width:10px;height:10px;border-radius:2px;display:inline-block}.account-flow-legend i.income{background:#287d6b}.account-flow-legend i.expense{background:#c35f37}.account-cluster-plot{display:grid;min-height:300px;gap:10px;align-items:end;padding:12px 8px 0;border-left:1px solid #d0d7de;border-bottom:1px solid #d0d7de;background:linear-gradient(to top,transparent 0,transparent 24%,#eef1f4 25%,transparent 26%),linear-gradient(to top,transparent 0,transparent 49%,#eef1f4 50%,transparent 51%),linear-gradient(to top,transparent 0,transparent 74%,#eef1f4 75%,transparent 76%)}.account-cluster-group{min-width:0;display:grid;grid-template-rows:244px auto;gap:8px;align-items:end}.account-cluster-bars{height:244px;display:flex;justify-content:center;align-items:flex-end;gap:6px}.account-cluster-item{height:244px;width:32px;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px}.account-cluster-bar{width:24px;max-height:148px;min-height:0;border-radius:4px 4px 0 0;box-shadow:inset 0 -1px #00000014}.account-cluster-bar.income{background:#287d6b}.account-cluster-bar.expense{background:#c35f37}.account-cluster-label{color:#475467;text-align:center;font-size:12px;line-height:1.2;min-height:30px;overflow-wrap:anywhere}.account-cluster-value{writing-mode:vertical-rl;transform:rotate(180deg);text-align:center;font-size:12px;font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap;max-height:92px}.account-cluster-value.income{color:#287d6b}.account-cluster-value.expense{color:#c35f37}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eef2f6}.login-panel{width:min(420px,100%);background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:24px}.ledger-workbench{background:#f6f7f3;border:1px solid #dfe4dc;border-radius:8px;display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;padding:16px}.ledger-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:14px}.ledger-metric{background:#fff;border:1px solid #dfe4dc;border-radius:8px;padding:14px 16px;box-shadow:0 8px 20px #17211d0f}.ledger-metric span{display:block;color:#617069;font-size:13px;margin-bottom:8px}.ledger-metric strong{color:#17211d;font-size:22px;line-height:1.2;font-variant-numeric:tabular-nums}.ledger-metric.income strong{color:#1f7a55}.ledger-metric.expense strong{color:#b5472f}.ledger-metric.net strong{color:#285f8f}.ledger-entry-panel{background:#fff;border:1px solid #dfe4dc;border-radius:8px;display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;padding:14px;margin-bottom:14px;box-shadow:0 8px 24px #17211d0f}.ledger-entry-panel.sales-order-form-panel{overflow:visible}.ledger-detail-panel{margin-bottom:0;padding-bottom:6px}.ledger-form-note{color:#17211d;font-size:15px;font-weight:700;margin-bottom:12px}.ledger-entry-form .ant-form-item{margin-bottom:12px}.ledger-entry-form .ant-form-item-label{padding-bottom:4px}.ledger-entry-form .ant-form-item-label>label{color:#46524d;font-size:13px}.ledger-form-strip,.ledger-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px 12px}.ledger-form-strip{padding:12px;margin-bottom:2px;background:#f7f9f4;border:1px solid #e3e8df;border-radius:8px}.ledger-wide-grid{display:grid;grid-template-columns:minmax(220px,1fr);gap:10px 12px}.ledger-note-form-item{margin-bottom:6px!important}.note-editor-wrap{border:1px solid #d9d9d9;border-radius:6px;background:#fff;overflow:hidden}.note-editor-toolbar{display:flex;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid #eef1f5;background:#fafafa;color:#8c8c8c;font-size:12px}.note-editor{min-height:132px;max-height:300px;overflow:auto;padding:10px 12px;border:0;line-height:1.6;outline:none;white-space:pre-wrap}.note-editor-wrap:focus-within{border-color:#1677ff;box-shadow:0 0 0 2px #0591ff1a}.note-editor:empty:before{content:"可输入文字、数字，也可直接粘贴截图、图片或凭证内容";color:#8c8c8c}.note-editor img,.note-viewer img{display:block;max-width:100%;max-height:520px;margin:8px 0;border:1px solid #dfe4dc;border-radius:6px}.note-voucher{display:inline-flex;align-items:center;max-width:100%;margin:6px 0;padding:6px 10px;border:1px solid #b7d4ff;border-radius:6px;background:#eef6ff;color:#1d6fd6;font-weight:600;text-decoration:none;word-break:break-all}.note-voucher:hover{color:#0f58b6;border-color:#80b8ff}.ledger-note-hint{color:#667085;font-size:12px;margin:-2px 0 12px}.settlement-percent-box{min-height:32px;display:flex;align-items:center;padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;background:#f7f9f4;color:#17211d;font-weight:700;font-variant-numeric:tabular-nums}.ledger-note-cell{display:flex;align-items:center;gap:6px;min-width:0}.ledger-note-cell span{display:inline-block;max-width:118px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ledger-note-cell .ant-btn{padding-inline:0}.note-viewer{max-height:70vh;overflow:auto;color:#17211d;line-height:1.7;white-space:pre-wrap}.ledger-form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:2px}.ledger-filter-row{display:grid;flex:0 0 auto;grid-template-columns:minmax(260px,1fr) 132px;gap:10px;margin-bottom:12px}.legacy-ledger-table{display:flex;flex-direction:column;flex:1;min-height:0}.legacy-ledger-table .ant-spin-nested-loading,.legacy-ledger-table .ant-spin-container{display:flex;flex:1;flex-direction:column;min-height:0}.legacy-ledger-table .ant-table{color:#17211d;border:1px solid #e0e6dc;border-radius:8px;flex:1 1 auto;min-height:0;overflow:hidden}.legacy-ledger-table .ant-pagination{margin:8px 0 0!important;padding-bottom:0}.legacy-ledger-table .ant-table-thead>tr>th{background:#edf1ea;color:#17211d;font-size:13px;font-weight:700;border-bottom:1px solid #dfe4dc}.legacy-ledger-table .ant-table-tbody>tr>td{border-bottom:1px solid #d7ded5;font-size:13px}.legacy-ledger-table .ant-table-tbody>tr.ledger-row-收入>td{background:#eef9f2}.legacy-ledger-table .ant-table-tbody>tr.ledger-row-支出>td{background:#fff1ed}.legacy-ledger-table .ant-table-tbody>tr.ledger-row-转账>td{background:#fff7df}.legacy-ledger-table .ant-table-tbody>tr:nth-child(2n).ledger-row-收入>td{background:#e2f4e9}.legacy-ledger-table .ant-table-tbody>tr:nth-child(2n).ledger-row-支出>td{background:#ffe5dd}.legacy-ledger-table .ant-table-tbody>tr:nth-child(2n).ledger-row-转账>td{background:#ffefc3}.legacy-ledger-table .ant-table-tbody>tr:hover>td{background:#dceeff!important}.ledger-amount{font-weight:700;font-variant-numeric:tabular-nums}.ledger-amount.income{color:#137a42}.ledger-amount.expense{color:#c43d2f}.legacy-ledger-table .ant-btn-primary{background:#1d6fd6;border-color:#1d6fd6;font-weight:600}@media(max-width:1200px){.sales-order-layout{grid-template-columns:1fr}.sales-order-preview-shell{max-height:none;position:static}}@media(max-width:900px){.app-header{align-items:flex-start;height:auto;min-height:64px;padding:10px 12px!important}.app-title-text{max-width:58vw}.stat-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.account-stat-grid,.opportunity-stat-grid,.dashboard-grid,.account-report-grid,.account-visual-grid{grid-template-columns:1fr}.account-flow-panel .chart-panel,.account-share-panel .chart-panel{min-height:360px}.account-cluster-plot{overflow-x:auto;grid-template-columns:repeat(4,minmax(86px,1fr))!important}.bar-row{grid-template-columns:minmax(82px,112px) minmax(90px,1fr) 84px}.page,.ledger-workbench{padding:12px}.ledger-summary-grid,.ledger-form-strip,.ledger-form-grid,.sales-order-recipient-grid,.form-grid-3,.ledger-wide-grid,.ledger-filter-row{grid-template-columns:1fr}.sales-order-recipient-grid,.ledger-form-grid.sales-order-settlement-form{grid-template-columns:1fr!important}}.menu-badge-label{display:inline-flex;align-items:center;gap:1em;max-width:100%;min-width:0;vertical-align:middle}.menu-badge-text{display:inline-block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.menu-corner-badge{position:static;flex:0 0 auto;line-height:1;pointer-events:none}.menu-corner-badge .ant-badge-count{min-width:18px;height:18px;padding:0 5px;border:2px solid currentColor;border-color:#fff;border-radius:999px;box-shadow:none;font-size:12px;font-weight:700;line-height:14px}.ant-menu-inline-collapsed .menu-badge-label{gap:0}@media print{@page sales-portrait{size:A4 portrait;margin:0}@page sales-landscape{size:A4 landscape;margin:0}body{background:#fff}body *{visibility:hidden}.sales-order-print,.sales-order-print *{visibility:visible}.sales-order-print{position:absolute;top:0;left:0;width:var(--paper-width, 210mm);min-width:var(--paper-width, 210mm);height:var(--paper-height, 297mm);min-height:var(--paper-height, 297mm);border:0;overflow:hidden;padding:var(--paper-padding, 12mm 10mm);box-shadow:none}.pi-invoice-print{width:var(--paper-width, 297mm);min-width:var(--paper-width, 297mm);height:var(--paper-height, 210mm);min-height:var(--paper-height, 210mm);padding:var(--paper-padding, 8mm 10mm)}.sales-order-draggable-layer{border:0}.sales-order-draggable-layer:after,.sales-order-print-column-resizer,.sales-order-single-row-resizer,.sales-order-image-resize-handle,.sales-order-image-rotate-handle{display:none!important}}
