.cv .cost-workspace { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.cv .cost-source { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.cv .cost-source:last-child { border-bottom: 0; }
.cv .cost-source-heading { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; align-items: center; }
.cv .cost-source-heading label { display: block; }
.cv .cost-source-heading small { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: 3px; font-variant-numeric: tabular-nums; }
.cv .cost-source .cv-field-error { margin: 5px 0 0; }
.cv .cost-source-details { background: #f6f4ef; border-radius: 10px; padding: 16px; margin-top: 12px; }
.cv .cost-source-details .cv-field-grid { margin-top: 12px; }
.cv .cost-source-details p { font-size: .82rem; color: var(--ink-soft); margin-bottom: 0; }
.cv .cost-distribution { background: #fbf3dc; padding: 14px 16px; border: 1px solid var(--gold); border-radius: 10px; }
.cv .cost-distribution strong { color: #8a6212; }
.cv .cost-distribution strong[data-complete="true"] { color: #0f7a4f; }
.cv .cost-distribution progress { display: block; width: 100%; height: 8px; border: 0; margin: 10px 0; accent-color: var(--navy); }
.cv .cost-distribution p { font-size: .82rem; color: #725e30; margin: 0; }
.cv .cost-toggle { display: flex; align-items: start; gap: 9px; margin: 15px 0 10px; font-size: .82rem; }
.cv .cost-toggle input { margin: 3px 0; accent-color: var(--navy); }
.cv .cost-primary { display: block; color: #f4d685; margin: 12px 0 5px; }
.cv .cost-verdict { color: #d9e0f5; font-size: .9rem; margin: 14px 0 0; }
.cv .cost-result-body { padding: 22px; }
.cv .cost-summary { margin: 0 0 22px; }
.cv .cost-summary > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-soft); padding: 11px 0; }
.cv .cost-summary dt { color: var(--ink-soft); font-size: .85rem; }
.cv .cost-summary dd { margin: 0; font-weight: 650; text-align: right; white-space: nowrap; }
.cv .cost-summary .cost-total-row { border-bottom: 0; padding-top: 16px; }
.cv .cost-summary .cost-total-row dd { font-size: 1.2rem; }
.cv .cost-table-wrap { overflow-x: auto; margin: 14px 0 20px; }
.cv .cost-table { width: 100%; border-collapse: collapse; font-size: .76rem; line-height: 1.45; }
.cv .cost-table th, .cv .cost-table td { text-align: right; border-bottom: 1px solid var(--line-soft); padding: 10px 6px; }
.cv .cost-table th:first-child, .cv .cost-table td:first-child { text-align: left; }
.cv .cost-table th { color: var(--ink-soft); font-weight: 600; }
.cv .cost-table caption { text-align: left; font-size: .85rem; font-weight: 700; padding-bottom: 6px; }
.cv .cost-compare { display: block; text-align: center; text-decoration: none; margin-top: 18px; }
.cv .cost-footnote { font-size: .8rem; color: var(--ink-soft); background: #f6f4ef; padding: 14px; border-radius: 9px; margin: 0; }
.cv .cost-error { color: #9d3528; background: #fbe9e6; border-radius: 8px; padding: 12px; font-size: .85rem; margin: 0 0 16px; }
.cv .cost-method { max-width: 800px; padding-bottom: 28px; }
.cv .cost-method p { color: var(--ink-soft); }
@media (max-width: 920px) { .cv .cost-workspace { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cv .cost-source-heading { grid-template-columns: minmax(0, 1fr) 90px; } .cv .cost-result-body { padding: 18px; } .cv .cost-table { font-size: .73rem; } }
