.finance-cost-calculations{--cost-ink:#173345;--cost-muted:#567080;--cost-line:#d5e1e7;--cost-teal:#087a72;box-sizing:border-box;color:var(--cost-ink);font:14px/1.6 "Microsoft YaHei","Segoe UI",sans-serif;max-width:1400px;margin:0 auto;padding:24px;background:#f3f7f9;border:1px solid #dde7ec;border-radius:14px}
.finance-cost-calculations *{box-sizing:border-box}.finance-cost-calculations [hidden]{display:none!important}.finance-cost-calculations h2,.finance-cost-calculations h3,.finance-cost-calculations h4,.finance-cost-calculations p{margin-top:0}.finance-cost-calculations h2{font-size:28px;line-height:1.3;margin-bottom:10px;letter-spacing:.02em}.finance-cost-calculations h3{font-size:17px;margin-bottom:8px}.finance-cost-calculations h4{font-size:14px;margin-bottom:8px}.cost-header{padding:4px 0 18px}.cost-eyebrow{font-size:12px;font-weight:700;color:var(--cost-teal);letter-spacing:.08em;margin-bottom:8px}.cost-subtitle{color:var(--cost-muted);margin-bottom:0}.cost-tabs{display:flex;gap:8px;padding:5px;background:#e7eff3;border-radius:10px;margin-bottom:14px}.cost-tabs .cost-button{flex:1;background:transparent;border-color:transparent;font-weight:600;padding:12px 8px}.cost-tabs .cost-button[aria-pressed=true]{background:#fff;color:#076c65;box-shadow:0 2px 6px #17334514;border-color:#cbdcdf}.cost-button{appearance:none;font:inherit;border:1px solid #bdced7;border-radius:7px;background:#fff;color:var(--cost-ink);cursor:pointer;min-height:40px;padding:8px 14px;line-height:1.45;transition:background .1s}.cost-button:hover{background:#edf7f6;border-color:#579d97}.cost-button:focus-visible,.cost-import:focus-within{outline:3px solid #4faaa1;outline-offset:2px}.cost-button:disabled{cursor:not-allowed;color:#6d8190;background:#edf1f3;border-color:#d8e1e6;box-shadow:none}.cost-button.cost-primary{background:var(--cost-teal);border-color:var(--cost-teal);color:#fff;font-weight:700}.cost-button.cost-primary:hover{background:#08675f}.cost-button.cost-primary:disabled{background:#86aaa6;border-color:#86aaa6;color:#fff}.cost-button.cost-danger{color:#a04232;font-size:13px}.cost-transfer{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid var(--cost-line)}.cost-import{display:flex;align-items:center;gap:10px;font-size:13px;max-width:100%;border:1px solid #cbd8df;background:#fff;padding:8px 12px;border-radius:7px;flex-wrap:wrap}.cost-import input{font-size:12px;max-width:240px}.cost-note{color:var(--cost-muted);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.cost-transfer>.cost-note{flex:1;min-width:240px}.cost-feedback{border-radius:7px;padding:10px 12px;background:#e5f3f0;color:#176659;overflow-wrap:anywhere;white-space:pre-line}.cost-feedback:empty{display:none}.cost-feedback.cost-error{background:#fff0e7;color:#934320;border:1px solid #edcfba}.cost-intro{margin-bottom:16px}.cost-intro p{color:var(--cost-muted);margin-bottom:0}.cost-section{background:#fff;border:1px solid var(--cost-line);border-radius:10px;padding:20px;margin-bottom:14px}.cost-section>.cost-note{margin-bottom:16px}.cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:18px;row-gap:15px}.cost-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px}.cost-field-label{font-weight:600;line-height:1.55}.cost-field input,.cost-field select,.cost-field textarea{font:inherit;color:var(--cost-ink);background:#fff;border:1px solid #bacdd7;border-radius:6px;min-width:0;width:100%;height:40px;padding:9px 10px;line-height:1.4;box-shadow:inset 0 1px 2px #17334505}.cost-field textarea{height:auto;min-height:70px;resize:vertical}.cost-field input::placeholder{color:#82949e;font-weight:400}.cost-field input:focus,.cost-field select:focus,.cost-field textarea:focus{outline:2px solid #4faaa1;outline-offset:1px;border-color:#298b82}.cost-field:has(textarea[name=basis]){grid-column:1/-1}.cost-grid .cost-field:has(textarea[name$=".source"]),.cost-grid .cost-field:has(textarea[name$=".basis"]){grid-column:span 2}.cost-item{background:#f7fafb;border:1px solid #d9e4e9;border-radius:8px;padding:16px;margin-bottom:12px}.cost-item-title{font-weight:700;overflow-wrap:anywhere}.cost-quote>summary{cursor:pointer;padding:2px 0 12px;color:#165d62;font-size:14px}.cost-quote:not([open])>summary{padding-bottom:0}.cost-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.cost-empty{padding:12px 14px;background:#f0f5f7;color:#667d89;font-size:13px;border-radius:6px;margin-bottom:12px}.cost-check{display:flex;align-items:center;gap:9px;font-size:13px;margin-top:14px}.cost-check input{accent-color:var(--cost-teal);width:17px;height:17px;margin:0}.cost-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 0 12px}.cost-results{margin-top:24px;padding-top:22px;border-top:2px solid #c8d8df}.cost-results h3{margin-bottom:12px}.cost-stale{color:#9b5b0a;background:#fff3db;padding:12px 14px;border-radius:7px;font-weight:600}.cost-stale:empty{display:none}.cost-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 24px}.cost-metric{background:#fff;border:1px solid var(--cost-line);border-radius:9px;padding:17px;min-width:0}.cost-metric h4{font-weight:600;color:#4a6475;font-size:13px}.cost-amount{font-size:25px;font-weight:700;line-height:1.35;font-variant-numeric:tabular-nums;margin-bottom:9px;overflow-wrap:anywhere}.cost-basis{font-size:12px;line-height:1.7;color:#617986;overflow-wrap:anywhere;margin-bottom:0}.cost-warning{color:#95600b}.cost-success{color:#136f58}.cost-comparisons{margin:24px 0}.cost-comparison{border:1px solid var(--cost-line);background:#fff;border-radius:9px;padding:18px;margin-bottom:12px;overflow-wrap:anywhere}.cost-comparison p{margin-bottom:7px}.cost-comparison ul{margin:8px 0 10px;padding-left:22px;color:#8d5c1d;font-size:13px}.cost-boundary{background:#eaf0f4;padding:18px;border-radius:9px;margin-top:14px}.cost-boundary ul{padding-left:20px;margin:0;color:#456170;font-size:13px}.cost-boundary li+li{margin-top:7px}@media(max-width:1000px){.cost-grid,.cost-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-cost-calculations{padding:18px}.cost-tabs .cost-button{font-size:13px}.cost-grid .cost-field:has(textarea[name$=".basis"]){grid-column:1/-1}}@media(max-width:620px){.finance-cost-calculations{padding:12px;border-radius:9px}.cost-tabs{flex-direction:column;gap:4px}.cost-tabs .cost-button{text-align:left}.cost-grid,.cost-metrics{grid-template-columns:1fr}.cost-grid .cost-field:has(textarea[name$=".source"]),.cost-grid .cost-field:has(textarea[name$=".basis"]){grid-column:auto}.cost-section{padding:14px}.cost-amount{font-size:23px}.cost-actions .cost-button{flex:1 1 44%;font-size:13px;padding:9px}.cost-transfer>.cost-note{min-width:0;flex-basis:100%}.cost-import input{max-width:100%}}@media print{.finance-cost-calculations{padding:0;border:0;background:#fff}.cost-header,.cost-tabs,.cost-transfer,.cost-form,.cost-feedback{display:none}.cost-results{border:0;margin:0;padding:0}.cost-metric,.cost-comparison,.cost-boundary{break-inside:avoid}.cost-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cost-field input[aria-invalid=true],.cost-field select[aria-invalid=true],.cost-field textarea[aria-invalid=true]{border-color:#b64e37;background:#fff7f2}.cost-field-error{color:#a04232;font-size:12px}
.cost-source-text{display:block;width:100%;box-sizing:border-box;resize:vertical;border:1px solid #bacdd7;border-radius:7px;padding:12px;font:14px/1.65 "Microsoft YaHei",sans-serif;color:#173345;background:#fcfefe;min-height:140px}.cost-confirm{padding:16px;background:#e7f3f0;border:1px solid #a9cdc3;border-radius:8px;align-items:flex-start}.cost-confirm input{flex:none;margin-top:3px}.cost-analysis{margin:18px 0 28px;padding:22px;background:#fff;border:1px solid #b4d2cc;border-radius:10px}.cost-analysis-headline{font-size:19px;font-weight:700;color:#125e58}.cost-finding,.cost-action{padding:14px 0;border-top:1px solid #dce6e7;break-inside:avoid;overflow-wrap:anywhere}.cost-finding.critical{border-left:4px solid #ae4c38;padding-left:12px}.cost-finding.warning{border-left:4px solid #b88426;padding-left:12px}.cost-action p,.cost-finding p{margin:6px 0}.cost-missing{background:#fff5de;padding:12px;border-radius:7px;margin:15px 0}.cost-evidence{margin-top:14px;padding:12px;background:#f0f5f7;border-radius:7px}.cost-evidence-row{padding:8px 0;border-bottom:1px solid #d4e0e6;overflow-wrap:anywhere;font-size:13px}.cost-evidence-row blockquote{margin:5px 0 0;padding-left:12px;border-left:3px solid #98b4bc;white-space:pre-wrap}.cost-extraction-feedback{overflow-wrap:anywhere}.cost-extraction-feedback:empty{display:none}@media(max-width:620px){.cost-analysis{padding:13px}.cost-source-text{font-size:14px}}@media print{.cost-source{display:none}.cost-action,.cost-finding{break-inside:avoid}.cost-analysis{border:0;padding:0}}

.cost-derivations,.cost-review-notes{margin:12px 0;padding:12px 16px;border:1px solid var(--border,#d8e1ec);border-radius:8px;overflow-wrap:anywhere;background:var(--panel,#f7f9fc)}.cost-derivations summary{cursor:pointer;font-weight:600}.cost-derivations li,.cost-review-notes li{margin:8px 0;line-height:1.6}
.cost-operand{margin:10px 0;padding:8px 12px;border-left:3px solid #b8d0d5;background:#f8fbfc}.cost-operand p{margin:4px 0}.cost-operand blockquote,.cost-review-item blockquote{margin:7px 0;padding:8px 12px;border-left:3px solid #98b4bc;background:#edf3f5;white-space:pre-wrap;overflow-wrap:anywhere}.cost-formula{font-weight:600;color:#175b61;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cost-review-item{padding:13px 0;border-top:1px solid #d8e1e7}.cost-review-item p{margin:6px 0}.cost-original-candidate{white-space:pre-wrap;color:#634d35}.cost-next-step{color:#345d61;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.cost-effective-input{margin:20px 0 24px;padding:20px;border:1px solid #dec9a1;border-radius:10px;background:#fffaf0}.cost-effective-input>.cost-warning{line-height:1.8}.cost-input-differences{border-collapse:collapse;width:100%;table-layout:fixed;margin:14px 0;font-size:13px}.cost-input-differences th,.cost-input-differences td{padding:12px;text-align:left;vertical-align:top;border:1px solid #d8d7cc;white-space:pre-wrap;overflow-wrap:anywhere}.cost-input-differences thead th{background:#f0e8d7;font-weight:600}.cost-input-differences thead th:first-child{width:22%}.cost-input-differences tbody th{font-weight:600;background:#fffdf8}.cost-input-differences td{background:#fff}.cost-effective-input .cost-review-notes{background:#fffdf8}@media(max-width:620px){.cost-effective-input{padding:12px}.cost-input-differences{font-size:12px}.cost-input-differences th,.cost-input-differences td{padding:7px}.cost-review-notes,.cost-derivations{padding:10px}.cost-operand{padding:8px}.cost-input-differences thead th:first-child{width:24%}}@media print{.cost-effective-input{padding:12px;background:white}.cost-review-item,.cost-input-differences tr{break-inside:avoid}}
