/* Scoped employee editor groupings. Original v56 stylesheet stays unchanged. */
.profile-form .staff-editor-section{margin:0 0 14px;padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--panel)}
.profile-form .staff-editor-section h4{font-size:14px;line-height:1.4;margin:0 0 14px;font-weight:800;color:var(--text)}
.profile-form .staff-editor-section .form-fields+.form-fields{margin-top:14px}
.profile-form .staff-editor-section .toggle-row{margin-top:0}
.profile-form .staff-editor-section .form-fields select{min-height:47px;width:100%;border:1px solid var(--line);border-radius:12px;background:#f8fafb;color:var(--text);padding:11px 13px;outline:0;font-size:15px;font-weight:500}
.profile-form .staff-editor-section .form-fields select:focus-visible{outline:2px solid var(--brand-red);outline-offset:2px}
.profile-form .staff-editor-section .form-fields select:disabled{opacity:.65}
body.telegram-dark .profile-form .staff-editor-section{background:var(--panel);border-color:var(--line)}
body.telegram-dark .profile-form .staff-editor-section .form-fields select{background:#222d37;color:var(--text);border-color:var(--line)}
@media(max-width:430px){.profile-form .staff-editor-section{padding:13px}}
@media(max-width:760px){.profile-form .staff-editor-section .form-fields select{font-size:16px}}
/* Separate the role selector from the HR-access permission toggle. */
.profile-form .staff-editor-section #hrAccessRow{margin-top:18px}
.profile-form .staff-editor-section .staff-editor-hint{display:block;margin-top:7px;font-size:12px;color:var(--secondary);line-height:1.45}
