/* V41 · Directorio administrativo: claridad visual y aprobación por lotes */
.ci-v41-users-dashboard{padding:clamp(18px,2.4vw,30px)!important;overflow:hidden}
.ci-v41-users-head{display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:22px}
.ci-v41-users-head h2{margin:6px 0 12px;font:850 clamp(23px,2.6vw,31px)/1.15 Outfit,system-ui,sans-serif;color:#003049}
.ci-v41-users-head p{color:#607a8c;font-size:13px;line-height:1.7;max-width:660px;margin:0}
.ci-v41-security-note{border-radius:100px;border:1px solid #c6e6d5;background:#effaf3;color:#1c6842;padding:8px 12px;font-size:11px;font-weight:750;white-space:nowrap}
.ci-v41-users-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:17px}
.ci-v41-users-stats>div{display:flex;flex-direction:column;gap:7px;background:#f4f9fc;border:1px solid #dce9f1;padding:15px 17px;border-radius:13px;min-width:0}
.ci-v41-users-stats small{font-size:11px;font-weight:700;color:#547286}
.ci-v41-users-stats strong{font:850 27px Outfit,system-ui,sans-serif;color:#003049}
.ci-v41-users-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:11px;margin:20px 0 14px}
.ci-v41-users-toolbar label{display:grid;gap:7px;font-size:11px;font-weight:800;color:#385d75;flex:1 1 190px}
.ci-v41-users-toolbar input,.ci-v41-users-toolbar select{width:100%;min-height:43px;padding:9px 11px;background:#fff;border:1px solid #cbdce7;border-radius:10px;color:#003049;font:500 13px system-ui,sans-serif}
.ci-v41-users-toolbar button{min-height:43px;white-space:normal}
.ci-v41-users-bulk{display:flex;align-items:center;flex-wrap:wrap;gap:11px;padding:13px 15px;background:#f5f9fc;border:1px solid #dfeaf1;border-radius:12px;margin-bottom:12px}
.ci-v41-users-bulk .ci-check{margin-right:auto;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#003049}
.ci-v41-users-bulk input{accent-color:#003049}
.ci-v41-users-bulk>span{font-size:12px;font-weight:700;color:#527185}
.ci-v41-users-note{font-size:12px;line-height:1.7;color:#648094;margin:0 0 18px}
.ci-v41-users-table{overflow:auto;border:1px solid #dfebf2;border-radius:12px;max-width:100%}
.ci-v41-users-table table{width:100%;border-collapse:collapse;min-width:920px}
.ci-v41-users-table thead{background:#edf5f9;position:sticky;top:0;z-index:1}
.ci-v41-users-table th{color:#466c81;font-size:10px;letter-spacing:.045em;text-transform:uppercase;font-weight:850;padding:13px 12px}
.ci-v41-users-table td{padding:12px;vertical-align:middle;font-size:12px;border-bottom:1px solid #eef2f5}
.ci-v41-users-table tbody tr:last-child td{border-bottom:0}
.ci-v41-users-table tbody tr:hover{background:#f9fcfe}
.ci-v41-users-table td:nth-child(2) strong{display:block;color:#003049;font-size:12px;font-weight:850;margin-bottom:3px}
.ci-v41-users-table td:nth-child(2) small{font-size:11px;color:#6c8799;overflow-wrap:anywhere}
.ci-v41-user-pick{text-align:center;width:90px}
.ci-v41-user-pick input{accent-color:#003049;width:16px;height:16px}
.ci-v41-users-table td:last-child{min-width:208px}
.ci-v41-users-table td:last-child button{padding:8px 10px;margin:2px;font-size:11px}
.ci-v41-users-table td:last-child label{font-size:10px}
.ci-v41-users-table .ci-v12-pill{white-space:nowrap}
.ci-v41-users-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding-top:14px}
.ci-v41-users-footer p{margin:0;font-size:12px;flex:1 1 240px}
.ci-v41-users-footer .ci-v12-controls{margin:0;display:flex;align-items:center;gap:9px}
#v41-users-page-label{font-size:12px;color:#557589;white-space:nowrap}
.ci-v41-secretary-notice{width:min(900px,calc(100% - 40px));margin:25px auto;padding:24px;border:1px solid #d8e7f1;background:#f6fbfd;border-radius:14px;color:#003049}
.ci-v41-secretary-notice p{font-size:14px;color:#56768a;margin:9px 0}
.ci-v41-secretary-notice a{font-size:13px;font-weight:800;text-decoration:underline}
@media(max-width:900px){.ci-v41-users-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ci-v41-users-head{flex-direction:column}}
@media(max-width:560px){.ci-v41-users-stats{gap:8px}.ci-v41-users-stats>div{padding:12px}.ci-v41-users-bulk{align-items:stretch;flex-direction:column}.ci-v41-users-bulk button{width:100%}.ci-v41-users-toolbar label{flex-basis:100%}.ci-v41-users-toolbar button{width:100%}}

/* V48 · Acciones de usuarios compactas y centralizadas en un diálogo */
.ci-v41-users-table{overflow-x:auto;overflow-y:visible;border:1px solid #d9e7ef;border-radius:15px;background:#fff;box-shadow:0 6px 20px rgba(0,48,73,.03)}
.ci-v41-users-table table{table-layout:fixed;min-width:920px;width:100%}
.ci-v41-users-table th{white-space:normal;word-break:normal;line-height:1.25;padding:14px 10px}
.ci-v41-users-table td{padding:14px 10px;line-height:1.5;overflow-wrap:anywhere}
.ci-v41-users-table th:nth-child(1){width:65px}
.ci-v41-users-table th:nth-child(2){width:21%}
.ci-v41-users-table th:nth-child(3){width:11%}
.ci-v41-users-table th:nth-child(4){width:23%}
.ci-v41-users-table th:nth-child(5){width:12%}
.ci-v41-users-table th:nth-child(6){width:13%}
.ci-v41-users-table th:nth-child(7){width:140px}
.ci-v41-users-table td:last-child{min-width:0!important;white-space:normal}
.ci-v41-users-table td:nth-child(2) strong{font-size:13px;line-height:1.3}
.ci-v41-users-table td:nth-child(2) small{display:block;font-size:11px;line-height:1.5}
.ci-v48-row-actions{display:grid;gap:7px;align-items:center}
.ci-v48-row-actions .ci-v12-btn{margin:0!important;width:100%;font-size:11px;min-height:35px;padding:8px 10px}
.ci-v48-permissions-trigger{border:1px solid #bed8e5!important;background:#f5fafc!important}
.ci-v48-permissions-dialog{padding:0;max-height:88vh;overflow-y:auto;border:1px solid #d3e5ee;border-radius:19px;width:min(560px,calc(100% - 28px));background:#fff;color:#003049;box-shadow:0 24px 100px rgba(0,31,49,.35)}
.ci-v48-permissions-dialog::backdrop{background:rgba(0,31,49,.72)}
.ci-v48-permissions-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:26px 28px 16px;border-bottom:1px solid #e3ebf0}
.ci-v48-permissions-head h2{font:850 clamp(22px,3vw,28px)/1.15 Outfit,system-ui,sans-serif;color:#003049;margin:8px 0}
.ci-v48-permissions-head p{font-size:12px;color:#628198;overflow-wrap:anywhere;margin:0}
.ci-v48-permissions-close{border:0;background:#edf5fa;color:#003049;border-radius:100%;width:36px;height:36px;cursor:pointer;font-size:24px;flex:none}
.ci-v48-permissions-help{margin:18px 27px 0;border:1px solid #d6e5ed;border-radius:11px;padding:12px 14px;font-size:12px;color:#54748b;line-height:1.65;background:#f6fafc}
.ci-v48-role-grid{display:grid;gap:13px;padding:20px 27px}
.ci-v48-role-grid>label{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;background:#fff;border:1px solid #dce8f0;padding:13px 14px;border-radius:12px;line-height:1.5;min-width:0;font-size:12px!important;color:#174a65!important}
.ci-v48-role-grid>label input{flex:none;accent-color:#003049;width:17px;height:17px}
.ci-v48-role-grid>button{justify-self:stretch;width:100%;margin:0!important;min-height:42px}
.ci-v48-permissions-footer{padding:0 27px 24px;display:flex;justify-content:flex-end}
.ci-v48-permissions-footer button{min-width:115px}
@media(max-width:1100px){.ci-v41-users-table table{min-width:910px}.ci-v41-users-table td{font-size:11px}.ci-v41-users-table td:nth-child(2) strong{font-size:12px}}
