/* MEZOLA employee management, 2026-11-09 */
.settingsUsersLink{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 19px;background:#ecf3f1;color:#38565f;border:1px solid #cbdad7;text-decoration:none;border-radius:11px;font-size:15px;font-weight:650}
.settingsUsersLink:hover,.settingsUsersLink:focus-visible{background:#dfedeb}
.staffHeader{height:84px}
.staffBrand{display:flex;align-items:center;justify-content:center;width:148px;height:66px;background:#12181a;border-radius:12px;padding:9px;text-decoration:none}
.staffBrand img{max-width:100%;max-height:100%;object-fit:contain}
.staffSigned{font-size:14px;color:#576a72;font-weight:620}
.staffBack{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #d5dedb;padding:10px 16px;border-radius:10px;text-decoration:none;color:#405965;background:#fff;font-size:14px;font-weight:600}
.staffBack:hover{background:#edf3f1}
.staffMain{display:block!important;width:100%;padding:34px 24px 55px!important;align-items:unset!important;justify-content:unset!important}
.staffContainer{width:min(1120px,100%);margin:0 auto}
.staffTop{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:24px}
.staffTop h1{font-size:32px;text-align:left;line-height:1.2;margin:0;color:#2b3b45}
.staffTop p{color:#7b8990;margin:8px 0 0;font-size:14px}
.staffCreate{background:#4a6776;color:#fff;font-size:14px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:13px 18px;min-height:46px;border-radius:11px;white-space:nowrap}
.staffCreate:hover{background:#395565}
.staffList,.staffEditor{background:#fff;border:1px solid #dfe5e2;border-radius:18px;box-shadow:0 12px 32px rgba(38,55,60,.045);overflow:hidden}
.staffListHeader{display:flex;justify-content:space-between;align-items:center;padding:19px 24px;border-bottom:1px solid #edf0ee}
.staffListHeader b{font-size:16px;color:#3e5158}
.staffListHeader span{background:#eaf2ef;border-radius:16px;padding:5px 11px;color:#52736b;font-size:12px;font-weight:650}
.staffTableWrap{overflow-x:auto;width:100%}
.staffTable{width:100%;border-collapse:collapse;font-size:14px;text-align:left;min-width:610px}
.staffTable th{padding:14px 24px;background:#f7f8f6;color:#6d7c82;font-size:12px;font-weight:650}
.staffTable td{padding:16px 24px;border-top:1px solid #eff1ef;color:#374750}
.staffTable th:last-child,.staffTable td:last-child{text-align:right}
.staffMono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#5c6a71!important}
.staffStatus{font-size:12px;padding:5px 9px;border-radius:20px;font-weight:650;white-space:nowrap}
.staffStatus.active{background:#e7f3ed;color:#407459}.staffStatus.inactive{background:#f0f0ee;color:#7b8284}
.staffEdit{color:#446979;text-decoration:none;border-bottom:1px solid #bcd0d4;font-weight:630;white-space:nowrap}
.staffEdit:hover{color:#294a57}
.staffEmpty{padding:18px 24px;font-size:14px;color:#748288;margin:0;line-height:1.5}
.staffEditor{margin-top:26px}
.staffEditorHead{padding:26px 28px 20px;border-bottom:1px solid #edf0ee;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.staffEditorHead h2{font-size:23px;color:#30424a;margin:0;font-weight:650}
.staffEditorHead p{font-size:13px;color:#849197;margin:8px 0 0}
.staffClose{display:grid;place-items:center;text-decoration:none;width:36px;height:36px;border-radius:10px;background:#f0f3f2;color:#5d6d73;font-size:17px}
.staffClose:hover{background:#e5edeb}
.staffForm{padding:27px 28px 29px}
.staffFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:18px}
.staffFields label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#475a63;font-weight:650}
.staffFields input{width:100%;height:45px;border:1px solid #d7e0dd;border-radius:10px;font:inherit;font-size:14px;font-weight:400;padding:10px 13px;color:#283f4a;background:#fff;outline:none}
.staffFields input:focus{border-color:#7ca2a7;box-shadow:0 0 0 3px #7ca2a726}
.staffFields input::placeholder{color:#a0aaa9;font-size:13px}
.staffActive{margin-top:22px;display:flex;align-items:center;gap:10px;color:#4e6068;font-size:14px;font-weight:620}
.staffActive input,.branchCheck input,.rightRow input{accent-color:#527581;width:17px;height:17px;cursor:pointer}
.staffSection{padding-top:24px;margin-top:26px;border-top:1px solid #ecf0ec}
.staffSectionTitle{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:16px}
.staffSection h3{color:#304751;font-size:19px;font-weight:650;margin:0}
.staffSectionTitle p{color:#839095;margin:6px 0 0;font-size:13px}
.branchGrid{border:1px solid #e1e8e5;border-radius:13px;overflow:hidden}
.branchHeader,.branchRow{display:grid;grid-template-columns:minmax(0,1fr) 110px 110px;align-items:center;gap:12px;padding:11px 17px}
.branchHeader{background:#f2f6f4;color:#66767b;font-size:12px;text-align:center}
.branchHeader b:first-child{text-align:left}
.branchRow{border-top:1px solid #edf1ef;min-height:59px}
.branchRow:nth-child(odd){background:#fbfcfb}
.branchName strong{font-size:14px;color:#3c4d56;font-weight:620;display:block}
.branchName small{color:#89969a;font-size:12px;display:block;margin-top:2px}
.branchCheck{display:flex;align-items:center;justify-content:center}
.permissionToolbar{display:flex;gap:9px;flex-wrap:wrap}
.permissionToolbar button{background:#f5f8f7;border:1px solid #d7e3df;color:#496572;font-size:13px;font-weight:650;border-radius:9px;padding:10px 13px}
.permissionToolbar button:hover{background:#e7f0ee}
.rightsGroups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.rightsGroup{border:1px solid #e0e8e4;border-radius:13px;overflow:hidden;align-self:start}
.rightsGroup h4{background:#f3f7f5;color:#4f6871;margin:0;padding:13px 17px;font-size:14px;font-weight:680}
.rightsItems{padding:4px 0}
.rightRow{display:flex;align-items:flex-start;gap:11px;padding:10px 16px;color:#455963;font-size:13px;line-height:1.4;cursor:pointer}
.rightRow:hover{background:#f6f9f7}
.rightRow span:nth-child(2){flex:1;min-width:0}
.rightBit{font-size:11px;color:#9ba7a9;white-space:nowrap}
.staffFormFoot{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:30px}
.staffCancel{padding:12px 18px;text-decoration:none;font-size:14px;color:#5f727a}
.staffSave{background:#4a6776;border:0;border-radius:10px;padding:13px 23px;color:white;font-size:14px;font-weight:650}
.staffSave:hover{background:#395666}
.staffAlert{padding:14px 17px;border-radius:11px;font-size:14px;margin:0 0 19px;line-height:1.5}
.staffAlert.error{background:#fff0ef;color:#a23d3b;border:1px solid #f0c0bc}
.staffAlert.success{background:#eaf5ed;color:#387052;border:1px solid #c8dfcf}
.staffFooter{margin-top:auto}
.srOnly{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
@media(max-width:800px){.rightsGroups{grid-template-columns:1fr}.staffForm{padding:21px}.staffEditorHead{padding:22px}.staffTop h1{font-size:28px}}
@media(max-width:600px){.staffMain{padding:24px 13px 44px!important}.staffHeader{min-height:76px;height:auto}.staffBrand{width:125px;height:57px}.staffTop{align-items:start}.staffTop h1{font-size:25px}.staffTop p{font-size:12px}.staffCreate{font-size:12px;padding:10px 12px;min-height:39px}.staffFields{grid-template-columns:1fr;gap:16px}.branchHeader,.branchRow{grid-template-columns:minmax(0,1fr) 78px 78px;gap:5px;padding:11px 9px}.branchHeader{font-size:11px}.staffEditorHead{padding:20px}.staffForm{padding:19px}.staffSectionTitle{align-items:start}.permissionToolbar{width:100%}.permissionToolbar button{flex:1}.staffSigned{display:none}.staffBack{padding:9px 12px;font-size:12px}}
