.employee-request-card .card-header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.manual-request-add { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.manual-request-add > span { font-size:20px; line-height:1; }
.manual-request-backdrop.employee-edit-modal { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; padding:16px; }
.manual-request-backdrop .manual-request-modal { margin:0; transform:none; }
.manual-request-modal.employee-edit-modal-panel { width:min(780px,calc(100vw - 32px)); height:auto; max-height:calc(100dvh - 32px); }
.manual-request-modal .employee-edit-form { min-height:0; height:auto; width:100%; max-width:none; }
.manual-request-modal .employee-edit-modal-header h2 { font-size:1.1rem; font-weight:600; color:var(--teal,#0f766e); margin:0; }
.manual-request-modal .employee-edit-modal-header p { font-size:.8rem; margin:5px 0 0; }
.manual-request-grid :is(.form-control,.form-select,.smooth-select-button) { min-height:44px; width:100%; border-radius:12px; font-size:.875rem; padding:10px 12px; }
.manual-request-grid select.is-native-hidden { display:none!important; }
.manual-request-modal .employee-edit-modal-body { padding:24px; flex:0 1 auto; }
.manual-request-modal .employee-edit-modal-footer { flex:0 0 auto; }
.manual-request-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px 16px; }
.manual-request-wide { grid-column:1 / -1; }
.manual-request-grid > .coc-field { min-width:0; position:relative; overflow:visible; padding-top:7px; }
/* Match the inherited .coc-field top padding so labels straddle the control border. */
.manual-request-grid > .coc-field > span:first-child { position:absolute; top:7px; left:10px; transform:translateY(-50%); z-index:82; padding:0 4px; line-height:1.2; background:var(--surface,#fff); color:var(--primary,#0f766e); pointer-events:none; }
.manual-request-grid > .coc-field:has(.smooth-select-shell.is-open) { z-index:90; }
.manual-request-grid > .coc-field.manual-request-empty:not(:focus-within):not(:has(.is-open)) > span:first-child { top:30px; font-size:14px; font-weight:400; background:transparent; }
.manual-request-grid > .coc-field.manual-request-empty:not(:focus-within):not(:has(.is-open)) input::placeholder { color:transparent; }
.manual-request-grid > .coc-field.manual-request-empty:not(:focus-within):not(:has(.is-open)) .smooth-select-value { visibility:hidden; }
.manual-request-grid .signatory-employee-search > input { padding-right:76px; }
.manual-request-grid .smooth-select-menu { max-height:270px; overflow-y:auto; }
.manual-request-grid .smooth-select-menu:not(.is-open) { scrollbar-width:thin; }
.manual-request-grid .smooth-select-shell.is-open { z-index:60; }
.manual-request-grid .smooth-select-search { min-height:36px; border-radius:8px; }
body:has(.manual-request-backdrop) { overflow:hidden; }
@media(max-width:600px) {
 .manual-request-grid { grid-template-columns:minmax(0,1fr); }
 .manual-request-modal .employee-edit-modal-body { padding:20px 16px; }
 .manual-request-modal .employee-edit-modal-header h2 { font-size:1.1rem; }
}
