/* Ficha completa: resumen compacto y un solo desplazamiento para movimientos. */
.staff-page .staff-abierta[data-staff-modal="true"] .staff-detail-modal-head{flex-basis:54px!important;min-height:54px!important;padding:6px 0!important}
.staff-page .staff-abierta[data-staff-modal="true"] .staff-abierta-top{padding:8px 10px!important;gap:6px!important;border-radius:0!important}
.staff-page .staff-abierta .staff-period-heading{margin-bottom:6px!important}
.staff-page .staff-abierta .staff-period-cell{padding:5px 8px!important;gap:2px!important;border-radius:0!important}
.staff-page .staff-abierta .staff-period-cell>strong{font-size:15px!important}
.staff-page .staff-abierta[data-staff-modal="true"] .staff-actions button{height:32px!important;border-radius:0!important}
.staff-page .staff-abierta[data-staff-modal="true"] .staff-movements{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important;flex:1 1 0!important;border-radius:0!important}
.staff-page .staff-abierta .staff-movements>.staff-loans{flex:0 0 auto!important;padding:6px 10px!important;max-height:35%;overflow:auto}
.staff-page .staff-abierta .staff-loan-overview h3{margin:0 0 3px!important}
.staff-page .staff-abierta .staff-loan-overview-row{padding:2px 0!important;gap:8px!important}
.staff-page .staff-abierta .staff-loan-overview-row strong{margin-top:1px!important}
.staff-page .staff-abierta .staff-loans summary{padding:3px 0!important;min-height:24px!important}
.staff-page .staff-abierta .staff-movements>.staff-ledger{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.staff-page .staff-abierta .staff-ledger-head{padding:6px 10px!important}
.staff-page .staff-abierta .staff-ledger .staff-movement{padding:5px 10px 1px!important;min-height:0!important}
.staff-page .staff-abierta .staff-ledger .staff-movement strong{line-height:1.25!important}
.staff-page .staff-abierta .staff-ledger-note{padding-bottom:4px!important;line-height:1.25!important}
.staff-page .staff-abierta .staff-pill{border-radius:0!important;min-height:20px!important;padding:2px 6px!important;box-shadow:none!important}
.staff-page .staff-abierta .staff-ledger button{border-radius:0!important}
.staff-page .staff-abierta .staff-ledger-filters button{min-height:28px!important}
@media(max-height:580px){.staff-page .staff-abierta[data-staff-modal="true"] .staff-detail-modal-head{flex-basis:46px!important;min-height:46px!important}.staff-page .staff-abierta .staff-period-cell{padding:3px 6px!important}}
