/* Acerto: preservar as tabelas e sua disposição; uniformizar o acabamento. */
.settlement-pair {gap:20px}
.settlement-ab-group {gap:20px}
.settlement-pair :is(.growth-panel,.settlement-expenses,.settlement-report) {border-radius:3px;box-shadow:0 2px 5px #142a3c0a}
.settlement-pair .expense-header {gap:20px;padding:14px 16px;align-items:center}
.settlement-pair .expense-header h2 {margin:0;font:600 14px/1.4 Arial,sans-serif;letter-spacing:.025em}
.settlement-pair .expense-header .actions {gap:8px;display:flex;flex-wrap:wrap;align-items:center;margin:0;padding:0}
.settlement-pair .expense-header button {min-height:34px;border-radius:4px;padding:7px 12px;font-size:13px}
.settlement-pair .growth-sheet :is(th,td) {border-color:#9caab7;padding:8px 10px;line-height:1.4}
.settlement-pair .growth-sheet td {font-variant-numeric:tabular-nums}
.settlement-pair :is(.growth-controls,.color-partners) {gap:12px 18px}
.settlement-pair input:focus-visible,.settlement-pair select:focus-visible {outline:2px solid #276da5;outline-offset:2px}
#staff-settlement {grid-column:1/-1;min-width:0}
.staff-payroll-panel {margin:4px 0 0;padding:0;max-width:none;border:0;border-radius:0;background:transparent;color:#182b3b;box-shadow:none}
.staff-payroll-panel>.expense-header,.staff-payroll-panel form>.expense-header {border:1px solid #8c9cad;border-radius:3px;background:#526578;color:#fff}
.staff-payroll-panel .expense-header small {color:#e4edf3;display:block;margin-top:4px}
.payroll-grid,.payroll-summary-grid {display:flex;flex-direction:column;align-items:flex-start;gap:28px;margin:24px 0}
.payroll-card {width:760px;max-width:100%;min-width:0;background:#fff;border:1px solid #6f7982;border-radius:0;box-shadow:0 2px 6px #142a3c0c;overflow:visible}
.payroll-model {width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;font:14px/1.35 Arial,sans-serif;color:#182b3b;margin:0}
.payroll-card .payroll-model :is(th,td) {box-sizing:border-box;width:auto;position:static!important;white-space:normal;overflow-wrap:break-word;text-align:center!important;vertical-align:middle;padding:5px 10px;height:32px;background:#fff;color:#182b3b;border:1px solid #88929b;font-weight:400}
.payroll-card .payroll-model thead th {font-weight:700;height:38px}
.payroll-card .payroll-model :is(th,td) {text-transform:none;letter-spacing:normal}
.payroll-model td {font-variant-numeric:tabular-nums}
.payroll-model>colgroup>col:first-child {width:69.7%}
.payroll-model>colgroup>col:last-child {width:30.3%}
.payroll-card .payroll-model :is(th,td) {font-size:14px}
.payroll-card .payroll-model .payroll-highlight :is(th,td) {background:#fff000!important;color:#17212b!important}
.payroll-card .payroll-model .payroll-transfer-head th {background:#70ad47;color:#142212}
.payroll-card .payroll-model .payroll-discount-total :is(th,td) {background:#ffc000}
.payroll-card .payroll-model .payroll-deposit-total :is(th,td) {background:#8db4e2;font-weight:700}
.payroll-card .payroll-model .payroll-blank :is(th,td) {height:22px;padding:2px 10px}
.payroll-card input,.payroll-links input,.payroll-links select {font:inherit;min-width:0;box-sizing:border-box;color:#182b3b;background:#fff;width:100%}
.payroll-card .payroll-model input {height:26px;min-height:0;padding:3px 8px;margin:0;border:1px solid #b4c5d4;border-radius:2px;background:#f7fbff;text-align:center}
.payroll-card .payroll-manual-list {padding:0;margin:0}
.payroll-card .payroll-manual-list table {width:100%;border-collapse:collapse;table-layout:fixed;margin:0}
.payroll-card .payroll-manual-list table td {border:0;padding:3px;min-width:0;width:auto}
.payroll-card .payroll-manual-list table td:first-child {width:65%}
.payroll-card .payroll-manual-list table td:last-child {width:28px}
.payroll-card .payroll-manual-list button {color:#274f6d;background:transparent;border:0;border-radius:2px;font:12px/1.4 Arial,sans-serif;padding:4px;min-height:24px;margin:0;white-space:normal}
.payroll-card .payroll-manual-list [data-payroll-add] {width:100%;text-align:center}
.payroll-card .payroll-manual-list [data-payroll-remove] {font-size:18px;color:#9f2939}
.payroll-links {max-width:760px;margin:20px 0;padding:12px 14px;border:1px solid #a8b7c4;background:#f3f6f9;color:#182b3b;border-radius:3px;font-size:14px}
.payroll-links summary {cursor:pointer;font-weight:600;padding:4px 0}
.payroll-links table {margin:12px 0}
.payroll-links details {margin:8px 0}
.payroll-links>label {display:block;color:#182b3b;margin:16px 0}
.staff-payroll-panel form>.actions {gap:8px;margin:16px 0;display:flex}
.staff-payroll-panel :is(#payroll-error,#payroll-status) {max-width:760px;font-size:14px;line-height:1.5}
.staff-payroll-panel .error {color:#ad273b;background:#fff4f4;padding:10px 14px}
.staff-payroll-panel .error:empty {display:none}
@media print {
 .payroll-grid,.payroll-summary-grid {display:flex!important;flex-direction:column!important;gap:20px;margin:16px 0}
 .payroll-card {width:760px;break-inside:avoid;box-shadow:none}
 .payroll-model :is(th,td) {print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .payroll-card .payroll-model input {border:0;background:transparent}
 .payroll-card .payroll-manual-list tr {break-inside:avoid}
 .staff-payroll-panel .expense-header {display:none}
 .settlement-pair :is(.growth-panel,.settlement-expenses,.settlement-report) {box-shadow:none}
}

.unified-closing [hidden]{display:none!important}.closing-document-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:28px 0;padding:20px;border:1px solid var(--border,#536579);border-radius:10px;background:var(--panel,#152c3c)}.closing-inclusion{display:flex;align-items:center;gap:10px;padding:12px 16px;font-weight:600}.closing-recipient{display:inline-block;padding:8px 4px;font-weight:600}.unified-closing input:focus{outline:2px solid #13b9af;outline-offset:2px}#growth-recipients{max-width:760px;margin:12px 0 24px}#growth-recipients h3{padding:12px 16px;margin:0;background:#647e9e;color:white}.unified-closing .growth-panel{margin-bottom:20px}

.unified-closing .color-partners,.unified-closing .color-partners label{color:#17304a}.unified-closing .color-partners{padding:12px 16px;border:1px solid #97a8b8;background:#edf2f6}.unified-closing .closing-inclusion{color:#17304a;background:#edf2f6;border-bottom:1px solid #97a8b8}.closing-document-footer p{margin:0;max-width:75%}

/* Acerto: preserve the spreadsheet arrangement without squeezing its columns. */
@media screen {
 .settlement-pair{grid-template-columns:1840px 720px 1900px;gap:24px;width:max-content;align-items:start}
 .settlement-ab-group{grid-template-columns:900px 920px;gap:20px;align-items:start}
 .settlement-pair-scroll{padding-bottom:18px;scrollbar-gutter:stable;overscroll-behavior-x:contain}
 .settlement-pair .settlement-report{min-width:0;border:1px solid #91a4b5;border-radius:4px;overflow:visible;background:#f5f7fa;box-shadow:0 3px 12px #07192318}
 .settlement-pair .settlement-scroll{overflow:visible}
 .settlement-pair .settlement-sheet{width:100%;min-width:0;font-size:14px;line-height:1.45;table-layout:fixed}
 .settlement-pair .settlement-sheet :is(th,td){box-sizing:border-box;padding:10px 12px;vertical-align:middle;line-height:1.45;border-color:#a3b2c0!important;white-space:normal;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
 .settlement-pair .settlement-sheet thead th{font-size:13px;letter-spacing:.015em}
 .settlement-pair .settlement-sheet .settlement-identity th{height:52px;padding:12px;font-size:16px;letter-spacing:0}
 .settlement-pair .settlement-sheet .settlement-band th{padding:11px 12px;line-height:1.5}
 .settlement-pair .settlement-sheet tfoot :is(th,td){height:48px;font-weight:700}
 .settlement-pair .settlement-sheet .settlement-date{width:100px}
 .settlement-pair .settlement-sheet .settlement-name{width:250px}
 .settlement-pair .settlement-sheet .settlement-program{width:210px}
 .settlement-pair .settlement-sheet .settlement-amount{width:160px}
 .settlement-pair .settlement-sheet .settlement-payment{width:180px}
 .settlement-b col:nth-child(1){width:100px!important}.settlement-b col:nth-child(2){width:220px!important}.settlement-b col:nth-child(3){width:150px!important}.settlement-b col:nth-child(4){width:170px!important}.settlement-b col:nth-child(5){width:160px!important}.settlement-b col:nth-child(6){width:120px!important}
 .settlement-color col:nth-child(1){width:220px!important}.settlement-color col:nth-child(2){width:150px!important}.settlement-color col:nth-child(3){width:160px!important}.settlement-color col:nth-child(4){width:190px!important}
 .settlement-pair td.settlement-money{white-space:nowrap!important;text-align:right!important;font-variant-numeric:tabular-nums}
 .settlement-pair .settlement-currency{float:none;display:inline-block;margin-right:12px}
 .settlement-ab-group>.settlement-report .settlement-sheet tbody td:first-child{white-space:nowrap}
 .settlement-black .black-summary{gap:0}.settlement-black .black-summary>section{padding:18px}
 .settlement-black .black-summary h3{line-height:1.5;margin-bottom:14px}
 .settlement-black .black-summary dl{column-gap:18px;row-gap:10px}
 .settlement-black .black-summary dd{white-space:nowrap;font-variant-numeric:tabular-nums}
 .settlement-black .black-hint{padding:10px 18px;line-height:1.5}
 .settlement-pair :is(.growth-sheet,.expense-table,.expense-totals) :is(th,td){line-height:1.45;vertical-align:middle;hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important}
}
.payroll-payment-picker details{text-align:left;padding:3px 8px}.payroll-payment-picker summary{font:12px/1.5 Arial,sans-serif;color:#274f6d;cursor:pointer}.payroll-payment-picker select{margin:8px 0;max-width:360px}.payroll-payment-picker button{font-size:12px;padding:5px 10px;margin-left:8px}.payroll-card .payroll-manual-list>button{font-size:12px;font-weight:400;padding:4px 8px;min-height:26px}.payroll-card .payroll-linked-extra th{font-weight:400}

.payroll-model th .payroll-cancel-payment{float:right;min-width:24px;min-height:24px;padding:0 5px;margin:0 0 0 6px;border:0;background:transparent;color:#8a3434;font-size:17px;line-height:22px;cursor:pointer}.payroll-model th .payroll-cancel-payment:hover{background:#fbe5e5;border-radius:4px}
