#native-current-status{padding:10px 12px;margin:12px 0;border-left:3px solid #00a8a8;background:#edf8f8;color:#24646b}#native-current-status[data-state=stale],#native-current-status[data-state=snapshot]{border-color:#e6a23c;background:#fff8e6;color:#805416}.client-list-cost,.client-list-origin{display:block;font-size:11px;line-height:1.4;margin-top:3px;color:#5d7084}.client-list-origin{color:#8a6615}

/* Keep the row controls in view while the rest of Usuarios scrolls. */
.app-shell .client-users-table{position:relative;overflow:auto;max-width:100%}
.app-shell .client-users-table th:last-child,.app-shell .client-users-table td.client-row-actions{position:sticky;right:0;z-index:2;min-width:142px;width:142px;background:#f8faff!important;box-shadow:-3px 0 5px #152d5017}
.app-shell .client-users-table thead th:last-child{z-index:3;background:#edf2fa!important}
.app-shell .client-users-table .client-row-actions>button{width:26px!important;height:30px!important;min-height:30px!important;padding:4px!important;margin:0!important;background:transparent!important;color:#334e68!important;display:inline-flex;align-items:center;justify-content:center}
.app-shell .client-users-table .client-row-actions>button svg{width:18px!important;height:18px!important;min-height:0!important;max-height:18px!important;flex:none}
.app-shell .client-users-table .client-row-actions>button:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}
.app-shell .client-users-table .client-row-actions>button:disabled{opacity:.38;cursor:not-allowed}
.app-shell .client-users-table .client-column-filters input,.app-shell .client-users-table .client-column-filters select{width:100%;min-width:45px;box-sizing:border-box}
.app-shell .client-users-table .client-ip-link{color:#176ba5;text-decoration:underline;cursor:pointer;position:relative;z-index:1}
.client-user-dialog{width:min(620px,calc(100vw - 36px));max-height:calc(100dvh - 40px);overflow:auto;padding:24px;border:1px solid #ced9e9;border-radius:14px;color:#27445f;background:white;box-sizing:border-box}
.client-user-dialog::backdrop{background:#10213a80}
.client-user-dialog h2{font-size:18px;margin-top:0}.client-user-dialog label{display:block;margin:16px 0}.client-user-dialog textarea{display:block;width:100%;box-sizing:border-box;min-height:90px}.client-user-dialog input[type=checkbox]{width:auto;margin-right:8px}.client-user-dialog button{padding:9px 12px;border:1px solid #aabbda;border-radius:6px;background:#f4f7ff;color:#233e5b;cursor:pointer;margin:5px}.client-user-tools{display:flex;flex-wrap:wrap;gap:4px}
.app-shell:has(.reference-menu) #native-client-nav{display:none!important}

.client-delete-dialog{width:min(620px,calc(100vw - 32px));border:0;background:#35485c;color:#fff;text-align:center;padding:30px;border-radius:12px;box-shadow:0 20px 80px #07162680}.client-delete-dialog::backdrop{background:#263d57d9}.client-delete-dialog h2{font-size:25px;font-weight:500;letter-spacing:.02em}.client-delete-dialog h2::before{content:'?';display:inline-grid;place-items:center;border:3px solid #00bbf2;border-radius:50%;color:#00bbf2;width:29px;height:29px;margin-right:9px;font-weight:700}.client-delete-dialog p{line-height:1.55;font-size:14px}.client-delete-name,.client-delete-warning{color:#ffb536}.client-delete-dialog form{text-align:left;margin-top:24px}.client-delete-dialog label{font-size:13px}.client-delete-dialog textarea,.client-delete-dialog input[type=text]{background:#fff;color:#16324b;padding:10px;border-radius:5px;border:1px solid #c4d1dd}.client-delete-dialog .client-delete-switch{display:flex;justify-content:center;align-items:center;gap:20px;font-weight:600}.client-delete-switch input[role=switch]{appearance:none;position:relative;width:54px;height:28px;border-radius:20px;background:#708297;cursor:pointer;margin:0}.client-delete-switch input[role=switch]::before{content:'';display:block;width:22px;height:22px;border-radius:50%;background:white;position:absolute;left:3px;top:3px;transition:transform .15s}.client-delete-switch input[role=switch]:checked{background:#209cf2}.client-delete-switch input[role=switch]:checked::before{transform:translateX(26px)}.client-delete-switch input[role=switch]:disabled{opacity:.45;cursor:not-allowed}.client-delete-dialog button:disabled{opacity:.5;cursor:not-allowed}.client-delete-actions{display:flex;gap:12px;justify-content:center}.client-delete-actions button[type=submit]{background:#147bc1;border-color:#147bc1;color:#fff}.client-delete-dialog [role=status]{color:#ffda92}.client-delete-dialog [role=switch]:focus-visible{outline:3px solid #b4e6ff;outline-offset:4px}@media(prefers-reduced-motion:reduce){.client-delete-switch input[role=switch]::before{transition:none}}

/* Touch screens: action cells must scroll with their row, never cover a customer link. */
@media(max-width:950px){.app-shell .client-users-table th:last-child,.app-shell .client-users-table td.client-row-actions{position:static!important;right:auto;z-index:auto!important;box-shadow:none;min-width:248px;width:248px}.app-shell .client-users-table .client-row-actions>button{width:44px!important;height:44px!important;min-height:44px!important}}

/* Keep page length first regardless of legacy positional toolbar rules. */
.app-shell .client-list-view #native-search>label:has(select[name=size]){order:-1;width:140px;min-width:140px;flex:0 0 140px;margin:0}
.app-shell .client-list-view #native-search>label:has(select[name=scope]){order:5;width:190px;min-width:0;flex:0 1 190px;margin:0}
.app-shell .client-list-view #native-search>label:has(input[name=q]){order:7;width:285px;min-width:0;flex:0 1 285px;margin-left:auto}
.app-shell .client-list-view #native-search select[name=size]{background:#fff;color:#263746;border:1px solid #d5dbe1;border-radius:3px;cursor:pointer}
@media(max-width:700px){.app-shell .client-list-view #native-search>label:has(input[name=q]){width:100%;flex-basis:100%;margin-left:0}}

/* Usuarios reference: Open Sans, azure title and compact neutral rows. */
body:has(.reference-users:not([hidden])),.app-shell:has(.reference-users:not([hidden])){background:#d9e0e7!important}
.app-shell section.reference-users{border-radius:3px!important;background:#fff!important;padding:15px!important;box-shadow:none!important;border:0!important;color:#333!important;font-family:'Open Sans',sans-serif!important}
.app-shell section.reference-users>h2:first-child{background:#2196f3!important;background-image:none!important;color:white!important;font:600 12px/18px 'Open Sans',sans-serif!important;border-radius:3px 3px 0 0!important;margin:-15px -15px 15px!important;padding:10px 15px!important;letter-spacing:0!important}
.app-shell section.reference-users .client-users-table table{font:400 11px/16.5px 'Open Sans',sans-serif!important;width:max-content!important;min-width:100%;table-layout:auto!important;color:#333!important}
.app-shell section.reference-users .client-users-table th,.app-shell section.reference-users .client-users-table td{font:400 11px/16.5px 'Open Sans',sans-serif!important;padding:4px 7px!important;border:1px solid #e2e7eb!important;color:#333!important;border-radius:0!important}
.app-shell section.reference-users .client-users-table thead th{background:#fff!important}
.app-shell section.reference-users .client-users-table tbody tr:nth-child(4n+1)>td{background:#f2f3f4!important}
.app-shell section.reference-users .client-users-table tbody tr:nth-child(4n+3)>td{background:#fff!important}
.app-shell section.reference-users .native-client-link{font:400 11px/16.5px 'Open Sans',sans-serif!important;color:#333!important;text-decoration:none}
.app-shell section.reference-users .client-users-table [data-column-key=name]{min-width:205px}
.app-shell section.reference-users .client-users-table [data-column-key=plan]{min-width:205px}
.app-shell section.reference-users .client-users-table [data-column-key=actions]{min-width:130px}
.app-shell section.reference-users .client-users-table [data-column-key]:not([data-column-key=selection]):not([data-column-key=actions]):not([data-column-key=name]):not([data-column-key=plan]){min-width:65px}
.app-shell section.reference-users .client-list-tools{gap:0!important;align-items:center!important}
.app-shell section.reference-users #native-search>label:has(select[name=size]){order:-30;margin-right:0}
.app-shell section.reference-users #native-search .client-columns-picker{order:-20;border-radius:0;margin:0;background:white;border:1px solid #d5dbe1;border-left:0}
.app-shell section.reference-users #native-list-export{order:-10}
.app-shell section.reference-users #native-search .client-columns-picker>summary{padding:9px 12px;min-height:34px;height:34px;box-sizing:border-box;border:0;border-radius:0;color:#333;background:#fff;display:flex;align-items:center;justify-content:center}
.app-shell section.reference-users .client-columns-picker>summary svg{width:13px!important;height:13px!important;min-height:13px!important;max-height:13px!important;display:block;flex:none}
.app-shell section.reference-users .client-columns-picker>summary::marker,.app-shell section.reference-users .client-columns-picker>summary::-webkit-details-marker{display:none}
.app-shell section.reference-users .client-columns-picker>.client-columns-options{width:190px;padding:8px 0;max-height:min(650px,calc(100dvh - 110px));overflow:auto;box-sizing:border-box;background:white;border:0;border-radius:0;box-shadow:0 6px 12px #0003;z-index:40;overscroll-behavior:contain}
.app-shell section.reference-users .client-columns-options>label{font:400 12px/20px 'Open Sans',sans-serif!important;color:#333!important;display:flex;align-items:center;gap:8px;margin:0!important;padding:4px 15px!important;min-height:28px;box-sizing:border-box;white-space:nowrap;cursor:pointer}
.app-shell section.reference-users .client-columns-options>label:hover{background:#f5f5f5}
.app-shell section.reference-users .client-columns-options input[type=checkbox]{appearance:auto!important;width:11px!important;height:11px!important;min-height:11px!important;margin:0!important;accent-color:#555!important;border-radius:0!important;flex:none}
.app-shell section.reference-users .client-list-tools input,.app-shell section.reference-users .client-list-tools select,.app-shell section.reference-users .client-column-filters input,.app-shell section.reference-users .client-column-filters select{font:400 12px/18px 'Open Sans',sans-serif!important;border:1px solid #d5dbe1!important;border-radius:3px!important;color:#333!important;box-shadow:none!important;background:#fff!important;min-height:34px!important;height:34px!important;padding:6px 10px!important}
.app-shell section.reference-users .client-list-tools>button{font:400 12px/18px 'Open Sans',sans-serif!important;border-radius:3px!important;height:34px!important;min-height:34px!important;background:#fff!important;color:#333!important;box-shadow:none!important}
.app-shell section.reference-users #native-list-new{background:#fff!important;color:#333!important;border-color:#b6c2cc!important}
.app-shell section.reference-users .client-expand{background:#2196f3!important;border:0!important;color:white!important;width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;vertical-align:middle}
.app-shell section.reference-users .client-state{font:600 9px/12px 'Open Sans',sans-serif!important;border-radius:3px!important;padding:3px 5px!important}
.app-shell section.reference-users .client-state[data-connection=online]{background:#00acac!important;color:#fff!important}
.app-shell section.reference-users .client-state[data-connection=offline]{background:#ff5b57!important;color:#fff!important}
.app-shell section.reference-users .client-column-filters input{width:100px!important;min-width:0!important}
.app-shell section.reference-users .client-column-filters [data-column-key=zone] input{width:55px!important}
.app-shell section.reference-users .client-column-filters [data-column-key=id] input{width:36px!important}
.app-shell section.reference-users .client-column-filters [data-column-key=name] input,.app-shell section.reference-users .client-column-filters [data-column-key=plan] input{width:190px!important}
.app-shell section.reference-users .client-column-filters [data-column-key=ppp_user] input{width:105px!important}
.app-shell section.reference-users .client-column-filters [data-column-key=ip] input{width:80px!important}
.app-shell section.reference-users .client-column-filters [data-column-key=router] input{width:160px!important}
.app-shell section.reference-users .client-list-cost{display:none}
.app-shell section.reference-users .client-users-table thead tr:first-child th{text-transform:uppercase!important}
.app-shell section.reference-users .client-expand{display:inline-block!important;margin:0 4px 0 0!important;line-height:16px!important}
.app-shell section.reference-users .client-row-check{display:inline-block!important;vertical-align:middle!important;width:13px!important;height:13px!important;min-height:13px!important;margin:0!important;padding:0!important}
@media(min-width:951px){.app-shell section.reference-users .client-users-table .client-row-actions>button{width:22px!important;height:22px!important;min-height:22px!important;padding:2px!important}.app-shell section.reference-users .client-users-table .client-row-actions>button svg{width:16px!important;height:16px!important}}
@media(max-width:700px){.app-shell section.reference-users .client-columns-picker>.client-columns-options{max-height:max(120px,calc(100dvh - 300px));width:190px;left:auto;right:0}.app-shell section.reference-users .client-columns-options>label{min-height:34px!important}}

.app-shell section.reference-users .client-exports-picker{order:-10;position:relative;border:1px solid #d5dbe1;border-left:0;background:#fff;align-self:center}
.app-shell section.reference-users .client-exports-picker>summary{list-style:none;display:flex;align-items:center;justify-content:center;width:38px;height:34px;padding:0;box-sizing:border-box;cursor:pointer;color:#333}
.app-shell section.reference-users .client-exports-picker>summary::-webkit-details-marker{display:none}
.app-shell section.reference-users .client-exports-picker svg,.app-shell section.reference-users #native-list-more svg,.app-shell section.reference-users #native-list-suspend svg{width:15px!important;height:15px!important;min-height:15px!important;max-height:15px!important;display:block;flex:none}
.app-shell section.reference-users .client-exports-picker>div{position:absolute;top:100%;left:0;width:160px;padding:8px 0;background:#fff;box-shadow:0 6px 12px #0003;z-index:45}
.app-shell section.reference-users .client-exports-picker button{display:block;width:100%;border:0!important;border-radius:0!important;background:white!important;color:#333!important;text-align:left;font:400 12px/20px 'Open Sans',sans-serif!important;padding:4px 15px!important;margin:0!important;min-height:28px!important;cursor:pointer}
.app-shell section.reference-users .client-exports-picker button:hover{background:#f5f5f5!important}
.app-shell section.reference-users #native-list-more{order:-9;padding:8px 10px!important;margin:0!important;border-radius:0!important}
.app-shell section.reference-users #native-list-suspend{order:-8;padding:8px 10px!important;margin:0!important;border-radius:0!important}
.client-bulk-dialog{position:fixed;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:0;background:transparent;color:white;text-align:center;padding:26px;box-shadow:none;box-sizing:border-box;font:12px/1.5 'Open Sans',sans-serif}
.client-bulk-dialog::backdrop{background:#263d57d9}
.client-bulk-dialog h2{font:400 24px/32px 'Open Sans',sans-serif;color:#fff;margin:0 0 20px}
.client-bulk-dialog h2::before{content:'?';display:inline-grid;place-items:center;width:28px;height:28px;border:3px solid #00bbf2;border-radius:50%;font-weight:600;color:#00bbf2;margin-right:8px;vertical-align:middle}
.client-bulk-dialog p{color:#fff;font:12px/1.5 'Open Sans',sans-serif;overflow-wrap:anywhere}
.client-bulk-dialog button{font:600 14px/20px 'Open Sans',sans-serif;background:#2e4054;color:#fff;border:0;border-radius:2px;padding:10px 12px;cursor:pointer;margin:5px}
.client-bulk-dialog button:disabled{opacity:.5;cursor:not-allowed}.client-bulk-dialog .client-bulk-close{position:absolute;right:0;top:0;background:transparent;color:#bec7d1;font-size:26px;padding:0 6px}
.client-bulk-dialog .client-bulk-confirm::before{content:'⊘';color:#00bbf2;margin-right:6px}
.client-bulk-dialog [role=status]{color:#c8ecff}.client-bulk-dialog [hidden]{display:none!important}
@media(max-width:700px){.client-bulk-dialog{padding:20px 10px}.client-bulk-dialog button{min-height:44px}.app-shell section.reference-users .client-exports-picker button{min-height:38px!important}}
@media(max-width:700px){.app-shell section.reference-users .client-exports-picker>div{left:auto;right:0}}

/* User-list pagination aligned with the reference; keep controls usable on phones. */
#native-list .client-list-footer,.client-list-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:24px;color:#707e8c;font-size:12px}
.client-list-pagination,#native-pages{display:flex;align-items:center;gap:4px}
.client-list-pagination button{min-width:34px;height:34px;padding:6px 10px!important;margin:0!important;border:1px solid #ccd5df!important;border-radius:4px!important;background:#fff!important;color:#708399!important;font-size:13px!important;font-weight:400!important;box-shadow:none!important}
.client-list-pagination button[aria-current="page"]{background:#348fe2!important;color:white!important;border-color:#348fe2!important;opacity:1!important}
.client-list-pagination button:disabled:not([aria-current]){color:#abb9c7!important;cursor:default}
.client-page-gap{display:inline-flex;min-width:32px;height:34px;align-items:center;justify-content:center;border:1px solid #ccd5df;border-radius:4px;background:white}
@media(max-width:600px){.client-list-footer{gap:12px}.client-list-pagination{max-width:100%;flex-wrap:wrap}.client-list-pagination button{min-width:30px;padding:5px 8px!important}}

/* Reorder only data columns; selection and actions stay anchored. */
.client-users-table thead th[draggable=true]{cursor:grab}.client-users-table thead th.column-dragging{opacity:.45}.client-users-table thead th.column-drop-target{box-shadow:inset 3px 0 #2196f3;background:#eaf5ff}.client-users-table thead th[draggable=true]:focus-visible{outline:2px solid #2196f3;outline-offset:-2px}

.app-shell section.reference-users>h2:first-child{line-height:20px!important}
.app-shell section.reference-users #native-search #nx-user-advanced[hidden]{display:none!important}
.app-shell section.reference-users #native-search #nx-user-advanced{order:-100;flex:0 0 100%;box-sizing:border-box;border:0;padding:0 0 18px;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;background:white;color:#333}
.app-shell section.reference-users #nx-user-advanced legend{font:600 21px/25.2px 'Open Sans',sans-serif;margin:0 0 12px;padding:0;width:100%}
.app-shell section.reference-users #nx-user-advanced label{display:flex!important;flex-direction:column;gap:8px;min-width:0;font-size:12px}
.app-shell section.reference-users #nx-user-advanced label>*{width:100%!important;box-sizing:border-box}
.app-shell section.reference-users #nx-user-advanced button{justify-self:start;background:#2196f3!important;color:white!important;border:0!important;padding:8px 12px}
.app-shell section.reference-users #native-search>label:has(select[name=state]){order:4!important;margin-left:0!important}
.app-shell section.reference-users #native-list-new{order:2!important}.app-shell section.reference-users #native-filter-toggle{order:3!important}
.app-shell section.reference-users #native-search>label:has(input[name=q]){order:6!important}
@media(max-width:500px){.app-shell section.reference-users #native-search #nx-user-advanced{grid-template-columns:1fr}}
