/* Daily frontend component: independent of Portal Shell; screen only, never operational print/email. */
@media screen {
	.cms-daily-report-form .cms-receipt-remove{position:relative;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:26px;border:1px solid #d1d5db;border-radius:7px;}
	.cms-daily-report-form .cms-receipt-remove input{position:absolute!important;opacity:0;width:1px!important;height:1px!important;min-height:0!important;}
	.cms-daily-report-form .cms-receipt-remove:has(input:checked){background:#fee2e2;color:#991b1b;}
	.cms-daily-report-form .cms-receipt-remove:focus-within{outline:2px solid #1c64f2;outline-offset:2px;}
 .cms-portal.cms-daily-report-form[dir=rtl] {--cms-control-height:32px;--cms-button-height:32px;--cms-button-small-height:30px;--cms-card-padding:12px;font-size:12px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(h1,h2) {font-size:15px;margin-bottom:6px;}
 .cms-portal.cms-daily-report-form[dir=rtl] h3 {font-size:13px;margin-bottom:4px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-field>span,.cms-field input,.cms-field select,.cms-field textarea) {font-size:12px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-field>span,.cms-report-choice legend) {margin-bottom:2px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(small,.cms-muted,.cms-section-heading p) {font-size:11px;line-height:1.4;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(input,select,textarea):not([type=hidden],[type=checkbox],[type=radio],[type=file]),
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-searchable-select input.cms-searchable-select-input {font-size:12px;min-height:32px;height:32px;padding:4px 7px;border-radius:6px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-searchable-select input.cms-searchable-select-input {padding-inline-end:50px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-searchable-select button.cms-searchable-select-clear {height:28px;min-height:0;padding:0;width:24px;font-size:16px;}
 .cms-portal.cms-daily-report-form[dir=rtl] textarea:not([hidden]) {height:auto;min-height:60px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.button,button:not(.cms-searchable-select-clear)) {font-size:12px;min-height:32px;padding:4px 9px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-card,.cms-report-employee-card,.cms-report-asset,.cms-expense-row) {padding:12px;margin-bottom:8px;border-radius:8px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-form-grid,.cms-employee-base-inputs,.cms-employee-optional-inputs) {gap:6px;}
 /* Important is limited to the inherited document stylesheet's important grid declarations. */
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-report-general-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-report-general-project,.cms-report-general-date) {grid-column:1/-1!important;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-report-general-start,.cms-report-general-end) {grid-column:span 1!important;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-employee-base-inputs,.cms-employee-optional-inputs) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:6px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-employee-base-inputs,.cms-employee-optional-inputs)>* {min-width:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] [data-employee-cash-field=manual_bonus_amount] {grid-column:2;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-report-choice,.cms-employee-cash-toggles) {border:0;display:flex;flex-wrap:wrap;gap:5px;margin:6px 0;padding:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-report-choice legend {font-size:12px;width:100%;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-report-choice,.cms-employee-cash-toggles) label {align-items:center;background:var(--cms-surface);border:1px solid var(--cms-border);border-radius:999px;display:inline-flex;gap:4px;min-height:26px;padding:2px 8px;font-size:11px;line-height:1.3;cursor:pointer;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-report-choice,.cms-employee-cash-toggles) label:has(input:checked) {background:var(--cms-active-bg);border-color:var(--cms-primary);color:var(--cms-active-text);}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-report-choice,.cms-employee-cash-toggles) input {appearance:auto;width:12px;height:12px;min-height:0;margin:0;accent-color:var(--cms-primary);}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-employee-cash-toggles input {appearance:none;background:var(--cms-surface);border:1px solid var(--cms-text-muted);border-radius:50%;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-employee-cash-toggles input:checked {background:var(--cms-primary);border-color:var(--cms-primary);box-shadow:inset 0 0 0 2px var(--cms-surface);}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row {grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:6px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row>label:nth-of-type(-n+2) {grid-column:span 5;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row>label:nth-of-type(3) {grid-column:span 7;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row>label:nth-of-type(4) {grid-column:span 3;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row input[type=file] {width:100%;min-width:0;min-height:32px;font-size:10px;padding:2px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row input[type=file]::file-selector-button {max-width:100%;font-size:10px;padding:4px;border:1px solid var(--cms-border);border-radius:4px;background:var(--cms-surface-muted);color:var(--cms-text);}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-remove-card,.cms-remove-expense) {position:static;float:left;min-height:24px;font-size:11px;padding:2px 6px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-remove-expense {grid-column:1/-1;justify-self:end;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-section-heading,.cms-page-header,.cms-report-progress,.cms-wizard-actions) {gap:6px;margin-block:6px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-report-progress :is(a,span) {font-size:11px;min-height:28px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-report-expenses--compact {padding:6px;margin-top:6px;}
}
@media screen and (max-width:767px) {
 .cms-portal.cms-daily-report-form[dir=rtl] {--cms-control-height:36px;--cms-button-height:36px;--cms-button-small-height:34px;--cms-card-padding:10px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(input,select,textarea):not([type=hidden],[type=checkbox],[type=radio],[type=file]),
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-searchable-select input.cms-searchable-select-input {height:36px;min-height:36px;font-size:12px;}
 .cms-portal.cms-daily-report-form[dir=rtl] textarea:not([hidden]) {height:auto;min-height:64px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-card,.cms-report-employee-card,.cms-report-asset,.cms-expense-row) {padding:10px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.button,button:not(.cms-searchable-select-clear)) {min-height:36px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-report-choice,.cms-employee-cash-toggles) label {min-height:28px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-searchable-select button.cms-searchable-select-clear {height:32px;}
}
@media screen {
 .cms-portal.cms-daily-report-form[dir=rtl] {--cms-surface:#fff;--cms-text:#111827;--cms-text-muted:#6b7280;--cms-border:#e5e7eb;--cms-primary:#1c64f2;--cms-active-bg:#e1effe;--cms-active-text:#1e429f;}
 .cms-portal.cms-daily-report-form[dir=rtl] [hidden] {display:none!important;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-field {display:grid;gap:3px;min-width:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-report-general-grid {display:grid;gap:6px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row {display:grid;min-width:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-employee-selector-header {display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:end;gap:6px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-employee-selector-header button.cms-remove-card {float:none;position:static;width:28px;height:28px;min-height:28px;min-width:0;padding:0;margin-bottom:2px;border:1px solid var(--cms-border);border-radius:8px;background:#fff;color:var(--cms-text-muted);font-size:14px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-wizard-actions button.cms-primary {background:var(--cms-primary);border-color:var(--cms-primary);color:#fff;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-wizard-actions button.cms-primary:hover {background:#1a56db;border-color:#1a56db;color:#fff;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-daily-report-step--employees,.cms-daily-report-step--expenses) {background:transparent;border:0;box-shadow:none;padding:0;}
}
@media screen and (max-width:767px) {
 .cms-portal.cms-daily-report-form[dir=rtl] {background:#f9fafb;line-height:1.4;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(h1,h2,h3) {font-size:11px;line-height:1.45;font-weight:600;margin:0 0 4px;letter-spacing:normal;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-field>span,.cms-report-choice legend) {font-size:10.5px;line-height:1.4;font-weight:600;margin-bottom:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(small,.cms-muted,.cms-section-heading p) {font-size:9.5px;line-height:1.4;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-card,.cms-report-employee-card,.cms-report-asset) {background:#fff;border:1px solid #e5e7eb;border-radius:13px;box-shadow:0 1px 4px rgb(17 24 39 / 5%);padding:8px;margin:0 0 6px;min-width:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-report-asset>header,.cms-report-asset .cms-form-grid) {margin:0 0 6px;padding:0;border:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-report-choice,.cms-employee-cash-toggles) {background:transparent;box-shadow:none;border:0;border-radius:0;min-height:0;padding:0;margin:4px 0;gap:5px;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-report-choice,.cms-employee-cash-toggles) label {font-size:11px;font-weight:500;}
 .cms-portal.cms-daily-report-form[dir=rtl] :is(.cms-report-expenses,.cms-report-expenses--compact,.cms-expense-row) {background:transparent;border:0;border-radius:0;box-shadow:none;min-height:0;padding:0;margin:6px 0 0;}
 .cms-portal.cms-daily-report-form[dir=rtl] [data-general-expenses] {background:#fff;border:1px solid #e5e7eb;border-radius:13px;box-shadow:0 1px 4px rgb(17 24 39 / 5%);padding:8px;margin-bottom:6px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row+.cms-expense-row {border-top:1px solid #e5e7eb;padding-top:6px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row input[type=file] {height:auto;min-height:28px;font-size:9px;padding:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row input[type=file]::file-selector-button {font-size:9px;padding:4px 3px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-daily-report-step--employees {background:transparent;border:0;box-shadow:none;padding:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-daily-report-step--expenses {background:transparent;border:0;box-shadow:none;padding:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-daily-report-progress {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:4px;margin:4px 0 6px;padding:0;background:transparent;border:0;box-shadow:none;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-daily-report-progress>:is(a,span) {align-items:center;justify-content:center;display:flex;min-width:0;min-height:36px;padding:0;background:transparent;border:0;border-radius:6px;box-shadow:none;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-daily-report-progress>:is(a,span)>span {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-daily-report-progress b {align-items:center;justify-content:center;display:flex;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#edf0f4;color:#6b7280;font-size:11px;font-weight:500;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-daily-report-progress .done b {background:#e1effe;color:#1e429f;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-daily-report-progress .active b {background:var(--cms-primary);color:#fff;outline:2px solid #c3ddfd;outline-offset:2px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-wizard-actions {display:flex;align-items:center;gap:6px;border-top:0;margin:6px 0 0;padding:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-wizard-actions>.button {flex:1;min-width:0;margin:0;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-wizard-actions .cms-saving {font-size:9.5px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-report-production-grid>.cms-field {margin:0;align-content:start;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-report-production-grid .cms-field>strong {font-size:11px;font-weight:500;line-height:1.4;overflow-wrap:anywhere;}
}
@media screen {
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row {border:0;border-radius:0;padding:0;margin-top:8px;position:relative;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row+.cms-expense-row {padding-top:8px;border-top:1px solid var(--cms-border);}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-saved-receipts {grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-receipt-picker {position:relative;align-content:start;cursor:pointer;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-receipt-picker-icon {display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid var(--cms-border);border-radius:8px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-expense-row .cms-receipt-picker input[type=file] {position:absolute;width:1px;height:1px;min-height:0;padding:0;opacity:0;overflow:hidden;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-receipt-picker:focus-within .cms-receipt-picker-icon {outline:2px solid var(--cms-primary);outline-offset:2px;}
 .cms-portal.cms-daily-report-form[dir=rtl] [data-receipt-feedback] {font-size:10px;overflow-wrap:anywhere;max-width:100%;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-saved-receipt {display:flex;align-items:center;gap:3px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-saved-receipt img {object-fit:contain;border-radius:5px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-receipt-remove {display:inline-flex;align-items:center;gap:2px;min-height:28px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-site-notes-control {font-size:11px;display:flex;gap:5px;align-items:center;min-height:28px;}
 .cms-portal.cms-daily-report-form[dir=rtl] .cms-report-production-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

.cms-portal.cms-daily-report-form[dir=rtl] .cms-report-production-metrics {
	display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0;
}
.cms-portal.cms-daily-report-form[dir=rtl] [data-production-error] {color:#b42318;font-size:10px;}
/* Step 3 entry-only renter label; no shell dependency or changes to document/admin styles. */
.cms-portal.cms-daily-report-form .cms-daily-report-step--equipment .cms-report-equipment-renter {display:block;margin-block:2px;font-size:11px;line-height:1.45;font-weight:500;overflow-wrap:anywhere;}
.cms-portal.cms-daily-report-form .cms-report-equipment-renter-source {font-size:10px;font-weight:400;color:var(--cms-portal-muted,#64777d);}
