.print-only{display:none}@media print{.print-only{display:block}.qp{font-size:10px;line-height:1.35;color:#000;padding:0 2mm}.qp-head{display:flex;gap:12px;align-items:baseline;font-size:13px;margin-bottom:4px}.qp-head .qp-muted{margin-left:auto;font-size:9px}.qp-title{font-weight:600;margin:6px 0 2px}.qp-table{width:100%;border-collapse:collapse;table-layout:auto}.qp-table th,.qp-table td{border:1px solid #555;padding:1px 4px;text-align:left;vertical-align:top}.qp-table th{background:#f3f4f6;font-weight:600;white-space:nowrap}.qp-kv th{width:1%}.qp-num{text-align:right!important}.qp-special{font-weight:700;color:#b91c1c}.qp-two{display:flex;gap:6px;align-items:flex-start}.qp-two>.qp-table{flex:1}.qp-sign td{width:40%}.qp-sign img{display:block;height:32px;margin-top:2px}.qp table,.qp-two{break-inside:avoid}}.a4{width:794px;min-height:1100px;margin:0 auto;background:#fff;padding:28px 34px;font-family:SimSun,Songti SC,serif;font-size:12.5px;color:#000;line-height:1.45;box-shadow:0 2px 12px #0000001f}.a4 .hd{display:flex;align-items:center;border-bottom:3px solid #c0392b;padding-bottom:6px;margin-bottom:6px}.a4 .logo{width:150px;font-weight:700;color:#c0392b;font-size:15px;line-height:1.1}.a4 .logo small{display:block;font-size:9px;color:#555;font-weight:400;white-space:nowrap}.a4 .hd h1{flex:1;text-align:center;font-size:24px;letter-spacing:.5em;margin:0;font-weight:700}.a4 .no{text-align:right;margin:4px 0 6px}.a4 .box{border:1px solid #000;padding:6px 8px;margin-bottom:4px}.a4 table{border-collapse:collapse;width:100%;font-size:12px}.a4 th,.a4 td{border:1px solid #000;padding:3px 5px;text-align:center}.a4 th{background:#fff;font-weight:700}.a4 td.empty{background:#fef3c7}.a4 table.quality th:first-child,.a4 table.quality td:first-child{min-width:5em}.a4 .clause{font-size:11.5px;line-height:1.5;border:1px solid #000;padding:6px 8px;margin-bottom:4px}.a4 .clause p{margin:1px 0}.a4 .parties{display:grid;grid-template-columns:1fr 1fr;border:1px solid #000}.a4 .parties>div{padding:6px 8px;line-height:1.9}.a4 .parties>div:first-child{border-right:1px solid #000}.a4 .sig{height:40px;vertical-align:middle;margin-left:8px}.cell-edit{outline:1px dashed #93c5fd;border-radius:2px;min-width:2em;display:inline-block;padding:0 2px}.cell-edit:focus{outline:2px solid #1d4ed8;background:#eff6ff}@media screen and (max-width: 1060px){.a4-scroll{overflow-x:auto;padding-bottom:14px}}@media print{body{background:#fff}.a4{box-shadow:none;width:auto;min-height:0;margin:0;padding:5mm 12mm}.a4 .parties>div{line-height:1.7}.a4 .clause{line-height:1.4}.a4 .parties,.a4 .clause,.a4 table,.a4 .box{break-inside:avoid}.a4 td.empty{background:#fff}.cell-edit{outline:none}}.a4 .sig-text{font-size:11px;color:#1e3a8a;margin-left:8px}html,body,#root,.ant-app{height:100%;margin:0}body{font-family:-apple-system,PingFang SC,Microsoft YaHei,system-ui,sans-serif;background:#f3f4f6}.kv{display:grid;grid-template-columns:96px 1fr 96px 1fr;gap:6px 12px;font-size:13px}.kv b{color:#6b7280;font-weight:400}.special-input{background:#fffbeb}.sigpad{border:1px dashed #9ca3af;border-radius:6px;background:#fff;touch-action:none;width:100%;height:160px}@media (max-width: 640px){.kv{grid-template-columns:84px 1fr}}@media (pointer: coarse){.touch-btn.ant-btn{min-height:40px;min-width:40px}.ant-popconfirm .ant-popconfirm-buttons .ant-btn{min-height:40px;min-width:64px}}@media (max-width: 575.98px){.sq-picker-fit.ant-picker-dropdown{left:0!important;right:0!important;width:max-content;max-width:100vw;margin-inline:auto}.sq-picker-fit.ant-picker-dropdown .ant-picker-date-panel{width:auto}.sq-picker-fit.ant-picker-dropdown .ant-picker-date-panel .ant-picker-body{padding:8px 6px}.sq-picker-fit.ant-picker-dropdown .ant-picker-date-panel .ant-picker-content{width:238px}.sq-picker-fit.ant-picker-dropdown .ant-picker-time-panel-column{width:44px}.sq-picker-fit.ant-picker-dropdown .ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner{width:36px;padding-inline-start:0;margin-inline:4px;text-align:center}}@media print{@page{size:A4}.noprint{display:none!important}html,body,#root,.ant-app{height:auto}.ant-layout-content{padding:0!important}}@media (min-width: 576px){.desc-nowrap .ant-descriptions-item-label{white-space:nowrap}.desc-nowrap .ant-descriptions-item-content{min-width:92px}}@media (max-width: 575.98px){.desc-nowrap .ant-descriptions-item-label{text-wrap:balance}}.list-search{width:220px}@media (max-width: 767.98px){.list-search{width:100%}}.ant-form-vertical .ant-form-item-label>label{vertical-align:top}.select-wrap.ant-select,.select-wrap.ant-select .ant-select-selector{height:auto!important;min-height:24px}.select-wrap.ant-select .ant-select-selection-item{white-space:normal;line-height:18px!important;padding-block:2px!important}.flow-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:18px}.flow-steps.ant-steps-horizontal .ant-steps-item-content{width:100%}.budget-grid{--hover-line: #cfe2ff;--hover-cross: #a9ccff;--hover-warn: #ffccc7}.budget-row-mismatch>.ant-table-cell{background:#fff1f0!important}.budget-grid .ant-table-row>.ant-table-cell.budget-hist{background:#f6f7f9}.budget-grid .ant-table-cell.budget-merged{vertical-align:middle}.budget-grid div.ant-table-cell.budget-merged{display:flex;flex-direction:column;justify-content:center}.budget-sum-group>.ant-table-cell{background:#f3f4f6!important;font-weight:600}.budget-sum-subtotal>.ant-table-cell{background:#fafafa!important;font-weight:600}.budget-sum-total>.ant-table-cell{background:#eef2ff!important;font-weight:700}.budget-grid .ant-table-row:hover>.ant-table-cell{background:var(--hover-line)!important}.budget-grid .budget-row-mismatch:hover>.ant-table-cell{background:var(--hover-warn)!important}.budget-grid .ant-table-row:hover>.ant-table-cell :is(.ant-input-number,.ant-select-selector,.ant-input):not(:focus-within){background:transparent!important}.budget-overview .ov-filter{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-height:28px;margin-bottom:8px;font-size:13px}.budget-overview .ov-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin-bottom:16px}.budget-overview .ov-card{display:flex;flex-direction:column;justify-content:flex-start;text-align:left;cursor:pointer;font:inherit;color:inherit;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px;transition:border-color .15s,box-shadow .15s}.budget-overview .ov-card:hover{border-color:#93b4e6}.budget-overview .ov-card:focus-visible,.budget-overview .ov-bar-row:focus-visible{outline:2px solid #2a78d6;outline-offset:2px}.budget-overview .ov-card.on{border-color:#2a78d6;box-shadow:0 0 0 1px #2a78d6 inset}.budget-overview .ov-card-title{font-size:13px;color:#52514e}.budget-overview .ov-card-scope{color:#8a8a85}.budget-overview .ov-card-hero{font-size:24px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums}.budget-overview .ov-card-hero small{font-size:13px;font-weight:400;color:#52514e}.budget-overview .ov-card-sub,.budget-overview .ov-card-line{font-size:12px;font-variant-numeric:tabular-nums}.budget-overview .ov-card-sub{color:#52514e;margin-bottom:4px}.budget-overview .ov-card-line.muted{color:#8a8a85}.budget-overview .ov-section-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:8px 0}.budget-overview .ov-legend{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#52514e}.budget-overview .ov-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-left:8px}.budget-overview .ov-legend i:first-child{margin-left:0}.budget-overview .ov-bars{display:flex;flex-direction:column;gap:2px;margin-bottom:16px}.budget-overview .ov-bar-row{display:grid;grid-template-columns:150px 1fr 64px;align-items:center;gap:8px;width:100%;text-align:left;font:inherit;color:inherit;background:transparent;border:0;border-radius:6px;padding:6px 8px;cursor:pointer}.budget-overview .ov-bar-row:hover{background:#f5f7fa}.budget-overview .ov-bar-row.on{background:#eef4fc}.budget-overview .ov-bar-row.dim{opacity:.45}.budget-overview .ov-bar-label{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.budget-overview .ov-bar-pair{display:flex;flex-direction:column;gap:2px;min-width:0}.budget-overview .ov-bar-track{display:flex;align-items:center;gap:6px;height:14px}.budget-overview .ov-bar-track span{display:block;flex:none;height:10px;border-radius:0 4px 4px 0}.budget-overview .ov-bar-track em{flex:none;font-style:normal;font-size:12px;color:#52514e;white-space:nowrap;font-variant-numeric:tabular-nums}.budget-overview .ov-bar-delta{font-size:12px;text-align:right;font-variant-numeric:tabular-nums}@media (max-width: 767px){.budget-overview .ov-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-overview .ov-card-hero{font-size:20px}.budget-overview .ov-bar-row{grid-template-columns:1fr 56px}.budget-overview .ov-bar-label{grid-column:1 / -1}}
