/* 052 · Revisión 4. Se conserva la interfaz original; solo cambia el listado inferior. */
body[data-portal=administradores] [hidden]{display:none!important}
.admin-demo-banner-052{padding:7px 16px;background:#f6f7f9;color:#515b67;border-bottom:1px solid #e0e3e8;text-align:center;font:500 13px/1.5 system-ui,sans-serif}
.admin-filters-052{display:grid;grid-template-columns:minmax(140px,1fr) minmax(200px,1.3fr) minmax(145px,1fr) auto auto;gap:10px;align-items:end;margin:0 0 20px;padding:14px 0;border-top:1px solid #e2e5e9;border-bottom:1px solid #e2e5e9}
.admin-filters-052>div,.table-toolbar-052>div{min-width:0}
.table-toolbar-052{display:contents}
body[data-admin-section=clientes] .admin-filters-052{grid-template-columns:minmax(220px,440px)}
.admin-filters-052 label{display:block;font:600 13px/1.5 system-ui,sans-serif;color:#535d6b;margin:0 0 6px}
.admin-filters-052 :is(select,input){width:100%;min-width:0;min-height:42px;border:1px solid #c4cad3;border-radius:4px;background:#fff;color:#303741;padding:8px 10px;font:400 16px/1.4 system-ui,sans-serif;margin:0}
.admin-filters-052 .btn{font:500 14px/1.45 system-ui,sans-serif;min-height:42px;padding:8px 11px;border:1px solid #c4cad3;border-radius:4px;background:white;color:#414b58;white-space:nowrap}
.table-more-filters-052{position:relative;align-self:end}
.table-more-filters-052>summary{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 10px;border:1px solid #c4cad3;border-radius:4px;background:white;color:#414b58;cursor:pointer;list-style:none;white-space:nowrap;font:500 14px/1.45 system-ui,sans-serif}
.table-more-filters-052>summary::-webkit-details-marker{display:none}
.table-more-filters-052>summary::after{content:'⌄'}
.table-more-panel-052{position:absolute;right:0;top:calc(100% + 8px);z-index:5;width:265px;background:white;border:1px solid #c4cad3;border-radius:4px;padding:16px;box-shadow:0 5px 16px #26344514}
.table-more-panel-052 .btn{margin-top:12px;width:100%}
/* Hoja: encabezados fijos, cuadrícula suave, filas legibles y compactas. */
body[data-portal=clientes] #guest-records{display:block;min-width:0;margin:0}
body[data-portal=clientes] #guest-records .admin-table-052{min-width:800px}
body[data-portal=clientes] #guest-records .guest-table-empty{text-align:center;white-space:normal;padding:28px 18px;color:#626d7b;font-size:15px}
body[data-portal=administradores] .records{display:block;margin:0}
.table-summary-052{display:none}
.table-scroll-hint-052{display:block;font-size:13px;color:#626b76;margin:0 0 10px}
.admin-table-scroll-052{width:100%;max-width:100%;max-height:640px;overflow:auto;border:1px solid #cdd3db;border-radius:0;background:#fff;isolation:isolate;scrollbar-width:auto;scrollbar-color:#b7bec8 #f2f3f5}
.admin-table-052{width:100%;min-width:1070px;border-spacing:0;border-collapse:separate;background:#fff;color:#303741;text-align:left;table-layout:auto;font:400 16px/1.45 system-ui,sans-serif}
body[data-admin-section=clientes] .admin-table-052{min-width:740px}
body[data-admin-section=eliminar-clientes] .admin-table-052{min-width:710px}
.admin-table-052 th{position:sticky;top:0;z-index:2;background:#f2f4f6;color:#424c58;border-bottom:1px solid #bbc3ce;border-right:1px solid #d7dce3;padding:12px 11px;font-size:14px;line-height:1.5;font-weight:650;white-space:nowrap}
.admin-table-052 th:last-child{border-right:0}
.admin-table-052 td{padding:11px;border-right:1px solid #e1e5ea;border-bottom:1px solid #dce1e7;vertical-align:middle;line-height:1.5;background:#fff}
.admin-table-052 td:last-child{border-right:0}
.admin-table-052 tr:last-child td{border-bottom:0}
.admin-table-052 tbody tr:nth-child(even) td{background:#fafbfc}
.admin-table-052 tbody tr:hover td{background:#f4f6fa}
.admin-table-052 tbody tr.is-selected td{background:#f6e9ec}
.admin-table-052 :is(td,th):first-child{min-width:42px;width:42px;text-align:center;background:#f5f6f8;color:#5a6675;padding:11px 8px;font-size:13px;font-variant-numeric:tabular-nums}
.admin-table-052 th:first-child{font-size:14px}
.table-caption-052{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.table-copy-052{display:block;min-width:135px;max-width:240px;overflow-wrap:anywhere}
.table-copy-052 strong{display:block;color:#2c343f;font-size:17px;font-weight:600;line-height:1.4}
.table-copy-052 small{display:block;color:#626d7b;font-size:14px;line-height:1.5;margin-top:2px}
.table-folio-052{display:block;white-space:nowrap}
.table-folio-052 code{font:500 14px/1.5 ui-monospace,Consolas,monospace;color:#566373}
.table-status-052{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:4px 8px;border-radius:4px;background:#eef0f3;color:#4f5d6d;font-size:15px;font-weight:700;line-height:1.4;white-space:normal}
.table-status-052.status-green{background:#e9f5ec;color:#28603a}
.table-status-052.status-amber{background:#fff3d6;color:#76530d}
.table-status-052.status-blue{background:#eaf1fd;color:#315b94}
.table-status-052.status-red{background:#faeaed;color:#933c4e}
.table-status-052.status-slate{background:#eef0f3;color:#4f5d6d}
.admin-table-052 td:is([data-label=Pases],[data-label=Asistentes]){text-align:center;font-weight:600;font-variant-numeric:tabular-nums}
.table-actions-052{display:flex;align-items:center;flex-wrap:nowrap;gap:9px;min-width:102px}
.table-button-052{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:5px 0;border:0;border-radius:3px;background:transparent;color:#91424e;font:600 14px/1.4 system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.table-button-052:hover{text-decoration:underline;text-underline-offset:4px}
.table-action-menu-052>summary{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:5px 0;list-style:none;border:0;border-radius:3px;background:transparent;color:#596574;white-space:nowrap;cursor:pointer;font:500 14px/1.4 system-ui,sans-serif}
.table-action-menu-052>summary::-webkit-details-marker{display:none}
.table-action-menu-052>summary{min-width:30px;font-size:23px;line-height:1}
body[data-portal=administradores] .table-original-actions-052{display:flex;flex-direction:column;gap:6px;border:0;margin:6px 0 0;padding:0;min-width:0}
body[data-portal=administradores] .table-original-actions-052 .btn{font-size:14px;min-height:36px;padding:7px 9px}
.table-muted-052{font-size:14px;color:#626d7b}
.admin-table-052 .text-link{font-size:14px;font-weight:500;color:#91424e;text-underline-offset:4px;margin:0;white-space:nowrap}
.admin-table-052 td>.record-actions{border:0;margin:0;padding:0}
body[data-portal=administradores] .admin-table-052 td>.record-actions .btn{min-height:36px;font-size:14px;padding:7px 10px}
.table-check-052{display:inline-flex;align-items:center;justify-content:center;min-height:36px;min-width:36px;cursor:pointer}
.admin-table-052 input[type=checkbox]{width:19px;height:19px;accent-color:#a54b55;margin:0;cursor:pointer}
body[data-portal=administradores] .list-navigation{margin:0;padding:13px 0 0;gap:12px;border:0}
body[data-portal=administradores] .list-navigation>span{font-size:14px;color:#626d7b}
body[data-portal=administradores] .list-navigation .btn{font-size:14px;min-height:36px;padding:6px 11px}


/* Detalle completo de un registro: no se modifica la presentación superior. */
body[data-portal=administradores] .table-detail-052{width:min(790px,calc(100vw - 32px));max-height:88vh;padding:25px;border:1px solid #bcc4ce;border-radius:6px;background:#fff;font:400 16px/1.65 system-ui,sans-serif;color:#303741}
.table-detail-052 h2{font:600 24px/1.3 system-ui,sans-serif;margin:0;overflow-wrap:anywhere}
.table-detail-label-052{font-size:14px;color:#626d7b;margin:22px 0 8px}
.table-detail-folio-052{display:block;overflow-wrap:anywhere;padding:12px;background:#f5f6f8;border:1px solid #dce1e7;border-radius:3px;font:500 14px/1.7 ui-monospace,Consolas,monospace;color:#566373;margin-bottom:20px}
.table-detail-052 .record-card{border:0!important;background:transparent;padding:0;box-shadow:none}
.table-detail-052 .record-card>h3{font:600 21px/1.4 system-ui,sans-serif;margin-top:12px}
.table-detail-052 .record-card p{font:400 16px/1.8 system-ui,sans-serif;color:#57616d}
.table-detail-052 :is(.text-link,.record-badge,.event-form-details summary){font-size:15px}
.table-detail-052 .request-definition dt{font-size:14px}
.table-detail-052 .request-definition dd{font-size:16px}
.table-detail-052::backdrop{background:#242b3566}
body[data-admin-section=invitados] .admin-table-052,body[data-admin-section=respuestas] .admin-table-052{min-width:800px}
body[data-admin-section=eventos] .admin-table-052{min-width:900px;table-layout:fixed}
body[data-admin-section=eventos] .admin-table-052 th:nth-child(1){width:40px}
body[data-admin-section=eventos] .admin-table-052 th:nth-child(2){width:155px}
body[data-admin-section=eventos] .admin-table-052 th:nth-child(4){width:120px}
body[data-admin-section=eventos] .admin-table-052 th:nth-child(5){width:130px}
body[data-admin-section=eventos] .admin-table-052 th:nth-child(6){width:143px}
body[data-admin-section=eventos] .admin-table-052 th:nth-child(7){width:125px}
body[data-admin-section=eventos] .table-copy-052{min-width:0}
.admin-table-052 :is(button,summary,a):focus-visible,.admin-table-scroll-052:focus-visible{outline:3px solid #a54b55;outline-offset:2px}
@media(max-width:1200px){.admin-filters-052{grid-template-columns:1fr 1fr}.table-toolbar-052>div:first-child{grid-column:auto}.table-more-filters-052{justify-self:start}.admin-filters-052>button{justify-self:start}}
@media(max-width:650px){
 .admin-filters-052,body[data-admin-section=clientes] .admin-filters-052{grid-template-columns:minmax(0,1fr)}
 .table-more-filters-052{justify-self:stretch}.table-more-panel-052{left:0;right:auto;width:min(265px,100%)}
 .admin-filters-052 :is(button,summary,input,select){min-height:44px}
 .admin-table-scroll-052{max-height:550px}
 .table-button-052,.table-action-menu-052>summary,.table-check-052{min-height:44px}
 .table-detail-052 .dialog-header{align-items:flex-start}.table-detail-052 h2{font-size:22px}
}
@media print{.admin-filters-052,.table-actions-052,.table-scroll-hint-052{display:none!important}.admin-table-scroll-052{max-height:none;overflow:visible}.admin-table-052{min-width:0;font-size:12px}.admin-table-052 th{position:static}}
