/* POM v1.1.4.9: keep receipt prefix and two-digit input on one line within the workspace. */
.company-setup-card{min-width:0;max-width:100%;padding-inline:12px}
.company-setup-card>.section-head{flex-wrap:wrap;align-items:flex-start;gap:10px}
.company-setup-card>.section-head>div:first-child{flex:1 1 500px;min-width:0}
.company-setup-card>.section-head>.toolbar{gap:6px;max-width:100%}
.company-setup-card>.section-head .btn{padding:8px 10px;max-width:100%;white-space:normal}
.company-setup-card .company-setup-wrap{width:100%;min-width:0;max-width:100%}
.company-setup-card .company-setup-table{width:100%;min-width:0;table-layout:auto}
.company-setup-card .col-receipt{width:16%}
.company-setup-card .col-company{width:14%}
.company-setup-card .col-date{width:10%}
.company-setup-card .col-amount,.company-setup-card .col-private{width:9%}
.company-setup-card .col-total{width:10%}
.company-setup-card .col-adjustment-rule{width:17%}
.company-setup-card .col-adjustment-score{width:4%}
.company-setup-card .col-files{width:7%}
.company-setup-card .col-delete{width:4%}
.company-setup-card .company-setup-table th,.company-setup-card .company-setup-table td{padding:8px 4px;vertical-align:middle;overflow-wrap:anywhere}
.company-setup-card .company-setup-table input:not([type=checkbox]),.company-setup-card .company-setup-table select{width:100%;min-width:0;max-width:100%;padding:7px 5px}
.company-setup-card .company-setup-table .company-date-cell select{min-width:110px}
.company-setup-card .company-setup-table .receipt-cell .toolbar{display:flex;flex-wrap:nowrap;align-items:center;gap:3px;white-space:nowrap}
.company-setup-card .company-setup-table .receipt-cell .small{flex:0 0 auto;min-width:0;max-width:none;white-space:nowrap;overflow-wrap:normal;line-height:1.35}
.company-setup-card .company-setup-table .receipt-input{flex:0 0 34px;width:34px;min-width:34px;max-width:34px;padding-inline:3px}
.company-setup-card .company-setup-table .company-money-inline{width:100%;max-width:112px;min-width:110px;margin-left:auto;gap:3px}
.company-setup-card .company-setup-table .company-money-inline input{width:0;min-width:95px;flex:1 1 0}
.company-setup-card .company-setup-table .money-input{text-align:right;font-variant-numeric:tabular-nums}
.company-setup-card .company-setup-table .money-unit{font-size:12px}
.company-setup-card .company-setup-table th.right,.company-setup-card .company-setup-table td.right{text-align:right;font-variant-numeric:tabular-nums}
.company-setup-card .company-setup-table .company-total-cell,.company-setup-card .company-setup-table #companyFundingTotals td.right{white-space:nowrap}
.company-setup-card .company-setup-table .adjustment-visible-list{min-width:0;max-width:100%;padding:3px}
.company-setup-card .company-setup-table .adjustment-check-option{gap:5px;padding:5px 3px}
.company-setup-card .company-setup-table .adjustment-check-option span{min-width:0;overflow-wrap:anywhere}
.company-setup-card .company-setup-table .adjustment-check-disabled{padding:7px 5px;overflow-wrap:anywhere}
.company-setup-card .company-setup-table .adjustment-score-cell{white-space:normal}
.company-setup-card .company-setup-table .file-button,.company-setup-card .company-setup-table .delete-button{width:100%;min-width:0;max-width:100%;padding:7px 3px;white-space:normal;overflow-wrap:anywhere}
.company-materials,.company-materials-card{min-width:0;max-width:100%}
.company-materials-card .section-head{flex-wrap:wrap}
.company-materials-card h2,.modal:has(.company-materials) h2{min-width:0;overflow-wrap:anywhere}
.company-materials-card .form-grid>.field{min-width:0}
.company-materials-card input,.company-materials-card select,.company-materials input{min-width:0;max-width:100%}
.company-materials-card .btn,.company-materials .btn{max-width:100%;white-space:normal}
.company-materials .file-row,.company-materials-card .file-row{min-width:0;max-width:100%;flex-wrap:wrap;gap:8px;padding:9px}
.company-materials .file-row>div:first-child,.company-materials-card .file-row>div:first-child{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
.company-materials .file-row>.toolbar,.company-materials-card .file-row>.toolbar{flex:0 0 auto;max-width:100%;gap:6px}
@media(max-width:1100px){
 .company-setup-card .company-setup-wrap{border:0}
 .company-setup-card .company-setup-table,.company-setup-card .company-setup-table tbody,.company-setup-card .company-setup-table tfoot{display:block;width:100%}
 .company-setup-card .company-setup-table colgroup,.company-setup-card .company-setup-table thead{display:none}
 .company-setup-card .company-setup-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;border:1px solid var(--line);border-radius:9px;margin-bottom:10px}
 .company-setup-card .company-setup-table tbody td,.company-setup-card .company-setup-table tfoot td,.company-setup-card .company-setup-table tfoot th{display:block;width:auto;min-width:0;padding:0;border:0}
 .company-setup-card .company-setup-table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:5px;font-size:11px;font-weight:800;color:#536074;text-align:left;line-height:1.4}
 .company-setup-card .company-setup-table .receipt-cell{grid-column:1/-1}
 .company-setup-card .company-setup-table .company-name-cell{grid-column:span 2}
 .company-setup-card .company-setup-table .company-adjustment-cell{grid-column:span 2}
 .company-setup-card .company-setup-table tbody td[colspan]{grid-column:1/-1;padding:16px}
 .company-setup-card .company-setup-table .file-button,.company-setup-card .company-setup-table .delete-button{width:auto;padding:8px 12px}
 .company-setup-card .company-setup-table #companyFundingTotals{border:1px solid var(--line);border-radius:9px;padding:12px}
 .company-setup-card .company-setup-table tfoot tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .company-setup-card .company-setup-table tfoot th{position:static;grid-column:1/-1;background:none}
 .company-setup-card .company-setup-table .company-total-spacer{display:none}
 .company-materials-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
 .company-setup-card .company-setup-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:10px 8px}
 .company-setup-card .company-setup-table .company-name-cell,.company-setup-card .company-setup-table .company-date-cell,.company-setup-card .company-setup-table .receipt-cell{grid-column:1/-1}
 .company-setup-card .company-setup-table .company-adjustment-cell{grid-column:1/-1}
 .company-setup-card .company-setup-table .company-total-cell{grid-column:1/-1}
 .company-setup-card .company-setup-table tfoot tr{grid-template-columns:minmax(0,1fr)}
 .company-materials-card .form-grid{grid-template-columns:minmax(0,1fr)}
 .company-materials-card .form-grid>.field{grid-column:auto}
 .modal:has(.company-materials){padding:16px}
}

/* Funding deduction editors and the separate funding results view are unchanged. */
.funding-split-panel h3{margin:0 0 8px}
.funding-split-table{min-width:710px;width:100%;table-layout:fixed}
.funding-split-table th:first-child{width:100px}
.funding-split-table td{vertical-align:top}
.funding-split-table .right,.funding-result-col,.funding-status-breakdown .right{text-align:right;font-variant-numeric:tabular-nums}
.funding-split-table input{width:100%;min-width:150px;text-align:right;font-variant-numeric:tabular-nums}
.funding-split-table label{display:block;margin-bottom:5px}
.funding-reset{font-size:12px;padding:4px 8px;min-height:28px;margin-top:5px}
.funding-legacy-note{margin-top:6px;line-height:1.5;text-align:left;overflow-wrap:anywhere}
.funding-result-col{min-width:150px;white-space:nowrap}
.funding-status-breakdown{margin-top:18px}
.funding-status-breakdown table{min-width:650px;margin-top:8px}
#companyFundingTotals{background:#f4f6fa;font-weight:700}
@media(max-width:620px){.funding-split-table{min-width:690px}}

/* Existing enterprise/grade summary remains, without duplicate monetary tables. */
.funding-status-breakdown+.result-status-summaries{grid-template-columns:1fr}

/* Keep final scores and decisions visible without the seven funding columns. */
.result-final-table{width:100%;table-layout:fixed}
.result-final-score-table{min-width:860px}
.result-final-score-table .final-rank{width:4%}
.result-final-score-table .final-date,.result-final-score-table .final-receipt{width:9%}
.result-final-score-table .final-company{width:17%}
.result-final-score-table .final-complete,.result-final-score-table .final-adjustment{width:6%}
.result-final-score-table .final-score{width:7%}
.result-final-score-table .final-average,.result-final-score-table .final-finalscore{width:8%}
.result-final-score-table .final-selection{width:18%}
.result-final-table th,.result-final-table td{padding:9px 6px;overflow-wrap:anywhere}
.result-final-table .sort-head{max-width:100%;gap:3px;white-space:normal;line-height:1.4;text-align:inherit}
.result-final-table .sort-head span{flex:none}
.result-final-table .quick-company-link{max-width:100%;padding:0;white-space:normal;overflow-wrap:anywhere;text-align:left}
.result-final-table .selection-input{width:100%;min-width:0;max-width:100%}
.result-final-table .badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.result-final-score-table td:nth-child(1),.result-final-score-table td:nth-child(5){text-align:center}
.result-final-score-table th:nth-child(n+6):nth-child(-n+10),.result-final-score-table td:nth-child(n+6):nth-child(-n+10){text-align:right;font-variant-numeric:tabular-nums}
.result-final-opinion-table .final-receipt,.result-final-opinion-table .final-date{width:16%}
.result-final-opinion-table .final-company{width:34%}
.result-final-opinion-table .final-complete{width:14%}
.result-final-opinion-table .final-selection{width:20%}

/* Three money columns; base, deduction and recognized figures use separate rows. */
.funding-overview-table{width:100%;min-width:680px;table-layout:fixed}
.funding-overview-table .funding-receipt{width:12%}
.funding-overview-table .funding-company{width:23%}
.funding-overview-table .funding-basis{width:14%}
.funding-overview-table .funding-money{width:17%}
.funding-overview-table th,.funding-overview-table td{padding:10px 8px;vertical-align:middle;overflow-wrap:anywhere}
.funding-overview-table .sort-head{max-width:100%;white-space:normal;text-align:inherit}
.funding-overview-table tbody th{position:static;font-weight:600;font-size:12px}
.funding-overview-table .funding-deduction-row th,.funding-overview-table .funding-deduction-row td{background:#fffaf2}
.funding-overview-table .funding-adjusted-row th,.funding-overview-table .funding-adjusted-row td{background:#f8fafc}
.funding-overview-table .right{font-variant-numeric:tabular-nums}
.funding-overview-table tfoot th{position:static}
.funding-amount{display:block;font-variant-numeric:tabular-nums}
.funding-delta{display:block;margin-top:4px;line-height:1.35}
.funding-company-link{max-width:100%;border:0;background:none;color:var(--primary);font-weight:850;padding:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
.funding-sort-control{display:flex;flex-direction:column;gap:5px;min-width:150px}
.funding-sort-control select{min-width:150px}
.funding-results-card .section-head{align-items:flex-start}
.company-funding-detail{margin:12px 0 18px}
.company-funding-detail h3{margin:0 0 8px}
.company-funding-detail table{width:100%;min-width:600px;table-layout:fixed}
.company-funding-detail th:first-child{width:100px}
.company-funding-detail .right{text-align:right;font-variant-numeric:tabular-nums}
#result-final>.result-status-summaries{grid-template-columns:1fr}
@media(max-width:700px){.funding-results-card .section-head{flex-wrap:wrap}.funding-sort-control{width:100%}}

/* POM v1.1.4.10: fixed budget scope, one query subtotal and expandable company funding. */
.result-summary .result-summary-funding[hidden]{display:none!important}
.result-summary.funding-view-active .summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.funding-results-card{min-width:0;max-width:100%}
.funding-results-card>.section-head{gap:12px;flex-wrap:wrap}
.funding-results-card>.section-head>div:first-child{flex:1 1 300px;min-width:0}
.funding-overview-heading{margin-bottom:16px}
.funding-budget-stage{flex:0 0 auto;display:inline-flex;align-items:center;padding:6px 10px;border:1px solid #e3d5b2;border-radius:20px;background:#fff8e9;color:#805712;font-size:12px;font-weight:750;white-space:nowrap}
.funding-budget-stage.confirmed{border-color:#b5d7c6;background:#edf8f2;color:#226444}
.funding-budget-summary{min-width:0;max-width:100%;padding:18px;border:1px solid #cad8ef;border-radius:12px;background:#f4f7fe}
.funding-budget-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px 16px;flex-wrap:wrap}
.funding-budget-title h3,.funding-budget-review h3{margin:0;font-size:16px}
.funding-budget-scope{margin:7px 0 15px;font-size:12px;line-height:1.6;color:#52617b;overflow-wrap:anywhere}
.funding-budget-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.funding-budget-metric{min-width:0;padding:14px 16px;border:1px solid #dee6f4;border-radius:9px;background:#fff;display:flex;flex-direction:column;gap:6px}
.funding-budget-metric>span{font-size:12px;font-weight:700;color:#53627b;overflow-wrap:anywhere}
.funding-budget-metric>strong{font-size:clamp(17px,1.8vw,25px);line-height:1.4;font-variant-numeric:tabular-nums;letter-spacing:-.3px;color:#243f78;overflow-wrap:anywhere}
.funding-budget-metric>small{font-size:11px;line-height:1.5;color:#667085;overflow-wrap:anywhere}
.funding-budget-metric[data-funding-metric="remaining"]>strong{color:#23664a}
.funding-budget-excess{border-color:#eabdbb;background:#fff7f6}
.funding-budget-excess>span,.funding-budget-excess>strong{color:#b3312c}
.funding-budget-ratio{margin-top:14px}
.funding-budget-ratio>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;color:#52617b}
.funding-budget-ratio b{font-variant-numeric:tabular-nums;white-space:nowrap;color:#244d96}
.funding-budget-progress{display:block;width:100%;height:8px;margin-top:7px;border:0;border-radius:8px;overflow:hidden;appearance:none;background:#dfe7f5;color:#426cc1}
.funding-budget-progress::-webkit-progress-bar{background:#dfe7f5;border-radius:8px}
.funding-budget-progress::-webkit-progress-value{background:#426cc1;border-radius:8px}
.funding-budget-progress::-moz-progress-bar{background:#426cc1;border-radius:8px}
.funding-budget-over .funding-budget-progress{color:#be4841}
.funding-budget-over .funding-budget-progress::-webkit-progress-value{background:#be4841}
.funding-budget-over .funding-budget-progress::-moz-progress-bar{background:#be4841}
.funding-budget-over .funding-budget-ratio b{color:#b3312c}
.funding-budget-review{background:#f8fafc;border-color:var(--line)}
.funding-budget-review .funding-budget-scope{margin-bottom:0}
.funding-company-heading{margin:24px 0 12px;gap:12px}
.funding-company-heading h3{margin:0 0 6px;font-size:16px}
.funding-company-heading .small{line-height:1.6}
.funding-results-card .funding-sort-control{flex:0 0 auto;min-width:150px;max-width:100%}
.funding-results-card .funding-sort-control select{min-width:0;width:100%;max-width:100%}
.funding-results-card .funding-compact-wrap{min-width:0;width:100%;max-width:100%;overflow:visible}
.funding-results-card .funding-compact-table{min-width:0;width:100%;table-layout:fixed}
.funding-compact-table>colgroup>.funding-receipt{width:16%}
.funding-compact-table>colgroup>.funding-company{width:24%}
.funding-compact-table>colgroup>.funding-money{width:17%}
.funding-compact-table>colgroup>.funding-action{width:9%}
.funding-compact-table>thead>tr>th{padding:11px 8px;font-size:12px;vertical-align:middle}
.funding-compact-table>tbody>.funding-company-row>td{padding:15px 8px;vertical-align:middle}
.funding-compact-table .funding-company-link{line-height:1.5;font-size:14px}
.funding-company-status{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:5px}
.funding-company-status .badge{max-width:100%;font-size:11px;white-space:normal;overflow-wrap:anywhere}
.funding-compact-table .funding-receipt-cell{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.funding-compact-table .funding-money-cell{font-size:14px}
.funding-compact-table .funding-amount{font-size:inherit;line-height:1.5;overflow-wrap:anywhere}
.funding-compact-table .funding-amount-note{font-size:12px;font-weight:600;color:#805712;white-space:normal}
.funding-compact-table .funding-total-cell .funding-amount{font-weight:800;color:#243f78}
.funding-compact-table .funding-detail-action{text-align:right}
.funding-detail-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;min-height:34px;padding:6px 8px;font-size:12px;white-space:normal;line-height:1.4}
.funding-detail-toggle>span{flex:none;font-size:10px}
.funding-detail-toggle:focus-visible,.funding-company-link:focus-visible{outline:3px solid #7099ed;outline-offset:3px}
.funding-compact-table>tbody>.funding-query-summary>th,.funding-compact-table>tbody>.funding-query-summary>td{padding:14px 8px;background:#edf3ff;border-bottom:1px solid #cbdaf4}
.funding-query-summary>th>b{display:flex;flex-wrap:wrap;gap:5px 10px;align-items:center;font-size:14px;color:#243f78}
.funding-query-count{display:inline-block;padding:2px 7px;border-radius:12px;background:#dce8fe;font-size:11px;font-weight:700;line-height:1.6;white-space:nowrap}
.funding-query-summary>th>.small{display:block;margin-top:5px;font-weight:400;font-size:11px;line-height:1.5}
.funding-compact-table .funding-detail-row[hidden]{display:none!important}
.funding-compact-table>tbody>.funding-detail-row>td{padding:0;background:#f8fafc}
.funding-detail-panel{min-width:0;padding:16px 20px 18px;border-bottom:1px solid var(--line)}
.funding-detail-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px;margin-bottom:10px;overflow-wrap:anywhere}
.funding-detail-heading>b{font-size:13px}
.funding-results-card .funding-adjustment-detail-table{width:100%;min-width:0;max-width:100%;table-layout:fixed;border:1px solid var(--line);border-radius:8px;background:white}
.funding-adjustment-detail-table>thead>tr>th,.funding-adjustment-detail-table>tbody>tr>th,.funding-adjustment-detail-table>tbody>tr>td{padding:9px 10px;font-size:12px;vertical-align:middle;overflow-wrap:anywhere}
.funding-adjustment-detail-table>thead>tr>th:first-child{width:25%}
.funding-adjustment-detail-table>tbody>tr>th{background:#f7f9fc;font-size:12px}
.funding-adjustment-detail-table>tbody>.funding-detail-deduction>th,.funding-adjustment-detail-table>tbody>.funding-detail-deduction>td{background:#fffaf0}
.funding-adjustment-detail-table>tbody>.funding-detail-increase>th,.funding-adjustment-detail-table>tbody>.funding-detail-increase>td{background:#fffaf0;color:#805712}
.funding-adjustment-detail-table>tbody>.funding-detail-recognized>th,.funding-adjustment-detail-table>tbody>.funding-detail-recognized>td{background:#eef4ff;font-weight:750}
.funding-detail-panel .funding-legacy-note{margin-bottom:0;color:#805712}
.funding-query-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 12px;line-height:1.6}
.funding-overview-note{margin:12px 0 0;line-height:1.65}
@media(max-width:1100px){
 .funding-results-card .funding-compact-wrap{border:0}
 .funding-results-card .funding-compact-table,.funding-compact-table>tbody{display:block;width:100%}
 .funding-compact-table>colgroup{display:none}
 .funding-compact-table>thead{display:block;margin-bottom:12px}
 .funding-compact-table>thead>tr{display:flex;flex-wrap:wrap;gap:6px}
 .funding-compact-table>thead>tr>th{display:block;padding:0;border:0;background:none}
 .funding-compact-table>thead>tr>th:last-child{display:none}
 .funding-compact-table>thead .sort-head{padding:6px 9px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:12px}
 .funding-compact-table>tbody>.funding-company-row,.funding-compact-table>tbody>.funding-query-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px;margin-bottom:12px;background:#fff}
 .funding-compact-table>tbody>.funding-query-summary{background:#edf3ff;border-color:#cbdaf4}
 .funding-compact-table>tbody>.funding-company-row>td,.funding-compact-table>tbody>.funding-query-summary>th,.funding-compact-table>tbody>.funding-query-summary>td{display:block;width:auto;min-width:0;padding:0;border:0;background:none}
 .funding-compact-table>tbody>.funding-query-summary>th{grid-column:1/-1}
 .funding-compact-table>tbody>.funding-company-row>.funding-receipt-cell,.funding-compact-table>tbody>.funding-company-row>.funding-company-cell{grid-column:1/-1}
 .funding-compact-table>tbody>.funding-company-row>.funding-receipt-cell{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 10px;color:#667085}
 .funding-compact-table>tbody>.funding-company-row>.funding-company-cell{padding-bottom:10px;border-bottom:1px solid #e8edf4}
 .funding-compact-table>tbody>.funding-company-row>.funding-company-cell::before{display:none}
 .funding-compact-table>tbody>.funding-company-row>td[data-label]::before,.funding-compact-table>tbody>.funding-query-summary>td[data-label]::before{content:attr(data-label);display:block;font-size:11px;font-weight:600;color:#637087;text-align:left;margin-bottom:4px;line-height:1.5}
 .funding-compact-table>tbody>.funding-company-row>.funding-receipt-cell::before{margin-bottom:0}
 .funding-compact-table .funding-company-status{display:inline-flex;margin:0 0 0 8px;vertical-align:middle}
 .funding-compact-table>tbody>.funding-company-row>.funding-detail-action,.funding-compact-table>tbody>.funding-query-summary>.funding-detail-action{grid-column:1/-1}
 .funding-compact-table .funding-detail-toggle{min-width:90px}
 .funding-compact-table>tbody>.funding-detail-row:not([hidden]){display:block;width:100%;margin:-5px 0 12px}
 .funding-compact-table>tbody>.funding-detail-row>td{display:block;width:100%;border:1px solid var(--line);border-radius:9px;overflow:hidden}
 .funding-detail-panel{padding:14px;border:0}
}
@media(max-width:620px){
 .result-summary.funding-view-active .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .funding-budget-summary{padding:14px}
 .funding-budget-metrics{grid-template-columns:minmax(0,1fr);gap:8px}
 .funding-budget-metric{padding:12px}
 .funding-budget-metric>strong{font-size:21px}
 .funding-budget-ratio>div{align-items:flex-start}
 .funding-company-heading{margin-top:20px}
 .funding-results-card .funding-sort-control{width:100%}
 .funding-compact-table>tbody>.funding-company-row,.funding-compact-table>tbody>.funding-query-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:12px 10px}
 .funding-compact-table>tbody>.funding-company-row>.funding-total-cell,.funding-compact-table>tbody>.funding-query-summary>.funding-total-cell{grid-column:1/-1}
 .funding-compact-table .funding-money-cell{font-size:13px}
 .funding-compact-table .funding-total-cell{padding-top:10px!important;border-top:1px solid #dae3f2!important}
 .funding-compact-table .funding-company-status{display:flex;margin:5px 0 0}
 .funding-detail-panel{padding:12px}
 .funding-results-card .funding-adjustment-detail-table,.funding-adjustment-detail-table>tbody{display:block;width:100%}
 .funding-adjustment-detail-table>thead{display:none}
 .funding-adjustment-detail-table>tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border-bottom:1px solid var(--line)}
 .funding-adjustment-detail-table>tbody>tr:last-child{border-bottom:0}
 .funding-adjustment-detail-table>tbody>tr>th,.funding-adjustment-detail-table>tbody>tr>td{display:block;width:auto;min-width:0;padding:0;border:0;background:none!important}
 .funding-adjustment-detail-table>tbody>tr>th,.funding-adjustment-detail-table>tbody>tr>td:last-child{grid-column:1/-1}
 .funding-adjustment-detail-table>tbody>tr>td[data-label]::before{content:attr(data-label);display:block;margin-bottom:4px;font-size:10px;font-weight:500;text-align:left;color:#637087}
 .funding-adjustment-detail-table>tbody>.funding-detail-deduction,.funding-adjustment-detail-table>tbody>.funding-detail-increase{background:#fffaf0}
 .funding-adjustment-detail-table>tbody>.funding-detail-recognized{background:#eef4ff}
}
@media(max-width:380px){
 .funding-compact-table>tbody>.funding-query-summary>.funding-money-cell{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:10px}
 .funding-compact-table>tbody>.funding-query-summary>.funding-money-cell::before{flex:0 0 auto;margin-bottom:0}
 .funding-compact-table>tbody>.funding-query-summary>.funding-money-cell>.funding-amount{min-width:0}
}
@media(max-width:380px){
 .funding-adjustment-detail-table>tbody>tr>td{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:10px}
 .funding-adjustment-detail-table>tbody>tr>td[data-label]::before{flex:0 0 auto;margin-bottom:0}
 .funding-adjustment-detail-table>tbody>tr>td>.funding-amount{min-width:0}
}

/* POM v1.1.4.11: visible funding stages, funding composition and result-group totals. */
.funding-status-results .funding-company-heading{margin-bottom:10px}
.funding-status-results .funding-status-unit{font-size:12px;color:#637087;white-space:nowrap}
.funding-status-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}
.funding-status-filters .filter-chip{display:inline-flex;align-items:center;gap:8px;min-height:34px}
.funding-status-filters .filter-chip span{font-variant-numeric:tabular-nums}
.funding-status-controls{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:10px 18px;margin-bottom:10px}
.funding-status-sort{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.funding-status-sort>span{margin-right:4px}
.funding-status-sort .sort-head{font-size:12px;padding:7px 9px;border:1px solid #dce3ed;border-radius:7px;background:#fff;min-height:32px}
.funding-status-sort .sort-head:focus-visible,.funding-status-filters .filter-chip:focus-visible{outline:3px solid #7099ed;outline-offset:2px}
.funding-status-controls .funding-sort-control{min-width:140px}
.funding-status-controls .funding-sort-control select{min-height:34px;padding:6px 9px;font-size:12px}
.funding-status-ratio-note{margin:0 0 16px;padding:10px 12px;border-radius:8px;background:#f4f7fb;font-size:12px;line-height:1.65;color:#52617b;overflow-wrap:anywhere}
.funding-status-group{min-width:0;margin-top:20px}
.funding-status-group-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 9px}
.funding-status-group-heading h4{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;color:#33435c}
.funding-status-group-count{font-size:12px;font-weight:750;color:#637087;white-space:nowrap}
.funding-status-results .funding-status-table-wrap{width:100%;min-width:0;max-width:100%;overflow:visible;border:1px solid #d7e0ed;border-radius:9px}
.funding-status-results .funding-status-table{width:100%;min-width:0;max-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}
.funding-status-table>caption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.funding-status-table .funding-status-col-receipt{width:8%}
.funding-status-table .funding-status-col-status{width:9%}
.funding-status-table .funding-status-col-company{width:17%}
.funding-status-table .funding-status-col-stage{width:10%}
.funding-status-table .funding-status-col-money{width:12%}
.funding-status-table .funding-status-col-ratio{width:6.6666%}
.funding-status-table>thead>tr>th{position:static;padding:9px 6px;background:#edf2f9;color:#455671;font-size:11px;font-weight:800;vertical-align:middle;line-height:1.45;overflow-wrap:anywhere}
.funding-status-table>thead>tr:first-child>th[colspan]{border-left:1px solid #dce4ef}
.funding-status-table>tbody>tr>th,.funding-status-table>tbody>tr>td{position:static;padding:9px 6px;border-bottom:1px solid #e4e9f1;vertical-align:middle;background:#fff;line-height:1.45;font-size:12px}
.funding-status-table>tbody>tr:last-child>td,.funding-status-table>tbody>tr:last-child>th{border-bottom:1px solid #ccd8e8}
.funding-status-table>tbody:last-child>tr:last-child>td,.funding-status-table>tbody:last-child>tr:last-child>th{border-bottom:0}
.funding-status-table .funding-status-receipt{font-size:11px;overflow-wrap:anywhere;color:#58667e}
.funding-status-table .funding-status-company-result .badge{max-width:100%;font-size:10px;line-height:1.5;padding:4px 7px;white-space:normal;overflow-wrap:anywhere}
.funding-status-table .funding-status-company-name{font-size:12px;font-weight:700;overflow-wrap:anywhere}
.funding-status-table .funding-company-link{font-size:12px;line-height:1.5}
.funding-status-table .funding-company-date{display:block;margin-top:6px;font-size:10px;font-weight:400}
.funding-status-table .funding-status-stage-label{font-size:11px;color:#53627b;font-weight:600;overflow-wrap:anywhere}
.funding-status-table .funding-status-money,.funding-status-table .funding-status-ratio{text-align:right;font-variant-numeric:tabular-nums}
.funding-status-table .funding-status-money{border-left:1px solid #e7ecf4}
.funding-status-table .funding-status-value{display:block;white-space:nowrap;line-height:1.5;font-size:12px;font-variant-numeric:tabular-nums}
.funding-status-table .funding-status-ratio .funding-status-value{font-size:11px;color:#6a778d}
.funding-status-table .funding-status-unavailable .funding-status-value{font-size:10px;white-space:normal;overflow-wrap:anywhere;color:#8a610f}
.funding-status-table .funding-status-disallowed>.funding-status-stage-label,.funding-status-table .funding-status-disallowed>.funding-status-money,.funding-status-table .funding-status-disallowed>.funding-status-ratio{background:#fffaf1}
.funding-status-table .funding-status-recognized>.funding-status-stage-label,.funding-status-table .funding-status-recognized>.funding-status-money,.funding-status-table .funding-status-recognized>.funding-status-ratio{background:#f0f5fd;font-weight:800}
.funding-status-table .funding-status-recognized>.funding-status-money{color:#234b83}
.funding-status-table .funding-status-increase>.funding-status-stage-label,.funding-status-table .funding-status-increase>.funding-status-money,.funding-status-table .funding-status-increase>.funding-status-ratio{background:#fffaf1;color:#8a610f}
.funding-status-table .funding-status-subtotal>tr>th,.funding-status-table .funding-status-subtotal>tr>td{background:#edf3fb}
.funding-status-table .funding-status-subtotal>tr.funding-status-recognized>th,.funding-status-table .funding-status-subtotal>tr.funding-status-recognized>td{background:#e1ebfa}
.funding-status-table .funding-status-subtotal-title{padding:14px 12px;color:#244a7e}
.funding-status-subtotal-title>b{display:block;margin-bottom:7px;font-size:13px}
.funding-status-subtotal-title>.small{display:block;margin-top:7px;font-size:10px;font-weight:400;line-height:1.6}
.funding-status-table .funding-status-subtotal .funding-status-money{font-weight:750}
.funding-status-overall{margin-top:24px}
.funding-status-overall>h4{font-size:14px;color:#244a7e;margin:0 0 9px}
.funding-status-results .funding-overview-note{margin-top:15px}
@media(max-width:1100px){
 .funding-status-results .funding-status-table-wrap{border:0;border-radius:0}
 .funding-status-results .funding-status-table,.funding-status-table>tbody{display:block;width:100%;min-width:0}
 .funding-status-table>colgroup,.funding-status-table>thead{display:none}
 .funding-status-table>.funding-status-company,.funding-status-table>.funding-status-subtotal{border:1px solid #d7e0ed;border-radius:10px;margin-bottom:12px;overflow:hidden}
 .funding-status-table>tbody>tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr) 64px);gap:4px 8px;padding:10px 12px;border-bottom:1px solid #e4e9f1;min-width:0}
 .funding-status-table>tbody>tr:last-child{border-bottom:0}
 .funding-status-table>tbody>tr>th,.funding-status-table>tbody>tr>td{display:block;min-width:0;width:auto;border:0!important;padding:0;background:none!important}
 .funding-status-table .funding-status-receipt{grid-column:1/3;margin-bottom:4px;font-size:11px;align-self:center}
 .funding-status-table .funding-status-receipt::before{content:'접수번호 ';font-size:10px;color:#77849a}
 .funding-status-table .funding-status-company-result{grid-column:3/-1;justify-self:end;margin-bottom:4px}
 .funding-status-table .funding-status-company-name{grid-column:1/-1;margin-bottom:6px;padding-bottom:10px;border-bottom:1px solid #e4e9f1!important}
 .funding-status-table .funding-company-link{font-size:14px}
 .funding-status-table .funding-company-date{display:inline-block;margin:0 0 0 10px;font-size:10px}
 .funding-status-table .funding-status-stage-label{grid-column:1/-1;margin:0 0 4px;font-size:12px}
 .funding-status-table .funding-status-money::before,.funding-status-table .funding-status-ratio::before{content:attr(data-label);display:block;margin-bottom:3px;text-align:right;font-size:10px;font-weight:400;color:#748098}
 .funding-status-table .funding-status-value{font-size:12px}
 .funding-status-table .funding-status-unavailable .funding-status-value{font-size:10px}
 .funding-status-table .funding-status-ratio .funding-status-value{font-size:11px}
 .funding-status-table .funding-status-disallowed,.funding-status-table .funding-status-increase{background:#fffaf1}
 .funding-status-table .funding-status-recognized{background:#f0f5fd}
 .funding-status-table .funding-status-subtotal>tr{background:#edf3fb}
 .funding-status-table .funding-status-subtotal>tr.funding-status-recognized{background:#e1ebfa}
 .funding-status-table .funding-status-subtotal-title{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0 0 6px;padding-bottom:10px;border-bottom:1px solid #d7e0ed!important}
 .funding-status-subtotal-title>b{margin:0}
 .funding-status-subtotal-title>.small{margin:0}
}
@media(max-width:620px){
 .funding-status-controls{align-items:stretch}
 .funding-status-sort{align-items:center;gap:6px}
 .funding-status-sort>span{flex-basis:100%}
 .funding-status-sort .sort-head{padding:6px 8px;font-size:11px}
 .funding-status-controls .funding-sort-control{width:100%;min-width:0}
 .funding-status-table>tbody>tr{grid-template-columns:minmax(0,1fr) 70px;gap:6px 10px;padding:12px}
 .funding-status-table .funding-status-receipt{grid-column:1;align-self:center}
 .funding-status-table .funding-status-company-result{grid-column:2;max-width:100%;text-align:right}
 .funding-status-table .funding-status-company-result .badge{font-size:9px;justify-content:flex-end}
 .funding-status-table .funding-status-company-name{padding-bottom:10px;margin-bottom:3px}
 .funding-status-table .funding-company-date{display:block;margin:5px 0 0}
 .funding-status-table .funding-status-money{display:flex;align-items:baseline;justify-content:space-between;gap:6px}
 .funding-status-table .funding-status-money::before{flex:0 0 auto;margin:0;text-align:left;font-size:10px}
 .funding-status-table .funding-status-ratio::before{display:none}
 .funding-status-table .funding-status-ratio{align-self:center}
 .funding-status-table .funding-status-value{font-size:12px}
 .funding-status-table .funding-status-unavailable .funding-status-value{font-size:10px;text-align:right}
 .funding-status-table .funding-status-subtotal-title>.small{flex-basis:100%}
 .funding-status-table .funding-status-stage-label{margin-bottom:4px}
 .funding-status-ratio-note{font-size:11px;padding:10px}
}
@media(max-width:380px){
 .funding-status-table>tbody>tr{grid-template-columns:minmax(0,1fr) 55px;gap:6px 7px;padding:10px}
 .funding-status-table .funding-status-money{display:block}
 .funding-status-table .funding-status-money::before{display:block;text-align:left;margin-bottom:2px;font-size:10px}
 .funding-status-table .funding-status-ratio{align-self:end}
 .funding-status-table .funding-status-value{font-size:12px}
}
@media print{
 .funding-status-group,.funding-status-overall{break-inside:auto}
 .funding-status-table>.funding-status-company,.funding-status-table>.funding-status-subtotal{break-inside:avoid}
 .funding-status-results .funding-budget-summary{break-inside:avoid}
}

/* POM v1.1.4.12: one funding list and independent result filters. */
.result-summary.funding-view-active .result-filterbar{display:none}
.funding-status-sort-basis{line-height:1.6;overflow-wrap:anywhere}
.funding-status-filters .filter-chip[aria-pressed="true"]{font-weight:800}

.linked-selection-budget{min-width:0;display:grid;gap:7px}
.linked-budget-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;font-weight:750}
.linked-budget-amount{font-size:22px;line-height:1.5;color:#234b83;white-space:nowrap;font-variant-numeric:tabular-nums}
.linked-selection-budget [data-linked-budget-source],.linked-budget-message,.linked-budget-note{overflow-wrap:anywhere;line-height:1.65}
.linked-budget-message,.linked-budget-note{margin:0}
.linked-budget-note{padding-top:6px;border-top:1px solid #e0e7f0}
.funding-budget-source{margin:6px 0 8px;font-size:12px;line-height:1.6;color:#52617b;overflow-wrap:anywhere}
