/* This dialog only: preserve all other request, approval and payroll layouts. */
#overtime-modal .ot-request-card{width:min(920px,96vw);max-height:94vh;padding:0;scrollbar-gutter:stable;background:#f8fafc;border:1px solid #e4e8ee;box-shadow:0 22px 75px #11182735}
#overtime-modal .modal-header{position:sticky;top:0;z-index:3;padding:22px 26px 18px;background:white;border-bottom:1px solid #e5e9ef;gap:18px}
#overtime-modal .modal-header h2{font-size:21px;line-height:1.35;margin:3px 0 0}
#overtime-modal .modal-header .eyebrow{margin:0;color:#b71c1c;font-size:10px;letter-spacing:.12em}
#overtime-modal .icon-button{flex:0 0 34px;width:34px;height:34px;font-size:23px;display:grid;place-items:center}
#overtime-modal #overtime-form{padding:22px 26px 0;gap:20px}
#overtime-modal .ot-request-section{min-width:0;margin:0;padding:18px;border:1px solid #dfe5ee;border-radius:12px;background:white}
#overtime-modal .ot-request-section legend{padding:0 7px;font-size:12px;font-weight:750;color:#21364c}
#overtime-modal .ot-section-label{display:block;font-size:13px;margin-bottom:8px;color:#21364c}
#overtime-modal .ot-request-help{font-size:12px;line-height:1.6;color:#64748b;margin:0 0 14px}
#overtime-modal .ot-worker-filters,#overtime-modal .ot-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#overtime-modal .ot-worker-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 0}
#overtime-modal .ot-worker-toolbar button{min-height:35px;padding:8px 12px}
#overtime-modal #overtime-selected-count{margin-left:auto;background:#fff1f1;color:#9e1919;padding:7px 12px;border-radius:20px;font-size:12px;white-space:nowrap}
#overtime-modal #overtime-employee-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:7px;max-height:300px;overflow:auto;padding:8px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;scrollbar-gutter:stable}
#overtime-modal #overtime-employee-checklist .ot-worker-option{display:flex;align-items:center;justify-content:flex-start;gap:11px;padding:11px 12px;min-width:0;min-height:62px;background:white;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;text-align:left;transition:background .12s,border-color .12s}
#overtime-modal #overtime-employee-checklist .ot-worker-option:hover{border-color:#cfaaaa;background:#fffafa}
#overtime-modal #overtime-employee-checklist .ot-worker-option:has(input:checked){border-color:#c43b3b;background:#fff5f5}
#overtime-modal #overtime-employee-checklist .ot-worker-option:focus-within{outline:2px solid #b71c1c;outline-offset:1px}
#overtime-modal #overtime-employee-checklist input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:18px;padding:0;margin:0;accent-color:#b71c1c;box-shadow:none;cursor:pointer}
#overtime-modal .ot-worker-details{display:grid;gap:4px;min-width:0;flex:1}
#overtime-modal .ot-worker-details strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere;color:#1e293b}
#overtime-modal .ot-worker-details small{font-size:10px;font-weight:400;line-height:1.4;color:#64748b}
#overtime-modal input:not([type=checkbox]):not([type=hidden]),#overtime-modal select,#overtime-modal textarea{min-width:0;width:100%;min-height:40px;padding:10px 11px;border:1px solid #d6deea;border-radius:8px;background:#fff;font-size:12px}
#overtime-modal textarea{resize:vertical;min-height:82px;line-height:1.6}
#overtime-modal .ot-assignment-section>small{color:#64748b;font-size:12px;line-height:1.6}
#overtime-modal .ot-request-footer{position:sticky;bottom:0;z-index:2;margin:0 -26px;padding:15px 26px;justify-content:flex-end;border-top:1px solid #e5e9ef;background:#fffffff5;backdrop-filter:blur(8px)}
#overtime-modal .ot-request-footer button{min-height:41px;padding:11px 18px}
#overtime-modal #overtime-message{margin:0;padding:0 26px 14px;background:white}
@media(max-width:640px){#overtime-modal .ot-request-card{width:100%;max-height:96vh}#overtime-modal .modal-header{padding:17px}#overtime-modal .modal-header h2{font-size:18px}#overtime-modal #overtime-form{padding:16px 14px 0;gap:16px}#overtime-modal .ot-request-section{padding:13px}#overtime-modal .ot-worker-filters,#overtime-modal .ot-fields-grid,#overtime-modal #overtime-employee-checklist{grid-template-columns:1fr}#overtime-modal #overtime-employee-checklist{max-height:260px}#overtime-modal .ot-request-footer{margin:0 -14px;padding:13px 14px}#overtime-modal .ot-request-footer button{flex:1}#overtime-modal #overtime-message{padding:0 14px 12px}}
