.cms-grid,.cms-grid-2,.cms-grid-3{display:grid;gap:16px;min-width:0}.cms-grid,.cms-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cms-field-full{grid-column:1/-1}.cms-field-half{grid-column:span 1}.cms-field-third{grid-column:span 1}
.cms-report-review{max-width:1100px;margin:0 auto;display:grid;gap:18px}.cms-report-review>.cms-card{border:1px solid #dfe5ec;border-radius:12px;box-shadow:0 2px 10px rgba(16,24,40,.05);break-inside:avoid}.cms-report-review h2{color:#123a5a;border-bottom:2px solid #d9a441;padding-bottom:9px}.cms-report-review h2 small{font-size:12px;color:#667085;font-weight:400}.cms-report-screen-header{max-width:1100px;margin-inline:auto}.cms-report-action-bar{max-width:1100px;margin:0 auto 16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;background:#fff;border:1px solid #dfe5ec;border-radius:10px;position:sticky;top:42px;z-index:4}.cms-report-action-bar .cms-notification-status{margin-inline-start:auto;color:#475467;font-size:13px}.cms-report-receipt{display:block;width:96px;max-height:96px;object-fit:contain;border:1px solid #d0d5dd;border-radius:6px;background:#fff}.cms-report-review .cms-table th{white-space:nowrap}.cms-report-review .cms-table td{vertical-align:top}.cms-report-review .cms-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.cms-report-review .cms-details dl>div{padding:9px 0;border-bottom:1px solid #eef1f4}
.cms-table{border-collapse:separate;border-spacing:0}.cms-table thead th{position:sticky;top:0;z-index:1;background:#123a5a!important;color:#fff}.cms-table tbody tr:nth-child(even){background:#f8fafc}.cms-table td,.cms-table th{padding:10px 12px}.cms-actions{white-space:nowrap}.cms-filters{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end;gap:12px}.cms-filters .button{min-height:40px}.cms-expense-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cms-expense-row .cms-wide{grid-column:1/-1}.cms-report-money-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cms-partner-step [data-partner-activity-fields],.cms-partner-step [data-partner-expense-fields]{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:782px){.cms-grid,.cms-grid-2,.cms-grid-3,.cms-expense-row,.cms-report-money-row,.cms-partner-step [data-partner-activity-fields],.cms-partner-step [data-partner-expense-fields],.cms-report-review .cms-details dl{grid-template-columns:1fr}.cms-field-full,.cms-field-half,.cms-field-third,.cms-expense-row .cms-wide{grid-column:auto}.cms-report-action-bar{position:static}.cms-report-action-bar .cms-notification-status{width:100%;margin:0}.cms-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.cms-report-review,.cms-report-screen-header{max-width:100%}}
.cms-report-screen-header{border-bottom:3px solid #d9a441;padding-bottom:16px}.cms-report-screen-header h1{color:#123a5a}.cms-report-screen-header p{color:#667085;font-weight:700}.cms-report-action-bar{box-shadow:0 7px 22px rgba(18,58,90,.08)}.cms-report-action-bar .button:first-child::before{content:"\1F5A8";font-size:14px;margin-inline-end:6px}.cms-report-review>.cms-card{border-top:3px solid rgba(18,58,90,.55);padding:20px}.cms-report-review>.cms-card:nth-child(even){border-top-color:rgba(217,164,65,.72)}.cms-report-review .cms-details dt{color:#667085;font-size:12px;font-weight:700}.cms-report-review .cms-details dd{color:#182b34;font-weight:700}.cms-report-review .cms-table-wrap{border-radius:9px}.cms-report-receipt{box-shadow:0 3px 10px rgba(16,24,40,.1);transition:box-shadow .15s ease,transform .15s ease}.cms-report-receipt:hover{box-shadow:0 7px 18px rgba(16,24,40,.15);transform:scale(1.03)}
@media(max-width:782px){.cms-report-review>.cms-card{padding:15px}.cms-report-screen-header{padding-bottom:12px}.cms-report-action-bar{align-items:center}.cms-report-action-bar>.button,.cms-report-action-bar>.cms-inline-form,.cms-report-action-bar>.cms-inline-form .button{width:auto}.cms-report-review h2{font-size:18px}.cms-report-review .cms-table{min-width:620px}}
@media screen and (min-width:641px){.cms-admin .cms-form-grid,.cms-portal .cms-form-grid,.cms-admin .cms-grid-2,.cms-portal .cms-grid-2,.cms-admin .cms-report-general-grid,.cms-portal .cms-report-general-grid,.cms-admin .cms-expense-row,.cms-portal .cms-expense-row,.cms-admin .cms-partner-step [data-partner-activity-fields],.cms-portal .cms-partner-step [data-partner-activity-fields],.cms-admin .cms-partner-step [data-partner-expense-fields],.cms-portal .cms-partner-step [data-partner-expense-fields]{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cms-admin .cms-grid-3,.cms-portal .cms-grid-3,.cms-admin .cms-report-money-row,.cms-portal .cms-report-money-row,.cms-admin .cms-report-production-grid,.cms-portal .cms-report-production-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.cms-admin .cms-wide,.cms-portal .cms-wide,.cms-admin .cms-field-full,.cms-portal .cms-field-full{grid-column:1/-1}}
@media screen and (max-width:640px){.cms-admin .cms-form-grid,.cms-portal .cms-form-grid,.cms-admin .cms-grid-2,.cms-portal .cms-grid-2,.cms-admin .cms-grid-3,.cms-portal .cms-grid-3,.cms-admin .cms-report-general-grid,.cms-portal .cms-report-general-grid,.cms-admin .cms-report-money-row,.cms-portal .cms-report-money-row,.cms-admin .cms-report-production-grid,.cms-portal .cms-report-production-grid,.cms-admin .cms-expense-row,.cms-portal .cms-expense-row,.cms-admin .cms-partner-step [data-partner-activity-fields],.cms-portal .cms-partner-step [data-partner-activity-fields],.cms-admin .cms-partner-step [data-partner-expense-fields],.cms-portal .cms-partner-step [data-partner-expense-fields]{grid-template-columns:1fr!important}.cms-admin .cms-wide,.cms-portal .cms-wide,.cms-admin .cms-field-full,.cms-portal .cms-field-full{grid-column:auto}}
@media print{.cms-reporting-tabs,.cms-reporting-filters,.cms-reporting-actions,.cms-reporting-empty,.cms-portal-pagination{display:none!important}.cms-reporting-dashboard{display:block!important}.cms-reporting-header{margin-bottom:8px}.cms-reporting-print-meta{display:flex!important;gap:12px;justify-content:space-between;border:1px solid #aaa;padding:7px;margin-bottom:10px;font-size:9pt}.cms-reporting-master-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px}.cms-reporting-master-grid>div{border:1px solid #aaa!important;padding:6px!important}.cms-reporting-master-grid dt{font-size:7.5pt}.cms-reporting-master-grid dd{font-size:9pt}.cms-reporting-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px;margin-bottom:9px}.cms-reporting-cards article{box-shadow:none!important;border:1px solid #aaa!important;padding:6px!important}.cms-reporting-cards span{font-size:7.5pt}.cms-reporting-cards strong{font-size:9pt}.cms-reporting-current-reference{break-inside:avoid}.cms-reporting-summary-groups{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px}.cms-reporting-compact-summary{break-inside:avoid-page}.cms-reporting-compact-summary dl>div{padding:4px 1px!important}.cms-reporting-compact-summary dt{font-size:7.5pt}.cms-reporting-compact-summary dd{font-size:8.5pt}.cms-reporting-section{box-shadow:none!important;border:1px solid #aaa!important;break-before:auto;margin-bottom:9px;padding:7px}.cms-reporting-section>header{margin-bottom:5px}.cms-reporting-section h2{font-size:12pt}.cms-reporting-section header p{font-size:8pt}.cms-reporting-table{font-size:7.5pt!important;min-width:0!important;width:100%!important}.cms-reporting-table th,.cms-reporting-table td{padding:4px!important}.cms-reporting-table th{background:#e8edf2!important;color:#111!important;position:static!important}.cms-reporting-table tr{break-inside:avoid}.cms-reporting-dashboard a{color:#111!important;text-decoration:none!important}}
@page{size:A4;margin:14mm}@media print{html,body{direction:rtl;background:#fff!important;overflow:visible!important}.cms-report-action-bar,.cms-back,#adminmenumain,#wpadminbar,#wpfooter,.cms-page-header .button,.cms-portal-nav{display:none!important}#wpcontent,#wpbody-content{margin:0!important;padding:0!important}.cms-report-screen-header{display:block!important;margin:0 0 14px;padding:0 0 10px;border-bottom:2px solid #555}.cms-report-screen-header h1{font-size:18pt;margin:0 0 3px}.cms-report-screen-header p{font-size:10pt;margin:0}.cms-report-review{width:100%;max-width:none;display:block;overflow:visible}.cms-report-review>.cms-card{box-shadow:none;margin:0 0 10px;border:1px solid #aab3bd;border-top:2px solid #555;padding:10px}.cms-report-review h2{border-bottom:1px solid #888;color:#111;font-size:13pt;margin-bottom:7px;padding-bottom:5px}.cms-report-review .cms-details dl>div{padding:5px 0}.cms-table-wrap{overflow:visible!important;border:0!important;box-shadow:none!important}.cms-table{width:100%!important;min-width:0!important;font-size:8.5pt;table-layout:auto}.cms-table tr{break-inside:avoid}.cms-table td,.cms-table th{padding:5px 6px!important}.cms-table thead th{position:static!important;background:#e8edf2!important;color:#111!important}.cms-report-receipt{width:115px;max-height:115px;box-shadow:none}.cms-card{break-inside:avoid-page}.cms-report-review a{color:#111;text-decoration:none}.cms-report-totals>span,.cms-report-totals>strong{border:1px solid #bbb!important;background:#fff!important;color:#111!important;padding:5px 7px!important}}
@media print{.cms-reporting-day-type{background:none!important;border:0!important;color:#111!important;padding:0!important}}

/* Shared Daily Report field proportions. Scoped modifiers override legacy one-column mobile fallbacks. */
.cms-admin .cms-report-general-grid,.cms-daily-report-form .cms-report-general-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important}.cms-admin .cms-report-general-project,.cms-daily-report-form .cms-report-general-project{grid-column:span 4!important}.cms-admin .cms-report-general-date,.cms-daily-report-form .cms-report-general-date{grid-column:span 2!important}.cms-admin .cms-report-general-start,.cms-admin .cms-report-general-end,.cms-daily-report-form .cms-report-general-start,.cms-daily-report-form .cms-report-general-end{grid-column:span 3!important}.cms-admin .cms-report-search-select{display:grid;gap:6px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);min-width:0}.cms-admin .cms-report-search-select>*,.cms-daily-report-form .cms-report-search-select>*{min-width:0}.cms-admin .cms-report-search-select .cms-select-search{margin:0!important}.cms-admin .cms-report-employee-money-row,.cms-daily-report-form .cms-report-employee-money-row,.cms-admin .cms-report-production-grid,.cms-daily-report-form .cms-report-production-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.cms-admin .cms-report-production-grid>.cms-wide,.cms-daily-report-form .cms-report-production-grid>.cms-wide{grid-column:1/-1!important}.cms-admin .cms-report-production-metric,.cms-daily-report-form .cms-report-production-metric{min-width:0}
@media screen and (max-width:360px){.cms-admin .cms-report-general-project,.cms-admin .cms-report-general-date,.cms-daily-report-form .cms-report-general-project,.cms-daily-report-form .cms-report-general-date{grid-column:1/-1!important}}
/* 2.5.5 frontend-only integration: preserve administrator grids and independent print layout. */
@media screen {
 .cms-portal .cms-report-search-select{display:block;grid-template-columns:none}
}
@media screen and (max-width:640px) {
 .cms-portal .cms-report-review{gap:12px;min-width:0}
 .cms-portal .cms-report-review>.cms-card{padding:10px 12px}
 .cms-portal .cms-report-review h2{font-size:16px;padding-bottom:6px;margin-bottom:8px}
 .cms-portal .cms-report-screen-header{padding-bottom:9px}
 .cms-portal .cms-report-screen-header h1{font-size:19px}
 .cms-portal .cms-report-screen-header p{font-size:12px}
 .cms-portal .cms-report-action-bar{gap:6px;padding:8px 10px;margin-bottom:10px}
 .cms-portal .cms-report-action-bar .cms-notification-status{font-size:11px}
 .cms-portal .cms-report-review .cms-details dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;margin:0}
 .cms-portal .cms-report-review .cms-details dl>div{padding:6px 0;min-width:0}
 .cms-portal .cms-report-review .cms-details dt{font-size:11px}
 .cms-portal .cms-report-review .cms-details dd{font-size:13px;margin:3px 0 0;overflow-wrap:anywhere}
 .cms-portal .cms-report-review .cms-table{font-size:12px;min-width:560px}
 .cms-portal .cms-report-review .cms-table th{font-size:11px}
 .cms-portal .cms-report-review .cms-table td,.cms-portal .cms-report-review .cms-table th{padding:6px 8px}
 .cms-portal .cms-report-review .cms-report-totals{gap:6px;margin-top:9px}
 .cms-portal .cms-report-review .cms-report-totals>span,.cms-portal .cms-report-review .cms-report-totals>strong{font-size:13px;padding:6px 8px}
 .cms-portal .cms-report-review .cms-report-receipt{width:64px;max-height:64px}
 .cms-portal .cms-report-employee-money-row,.cms-portal .cms-report-production-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}
}
@media screen and (min-width:641px) and (max-width:900px) {
 .cms-portal .cms-report-review{gap:14px}
 .cms-portal .cms-report-review>.cms-card{padding:14px}
}

/* Daily Report presentation 2.5.7: shared fact tables keep local scrolling only. */
.cms-admin .cms-daily-fact-table,.cms-portal .cms-daily-fact-table{table-layout:fixed;min-width:760px}
.cms-admin .cms-daily-fact-table th,.cms-admin .cms-daily-fact-table td,.cms-portal .cms-daily-fact-table th,.cms-portal .cms-daily-fact-table td{overflow-wrap:anywhere;white-space:normal}
.cms-admin .cms-daily-fact-table-wrap,.cms-portal .cms-daily-fact-table-wrap{max-width:100%;overflow-x:auto}

/* Daily Report presentation 2.5.8: compact five-row custody summary. */
.cms-admin .cms-daily-cash-summary dl,.cms-portal .cms-daily-cash-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0}
.cms-admin .cms-daily-cash-summary dl>div,.cms-portal .cms-daily-cash-summary dl>div{border-bottom:1px solid #e3e8ef;display:flex;justify-content:space-between;gap:12px;padding:8px 0;min-width:0}
.cms-admin .cms-daily-cash-summary dt,.cms-portal .cms-daily-cash-summary dt{color:#475467;font-weight:600}
.cms-admin .cms-daily-cash-summary dd,.cms-portal .cms-daily-cash-summary dd{font-weight:700;margin:0;text-align:left;overflow-wrap:anywhere}
@media screen and (max-width:640px){.cms-admin .cms-daily-cash-summary dl,.cms-portal .cms-daily-cash-summary dl{grid-template-columns:1fr}.cms-admin .cms-daily-cash-summary dl>div,.cms-portal .cms-daily-cash-summary dl>div{font-size:12px}}

/* Daily data model 2.5.27: shared admin editor compatibility, never canonical Print. */
@media screen {
 .cms-admin .cms-daily-report-step [hidden]{display:none!important}
 .cms-admin .cms-daily-report-step .cms-expense-row{grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:6px;margin-top:8px}
 .cms-admin .cms-daily-report-step .cms-expense-row>label:nth-of-type(-n+2){grid-column:span 5}
 .cms-admin .cms-daily-report-step .cms-expense-row>label:nth-of-type(3){grid-column:span 7}
 .cms-admin .cms-daily-report-step .cms-expense-row>label:nth-of-type(4){grid-column:span 3}
 .cms-admin .cms-daily-report-step .cms-expense-row textarea{min-height:64px}
 .cms-admin .cms-daily-report-step .cms-saved-receipts{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}
 .cms-admin .cms-daily-report-step .cms-saved-receipt{display:flex;align-items:center;gap:4px}
 .cms-admin .cms-daily-report-step .cms-receipt-picker{position:relative;cursor:pointer}
 .cms-admin .cms-daily-report-step .cms-receipt-picker-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #d1d5db;border-radius:8px}
 .cms-admin .cms-daily-report-step .cms-receipt-picker input[type=file],.cms-admin .cms-daily-report-step .cms-receipt-remove input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0}
 .cms-admin .cms-daily-report-step .cms-receipt-picker:focus-within,.cms-admin .cms-daily-report-step .cms-receipt-remove:focus-within{outline:2px solid #1c64f2}
 .cms-admin .cms-daily-report-step .cms-receipt-remove{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;border:1px solid #d1d5db;border-radius:7px}
 .cms-admin .cms-daily-report-step .cms-receipt-remove:has(input:checked){background:#fee2e2;color:#991b1b}
}
/* Employee-entered overtime 2.5.12: four compact inputs, two columns on phones. */
.cms-admin .cms-report-employee-money-row .cms-field-error,.cms-daily-report-form .cms-report-employee-money-row .cms-field-error{color:#b42318;display:block;font-weight:600;margin-top:4px}
@media screen and (min-width:641px){.cms-admin .cms-report-employee-money-row,.cms-daily-report-form .cms-report-employee-money-row{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media screen and (max-width:640px){.cms-admin .cms-report-employee-money-row,.cms-daily-report-form .cms-report-employee-money-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px}}
.cms-admin .cms-report-production-metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0;}
