#overtime-option-modal .late-deduction-modal-card{width:min(1160px,97vw);max-height:94vh}
#custom-ot-editor{border:1px solid #dce1e8;border-radius:10px;padding:16px;margin:24px 0;background:#fafbfc;font-size:13px;line-height:1.6}
#custom-ot-editor>summary{font-size:16px;font-weight:700;cursor:pointer}
#custom-ot-editor .form-grid{gap:16px;margin-top:18px}
#custom-ot-editor label{display:grid;gap:6px;font-size:12px;font-weight:600;min-width:0}
#custom-ot-editor input:not([type=checkbox]),#custom-ot-editor select{width:100%;min-height:39px;border:1px solid #d6dbe3;border-radius:7px;padding:9px;font:inherit;background:#fff}
#custom-ot-editor small{font-weight:400;color:#69717d;line-height:1.6}
#custom-ot-editor fieldset{border:1px solid #dce1e8;border-radius:8px;padding:14px;min-width:0;background:#fff}
#custom-ot-editor legend{font-size:13px;font-weight:650;padding:0 5px}
#custom-ot-editor .custom-ot-checks{display:flex;gap:14px;flex-wrap:wrap}
#custom-ot-editor .custom-ot-checks label,#custom-ot-editor .custom-ot-member{display:flex;align-items:center;gap:9px;cursor:pointer}
#custom-ot-editor input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;accent-color:#b71c1c}
#custom-ot-editor .custom-ot-member-list{max-height:220px;overflow-y:auto;background:#fff;border:1px solid #dce1e8;border-radius:8px}
#custom-ot-editor .custom-ot-member{padding:10px 12px;border-bottom:1px solid #edf0f4}
#custom-ot-editor .custom-ot-member:has(input:checked){background:#fff3f1}
#custom-ot-editor .custom-ot-member[hidden]{display:none!important}
#custom-ot-editor .custom-ot-member span small{display:block}
#custom-ot-editor .custom-ot-actions{display:flex;gap:10px;flex-wrap:wrap}
#custom-ot-editor .custom-ot-rule{padding:15px;margin:10px 0;border:1px solid #dce1e8;background:#fff;border-radius:8px}
#custom-ot-editor .custom-ot-rule p{margin:6px 0}
#custom-ot-editor .notice{background:#fff8e6;border:1px solid #efd899;border-radius:8px;padding:12px}
#custom-ot-preview{margin-top:14px}
@media(max-width:700px){#custom-ot-editor .form-grid{grid-template-columns:1fr}#custom-ot-editor{padding:12px}}
