/* Finance workspace refinements for Timesheets, Payroll and Investigator Metrics. */
.ui-page-payroll .main>p:first-of-type,
.ui-page-time .main>p:first-of-type {max-width:1100px;color:#40576a;line-height:1.55}
.ui-page-payroll .tab-panel,.ui-page-time .tab-panel {padding:20px 22px;border:1px solid #cbd9e5;border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(16,45,69,.045)}
.ui-page-payroll .folder-tabs,.ui-page-time .folder-tabs {gap:7px;flex-wrap:wrap;margin-bottom:0}
.ui-page-payroll .folder-tabs a,.ui-page-time .folder-tabs a {padding:9px 15px;font-weight:650}
.ui-page-payroll .finance-filter,.ui-page-time .date-filter-actions {display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));align-items:end;gap:14px;padding:16px;margin:0 0 15px;border:1px solid #d5e1e9;border-radius:7px;background:#f6f9fb}
.ui-page-payroll .finance-filter label,.ui-page-time .date-filter-actions label {margin:0}
.ui-page-payroll .finance-filter button,.ui-page-time .date-filter-actions button {min-height:40px}
.ui-page-payroll .tab-panel>p:has(a[target="_blank"]),.ui-page-time .main>p:has(a[target="_blank"]),.ui-page-metrics .main>p:has(a[target="_blank"]) {margin:14px 0;display:flex;gap:9px;flex-wrap:wrap}
.ui-page-payroll .table-wrap,.ui-page-time .table-wrap,.ui-page-metrics .table-wrap {border:1px solid #d5e1e9;border-radius:6px;overflow:auto}
.ui-page-payroll table,.ui-page-time table,.ui-page-metrics table {margin:0;min-width:760px}
.ui-page-payroll tbody tr:nth-child(even),.ui-page-time tbody tr:nth-child(even),.ui-page-metrics tbody tr:nth-child(even) {background:#f5f8fb}
.ui-page-payroll .tab-panel>p:last-child {padding:12px 14px;margin:14px 0 2px;border:1px solid #cbd9e5;border-radius:6px;background:#edf4f8;color:#173a53;font-weight:650}
.ui-page-payroll .finance-dialog-header {border-left:4px solid #c6a24b;background:#173e56;color:#fff}
.ui-page-payroll .finance-entry-form {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;padding:18px;border:1px solid #d4e0e8;border-radius:7px;background:#fbfcfd}
.ui-page-payroll .finance-entry-form>label,.ui-page-payroll .finance-entry-form>.payment-field {min-width:0;margin:0}
.ui-page-payroll .finance-entry-form>label:has(textarea),.ui-page-payroll .finance-entry-form>p,.ui-page-payroll .finance-entry-form>button,.ui-page-payroll .finance-entry-form>.button {grid-column:1/-1}
.ui-page-payroll .finance-entry-form input,.ui-page-payroll .finance-entry-form select,.ui-page-payroll .finance-entry-form textarea {width:100%}
.ui-page-payroll .payment-field label {display:block;margin:0}
.ui-page-payroll .finance-estimate {margin-top:18px;padding:18px;border:1px solid #cad9e4;border-left:4px solid #c7a44b;border-radius:7px;background:#f8fafc}
.ui-page-payroll .finance-estimate h3 {margin:0 0 7px;color:#173b55}
.ui-page-payroll .finance-estimate-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:15px 0}
.ui-page-payroll .finance-estimate-grid>div {padding:12px;border:1px solid #d8e2e9;border-radius:5px;background:#fff}
.ui-page-payroll .finance-estimate-grid small,.ui-page-payroll .finance-estimate-grid strong {display:block}
.ui-page-payroll .finance-estimate-grid small {margin-bottom:6px;color:#5b6f7f}
.ui-page-payroll .finance-estimate-grid strong {color:#143d57;font-size:18px}
.ui-page-payroll .finance-estimate-grid .finance-estimate-total {background:#eaf3f7;border-color:#b8d0de}
.ui-page-payroll .finance-estimate-grid .finance-estimate-total strong {font-size:21px}
.ui-page-payroll .payroll-employee-only[hidden] {display:none!important}
.ui-page-time .tab-panel>p:first-child {padding:10px 13px;background:#eef5f8;border-left:3px solid #3a8394;border-radius:4px}
.ui-page-metrics .main>p:first-of-type {margin-bottom:14px}
.ui-page-metrics .panel {padding:20px 22px;border:1px solid #cbd9e5;border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(16,45,69,.045)}
.ui-page-metrics .panel>form {display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));align-items:end;gap:14px;padding:16px;border:1px solid #d5e1e9;border-radius:7px;background:#f6f9fb}
.ui-page-metrics .panel>form label {margin:0}
.ui-page-metrics .panel>form button {min-height:40px}
.ui-page-metrics .panel>p {line-height:1.55;color:#40576a}
.ui-page-time .tab-panel>p:has(a.button),.ui-page-payroll .tab-panel>p:has(a.button) {display:flex;gap:9px;flex-wrap:wrap}
@media(max-width:680px){.ui-page-payroll .tab-panel,.ui-page-time .tab-panel,.ui-page-metrics .panel{padding:13px}.ui-page-payroll .finance-entry-form{grid-template-columns:1fr;padding:13px}.ui-page-payroll .finance-entry-form>label:has(textarea),.ui-page-payroll .finance-entry-form>p,.ui-page-payroll .finance-entry-form>button,.ui-page-payroll .finance-entry-form>.button{grid-column:1}.ui-page-payroll .finance-estimate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ui-page-time .finance-time-totals {margin-top:15px;padding:14px;border:1px solid #cbd9e5;border-radius:6px;background:#eef4f8}
.ui-page-time .finance-time-totals>strong {display:block;margin-bottom:10px;color:#173a53}
.ui-page-time .finance-time-totals>strong small {font-weight:400;color:#607587}
.ui-page-time .finance-time-totals>div {display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px}
.ui-page-time .finance-time-totals span {display:flex;flex-direction:column;gap:4px;padding:9px;background:#fff;border:1px solid #d9e3ea;border-radius:4px;font-size:12px;color:#566b7b}
.ui-page-time .finance-time-totals b {font-size:16px;color:#173a53}
.ui-page-time .finance-time-totals .total {background:#e6f1f5;border-color:#b9d1dd}
/* 5.6.63 layout corrections */
.ui-page-payroll .finance-filter {grid-template-columns:minmax(170px,1.1fr) minmax(160px,1fr) minmax(160px,1fr) auto auto;align-items:end}
.ui-page-payroll .record-payment-button {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 15px;border:1px solid #5b3d91;border-radius:5px;background:#6f4ca0;color:#fff;font-weight:700;white-space:nowrap}
.ui-page-payroll .record-payment-button:hover {background:#5d3d8a}
.ui-page-payroll .record-payment-button .ui-icon {width:17px;height:17px}
.ui-page-payroll .finance-estimate-form {grid-template-columns:minmax(220px,1.4fr) minmax(180px,1fr) minmax(180px,1fr) auto;align-items:end}
.ui-page-payroll .finance-estimate-form>button {grid-column:auto;justify-self:start;white-space:nowrap;min-height:40px}
.ui-page-time .date-filter-actions {grid-template-columns:minmax(150px,1.05fr) minmax(150px,1fr) minmax(150px,1fr) auto;align-items:end}
.ui-page-time .date-filter-actions>button {justify-self:start;align-self:end;min-height:40px;margin:0}
.ui-page-payroll .finance-payment-dialog {width:min(900px,calc(100vw - 28px));max-width:none;max-height:calc(100vh - 32px);overflow:auto;padding:0;border:1px solid #b8cbd8;border-radius:10px;background:#fff;color:#18384f;box-shadow:0 22px 70px rgba(8,27,43,.35)}
.ui-page-payroll .finance-payment-dialog::backdrop {background:rgba(8,25,40,.58);backdrop-filter:blur(2px)}
.ui-page-payroll .finance-dialog-header {position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;background:#173e56;color:#fff;border-bottom:3px solid #c5a34e}
.ui-page-payroll .finance-dialog-header h2 {margin:0;font-size:21px;color:#fff!important}
.ui-page-payroll .finance-dialog-header .finance-dialog-close {width:auto;min-height:36px;padding:7px 12px;background:#fff;color:#173e56;border:1px solid #d7e1e8;border-radius:5px}
.ui-page-payroll .finance-payment-dialog .finance-entry-form {margin:0;border:0;border-radius:0;padding:20px}
.ui-page-payroll .finance-estimate-form+.finance-estimate {margin-top:20px}
.ui-page-time-entry .detail-list {grid-template-columns:repeat(2,minmax(0,1fr))}
.ui-page-time-entry .detail-list>div:has(dt:first-child) {min-width:0}
.ui-page-time-entry .finance-estimate-note {padding:9px 12px;border-left:3px solid #bd9a48;background:#f3f6f8;color:#536a79;font-size:13px}
@media(max-width:900px){.ui-page-payroll .finance-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-page-payroll .record-payment-button{justify-self:start}.ui-page-payroll .finance-estimate-form{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-page-payroll .finance-estimate-form>button{grid-column:1/-1}.ui-page-time .date-filter-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.ui-page-payroll .finance-filter,.ui-page-payroll .finance-estimate-form,.ui-page-time .date-filter-actions{grid-template-columns:1fr}.ui-page-payroll .record-payment-button,.ui-page-payroll .finance-estimate-form>button,.ui-page-time .date-filter-actions>button{grid-column:1;justify-self:stretch}.ui-page-payroll .finance-payment-dialog .finance-entry-form{padding:13px}}
/* 5.6.64: keep the estimate inputs and action on one clean baseline. */
.ui-page-payroll .finance-estimate-form {grid-template-columns:minmax(190px,1.2fr) minmax(195px,1fr) minmax(195px,1fr) auto;column-gap:18px;row-gap:12px}
.ui-page-payroll .finance-estimate-form>label {min-width:0;margin:0}
.ui-page-payroll .finance-estimate-form>button {align-self:end;justify-self:start;grid-column:auto;width:auto!important;min-width:max-content;min-height:42px;margin:0!important;border-top:0!important;box-shadow:none}
.ui-page-payroll .finance-estimate {display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,275px);gap:14px 18px}
.ui-page-payroll .finance-estimate>h3,.ui-page-payroll .finance-estimate>p {grid-column:1/-1}
.ui-page-payroll .finance-estimate-grid {grid-column:1;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));margin:0}
.ui-page-payroll .finance-rate-basis {grid-column:2;grid-row:3;align-self:start;padding:14px 16px;border:1px solid #d2dfe8;border-radius:6px;background:#eef4f8}
.ui-page-payroll .finance-rate-basis h4 {margin:0 0 9px;color:#173b55;font-size:14px}
.ui-page-payroll .finance-rate-basis dl {display:grid;grid-template-columns:1fr auto;gap:7px 12px;margin:0;font-size:13px}
.ui-page-payroll .finance-rate-basis dt {color:#526b7e}
.ui-page-payroll .finance-rate-basis dd {margin:0;color:#173b55;font-weight:700;text-align:right;white-space:nowrap}
.ui-page-payroll .finance-estimate>p:last-child {grid-column:1/-1;margin:0}
@media(max-width:900px){.ui-page-payroll .finance-estimate{grid-template-columns:1fr}.ui-page-payroll .finance-estimate-grid,.ui-page-payroll .finance-rate-basis{grid-column:1;grid-row:auto}}
@media(max-width:680px){.ui-page-payroll .finance-estimate-form>button{width:100%!important;min-width:0}.ui-page-payroll .finance-estimate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 5.6.65: distinct approved payroll detail and aligned estimate controls. */
.ui-page-payroll .finance-estimate-form {grid-template-columns:minmax(210px,1.25fr) minmax(200px,1fr) minmax(200px,1fr) auto;align-items:end;column-gap:16px;row-gap:12px}
.ui-page-payroll .finance-estimate-form>label {display:flex;flex-direction:column;justify-content:flex-end;min-width:0;min-height:74px;margin:0;gap:0}
.ui-page-payroll .finance-estimate-form>label select,.ui-page-payroll .finance-estimate-form>label .date-picker-control {box-sizing:border-box;height:42px;min-height:42px}
.ui-page-payroll .finance-estimate-form>label .date-picker-control {margin-top:6px;align-items:stretch}
.ui-page-payroll .finance-estimate-form>label .date-picker-control>input {height:42px;min-height:42px}
.ui-page-payroll .finance-estimate-form>label .date-picker-control>.date-picker-button {height:42px;min-height:42px;align-self:stretch}
.ui-page-payroll .finance-estimate-form>button {align-self:end;height:42px;min-height:42px;margin:0 0 0 2px!important}
.ui-page-time .finance-payroll-detail {min-width:1060px}
.ui-page-time .finance-payroll-detail th,.ui-page-time .finance-payroll-detail td {vertical-align:top}
.ui-page-time .finance-payroll-detail td small {color:#607587}
.ui-page-time .finance-payroll-cell {display:grid;gap:4px;min-width:118px}
.ui-page-time .finance-payroll-cell span {color:#536b7d;font-size:12px;white-space:nowrap}
.ui-page-time .finance-payroll-cell strong {color:#173a53;font-size:15px}
.ui-page-time .finance-payroll-totals {border-left:4px solid #c5a34e;background:#f4f7fa}
@media(max-width:900px){.ui-page-payroll .finance-estimate-form {grid-template-columns:repeat(2,minmax(0,1fr))}.ui-page-payroll .finance-estimate-form>button {grid-column:2;justify-self:end;width:auto!important}.ui-page-payroll .finance-estimate-form>label {min-height:72px}}
@media(max-width:680px){.ui-page-payroll .finance-estimate-form {grid-template-columns:1fr}.ui-page-payroll .finance-estimate-form>button {grid-column:1;justify-self:stretch;width:100%!important;margin:0!important}.ui-page-payroll .finance-estimate-form>label {min-height:0}.ui-page-payroll .finance-estimate-form>label .date-picker-control {width:100%}}

/* 5.6.67 estimate layout corrections. */
.ui-page-payroll .finance-estimate-form{grid-template-columns:minmax(220px,1.1fr) minmax(220px,1fr) minmax(390px,1.55fr);align-items:end;column-gap:18px;row-gap:12px}
.ui-page-payroll .finance-estimate-form>.finance-estimate-person,.ui-page-payroll .finance-estimate-form>.finance-estimate-start{min-width:0}
.ui-page-payroll .finance-estimate-form>.finance-estimate-person>label,.ui-page-payroll .finance-estimate-form>.finance-estimate-start>label{display:flex;flex-direction:column;justify-content:flex-end;min-height:74px;margin:0}
.ui-page-payroll .finance-estimate-end-action{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;min-width:0}
.ui-page-payroll .finance-estimate-end-action>label{display:flex;flex-direction:column;justify-content:flex-end;min-width:0;min-height:74px;margin:0}
.ui-page-payroll .finance-estimate-end-action .date-picker-control{box-sizing:border-box;height:42px;min-height:42px;margin-top:6px;align-items:stretch}
.ui-page-payroll .finance-estimate-end-action .date-picker-control>input,.ui-page-payroll .finance-estimate-end-action .date-picker-control>.date-picker-button{height:42px;min-height:42px}
.ui-page-payroll .finance-estimate-end-action>button{align-self:end;justify-self:start;white-space:nowrap;height:42px;min-height:42px;margin:0!important}
.ui-page-payroll .finance-estimate{display:block}
.ui-page-payroll .finance-estimate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}
.ui-page-payroll .finance-estimate-grid>div{display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:88px;padding:12px;border:1px solid #d8e2e9;border-radius:5px;background:#fff}
.ui-page-payroll .finance-estimate-grid small{display:block;min-height:2.6em;margin:0 0 8px;color:#5b6f7f;line-height:1.3}
.ui-page-payroll .finance-estimate-grid strong{display:block;color:#143d57;font-size:18px;line-height:1.2;white-space:nowrap}
.ui-page-payroll .finance-estimate-grid .finance-estimate-total{background:#eaf3f7;border-color:#b8d0de}
.ui-page-payroll .finance-estimate-grid .finance-estimate-total strong{font-size:20px}
.ui-page-payroll .finance-rate-basis{margin-top:12px;padding:12px 15px;border:1px solid #d2dfe8;border-radius:6px;background:#eef4f8}
.ui-page-payroll .finance-rate-basis dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 16px;margin:0}
@media(max-width:1100px){.ui-page-payroll .finance-estimate-form{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-page-payroll .finance-estimate-end-action{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto}.ui-page-payroll .finance-estimate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.ui-page-payroll .finance-estimate-form{grid-template-columns:1fr}.ui-page-payroll .finance-estimate-end-action{grid-column:1;grid-template-columns:minmax(0,1fr)}.ui-page-payroll .finance-estimate-end-action>button{width:100%;justify-self:stretch}.ui-page-payroll .finance-estimate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-page-payroll .finance-rate-basis dl{grid-template-columns:1fr auto}}

/* 5.6.68: cache-refreshed estimate layout with a dedicated action column. */
.ui-page-payroll .finance-estimate-form{grid-template-columns:minmax(190px,1.2fr) minmax(170px,1fr) minmax(170px,1fr) max-content;align-items:end;column-gap:14px;row-gap:12px}
.ui-page-payroll .finance-estimate-form>.finance-estimate-person,.ui-page-payroll .finance-estimate-form>.finance-estimate-start,.ui-page-payroll .finance-estimate-form>.finance-estimate-end{min-width:0}
.ui-page-payroll .finance-estimate-form>.finance-estimate-person>label,.ui-page-payroll .finance-estimate-form>.finance-estimate-start>label,.ui-page-payroll .finance-estimate-form>.finance-estimate-end>label{display:flex;flex-direction:column;justify-content:flex-end;min-width:0;min-height:74px;margin:0}
.ui-page-payroll .finance-estimate-form>.finance-estimate-person select,.ui-page-payroll .finance-estimate-form>.finance-estimate-start .date-picker-control,.ui-page-payroll .finance-estimate-form>.finance-estimate-end .date-picker-control{box-sizing:border-box;height:42px;min-height:42px;margin-top:6px;align-items:stretch}
.ui-page-payroll .finance-estimate-form>.finance-estimate-start .date-picker-control>input,.ui-page-payroll .finance-estimate-form>.finance-estimate-start .date-picker-control>.date-picker-button,.ui-page-payroll .finance-estimate-form>.finance-estimate-end .date-picker-control>input,.ui-page-payroll .finance-estimate-form>.finance-estimate-end .date-picker-control>.date-picker-button{height:42px;min-height:42px}
.ui-page-payroll .finance-estimate-form>.finance-estimate-submit{grid-column:4!important;align-self:end;justify-self:start;white-space:nowrap;height:42px;min-height:42px;margin:0!important}
.ui-page-payroll .finance-estimate{display:block}
.ui-page-payroll .finance-estimate-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin:15px 0}
.ui-page-payroll .finance-estimate-grid>div{display:flex;flex-direction:column;justify-content:flex-start;min-width:0;min-height:88px;padding:11px 10px;border:1px solid #d8e2e9;border-radius:5px;background:#fff}
.ui-page-payroll .finance-estimate-grid small{display:block;flex:0 0 2.8em;height:2.8em;min-height:2.8em;margin:0 0 7px;color:#5b6f7f;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.ui-page-payroll .finance-estimate-grid strong{display:block;margin-top:auto;color:#143d57;font-size:17px;line-height:1.2;white-space:nowrap}
.ui-page-payroll .finance-estimate-grid .finance-estimate-total{background:#eaf3f7;border-color:#b8d0de}
.ui-page-payroll .finance-estimate-grid .finance-estimate-total strong{font-size:19px}
.ui-page-payroll .finance-rate-basis{margin-top:12px;padding:12px 15px;border:1px solid #d2dfe8;border-radius:6px;background:#eef4f8}
.ui-page-payroll .finance-rate-basis dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 16px;margin:0}
@media(max-width:1000px){.ui-page-payroll .finance-estimate-form{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}.ui-page-payroll .finance-estimate-form>.finance-estimate-end{grid-column:1;grid-row:2}.ui-page-payroll .finance-estimate-form>.finance-estimate-submit{grid-column:2!important;grid-row:2;justify-self:start}.ui-page-payroll .finance-estimate-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:680px){.ui-page-payroll .finance-estimate-form{grid-template-columns:1fr}.ui-page-payroll .finance-estimate-form>.finance-estimate-end{grid-column:1;grid-row:auto}.ui-page-payroll .finance-estimate-form>.finance-estimate-submit{grid-column:1!important;grid-row:auto;justify-self:stretch;width:100%}.ui-page-payroll .finance-estimate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-page-payroll .finance-rate-basis dl{grid-template-columns:1fr auto}}


/* 5.6.69: keep rate labels and values paired; group finance actions with their date fields. */
.ui-page-payroll .finance-estimate-form{grid-template-columns:minmax(210px,1.15fr) minmax(190px,1fr) minmax(390px,1.55fr);align-items:end;column-gap:18px;row-gap:12px}
.ui-page-payroll .finance-estimate-end-action{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:end;gap:14px;min-width:0}
.ui-page-payroll .finance-estimate-end-action>.finance-estimate-end{min-width:0}
.ui-page-payroll .finance-estimate-end-action>.finance-estimate-end>label{display:flex;flex-direction:column;justify-content:flex-end;min-width:0;min-height:74px;margin:0}
.ui-page-payroll .finance-estimate-end-action .date-picker-control{box-sizing:border-box;height:42px;min-height:42px;margin-top:6px;align-items:stretch}
.ui-page-payroll .finance-estimate-end-action .date-picker-control>input,.ui-page-payroll .finance-estimate-end-action .date-picker-control>.date-picker-button{height:42px;min-height:42px}
.ui-page-payroll .finance-estimate-end-action>.finance-estimate-submit{display:inline-flex!important;align-items:center;justify-content:center;grid-column:auto!important;align-self:end;justify-self:start;box-sizing:border-box;white-space:nowrap;width:auto!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 14px!important;border-top:1px solid!important;box-shadow:none!important;line-height:1.2}
.ui-page-payroll .finance-estimate-end-action>.finance-estimate-submit::before,.ui-page-payroll .finance-estimate-end-action>.finance-estimate-submit::after{content:none!important;display:none!important}
.ui-page-payroll .finance-rate-basis dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px;margin:0}
.ui-page-payroll .finance-rate-basis dl>.finance-rate-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:9px 11px;border:1px solid #d8e2e9;border-radius:5px;background:#fff}
.ui-page-payroll .finance-rate-basis .finance-rate-item dt{min-width:0;color:#526b7e;line-height:1.35}
.ui-page-payroll .finance-rate-basis .finance-rate-item dd{flex:0 0 auto;margin:0;color:#173b55;font-weight:700;text-align:right;white-space:nowrap}
body.cf-ui.ui-page-time .main .finance-date-filter-actions{display:grid!important;grid-template-columns:minmax(210px,1.15fr) minmax(180px,.9fr) minmax(340px,1.55fr);align-items:end;gap:16px;flex-wrap:initial!important}
body.cf-ui.ui-page-time .main .finance-date-filter-actions.without-person>.finance-date-end-action{grid-column:2/-1}
body.cf-ui.ui-page-time .main .finance-date-end-action{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:end;gap:16px;min-width:0}
body.cf-ui.ui-page-time .main .finance-date-end-action>label{min-width:0;margin:0}
body.cf-ui.ui-page-time .main .finance-date-end-action .date-picker-control{box-sizing:border-box;min-width:0;margin-top:6px}
body.cf-ui.ui-page-time .main .finance-date-end-action>.finance-date-apply{align-self:end;justify-self:start;min-height:42px;height:42px;margin:0!important;white-space:nowrap}
@media(max-width:1050px){.ui-page-payroll .finance-estimate-form{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-page-payroll .finance-estimate-end-action{grid-column:1/-1}.ui-page-payroll .finance-estimate-grid{grid-template-columns:repeat(4,minmax(0,1fr))}body.cf-ui.ui-page-time .main .finance-date-filter-actions{grid-template-columns:repeat(2,minmax(0,1fr))}body.cf-ui.ui-page-time .main .finance-date-filter-actions.without-person>.finance-date-end-action{grid-column:1/-1}}
@media(max-width:680px){.ui-page-payroll .finance-estimate-form{grid-template-columns:1fr}.ui-page-payroll .finance-estimate-end-action{grid-column:1;grid-template-columns:minmax(0,1fr)}.ui-page-payroll .finance-estimate-end-action>.finance-estimate-submit{width:100%!important;justify-self:stretch}.ui-page-payroll .finance-estimate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-page-payroll .finance-rate-basis dl{grid-template-columns:1fr}body.cf-ui.ui-page-time .main .finance-date-filter-actions{grid-template-columns:1fr}body.cf-ui.ui-page-time .main .finance-date-filter-actions.without-person>.finance-date-end-action{grid-column:1}body.cf-ui.ui-page-time .main .finance-date-end-action{grid-template-columns:1fr}body.cf-ui.ui-page-time .main .finance-date-end-action>.finance-date-apply{width:100%;justify-self:stretch}}
