/* V614 Branch Admin User + Custom Rights */
.v614-denied{display:none!important}
.v614-branch-fixed{display:none!important}
.v614-rights{grid-column:1/-1;border:1px solid #dbe7ef;background:#f8fbfd;border-radius:14px;padding:14px}
.v614-rights-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.v614-rights-head b{display:block;font-size:14px;color:#18364d}.v614-rights-head small{display:block;margin-top:3px;color:#74889a;font-weight:600}.v614-rights-head button{border:1px solid #cbdbe7;background:#fff;border-radius:8px;padding:7px 11px;color:#4a6174;font-weight:800}
.v614-right-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v614-right-grid fieldset{border:1px solid #d9e5ed;border-radius:11px;padding:10px;background:#fff}.v614-right-grid legend{padding:0 7px;font-size:11px;font-weight:900;color:#27618d;text-transform:uppercase;letter-spacing:.04em}
.v614-check{display:flex!important;align-items:flex-start;gap:8px;padding:7px 5px;border-radius:8px;cursor:pointer}.v614-check:hover{background:#f4f9fc}.v614-check input{width:17px!important;height:17px!important;margin:1px 0 0!important;flex:0 0 auto}.v614-check span{display:block}.v614-check b{display:block;font-size:11px;color:#293f51}.v614-check small{display:block;font-size:9px;color:#8a9aa7;margin-top:2px;font-weight:500}.v614-note{margin-top:10px;border-radius:9px;padding:9px 10px;background:#eef7ff;color:#2a628d;font-size:10px;font-weight:750}
.v614-save-msg{grid-column:1/-1;padding:10px 12px;border-radius:9px;font-weight:800;background:#fff1f2;color:#b42318;border:1px solid #fecdd3}.v614-save-msg.ok{background:#ecfdf3;color:#067647;border-color:#abefc6}
.v614-table th:nth-child(3){min-width:150px}.v614-table th:nth-child(5){min-width:165px}.v614-viewonly{font-size:10px;color:#788b98;font-weight:800}.v614-error,.v614-empty{padding:18px!important;text-align:center;color:#8a5260;font-weight:800}
body.v614-custom-admin #branchesTab,body.v614-custom-admin #referenceSidebar [data-view="branches"]{display:none!important}
@media(max-width:760px){.v614-right-grid{grid-template-columns:1fr}.v614-rights{padding:10px}.v614-rights-head{align-items:flex-start;flex-direction:column}}
.v614-activity-modal{position:fixed;inset:0;z-index:2147483000;background:rgba(9,25,38,.58);display:none;align-items:center;justify-content:center;padding:18px}.v614-activity-modal.open{display:flex}.v614-activity-box{width:min(900px,96vw);max-height:88vh;overflow:hidden;background:#fff;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.25)}.v614-activity-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 18px;border-bottom:1px solid #e5edf3}.v614-activity-head b{display:block;font-size:17px;color:#18364d}.v614-activity-head small{display:block;color:#8293a1;margin-top:3px}.v614-activity-head button{width:34px;height:34px;border:0;border-radius:9px;background:#eef3f7}.v614-activity-list{max-height:70vh;overflow:auto;padding:10px 14px 16px}.v614-activity-row{display:grid;grid-template-columns:1fr 1.2fr;gap:14px;padding:11px 6px;border-bottom:1px solid #edf2f5}.v614-activity-row b{display:block;color:#24465f;font-size:12px}.v614-activity-row span{display:block;font-weight:800;color:#536b7d;font-size:11px}.v614-activity-row small{display:block;margin-top:3px;color:#8a9aa7;font-size:9px;overflow-wrap:anywhere}@media(max-width:650px){.v614-activity-row{grid-template-columns:1fr}}
#branchesPanel .v614-branch-users-btn{background:#f0f8f2!important;border-color:#bfe0c8!important;color:#287947!important;min-width:105px!important}
#branchesPanel .v614-branch-users-btn:hover{background:#e4f5e9!important;border-color:#93cca3!important}
