/* Shared list footer: compact surface, fixed size control, equal page buttons. */
html:not(#ui-x) body .list-pager{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:20px;margin:14px 0 4px;padding:12px 14px;background:var(--mc-surface,#fff);border:1px solid var(--mc-border,#ded7ec);border-radius:var(--mc-radius,16px);box-shadow:0 2px 8px rgba(30,22,50,.035);color:var(--mc-text,#252037);font-size:12px;text-align:left}
.list-page-info{min-width:0;color:var(--mc-muted,#777);font-variant-numeric:tabular-nums;white-space:nowrap}
html:not(#ui-x) body .list-page-size{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;margin:0;font-size:12px;font-weight:600;line-height:1.6;white-space:nowrap}
.list-page-caption{flex:none;color:var(--mc-muted,#777)}
html:not(#ui-x) body .list-page-size > select:not(.select2-hidden-accessible){box-sizing:border-box;width:78px;min-width:78px;max-width:78px;height:38px;flex:0 0 78px;padding:0 10px;border:1px solid var(--mc-border,#ddd);border-radius:var(--mc-radius-sm,10px);background:var(--mc-surface-2,#f5f3fa);color:var(--mc-text,#252037);font:inherit;cursor:pointer}
html:not(#ui-x) body .list-page-size > .select2-container{width:78px!important;min-width:78px!important;max-width:78px!important;flex:0 0 78px}
html:not(#ui-x) body .list-page-size .select2-selection--single{height:38px!important;min-height:38px!important;background:var(--mc-surface-2,#f5f3fa)!important}
html:not(#ui-x) body .list-page-size .select2-selection__rendered{line-height:36px!important;padding-left:12px!important;font-weight:600}
html:not(#ui-x) body .list-page-size .select2-selection__arrow{height:36px!important;right:6px!important}
html:not(#ui-x) body .list-page-nav{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin:0}
html:not(#ui-x) body .list-page-nav :is(button,a){box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;flex:0 0 36px;width:36px;min-width:36px;height:36px;padding:0;border:1px solid transparent;border-radius:var(--mc-radius-sm,10px);background:var(--mc-surface-2,#f4f2f8);color:var(--mc-text,#252037);text-decoration:none;font:inherit;font-weight:600;line-height:1;cursor:pointer}
html:not(#ui-x) body .list-page-nav [aria-current=page]{background:var(--mc-accent,#7c5cf0);color:var(--mc-accent-text,#fff);box-shadow:0 3px 9px color-mix(in srgb,var(--mc-accent,#7c5cf0) 22%,transparent)}
html:not(#ui-x) body .list-page-nav :disabled{opacity:.35;cursor:default;background:transparent}
html:not(#ui-x) body .list-page-nav :is(button,a):not(:disabled):not([aria-current]):hover{background:var(--mc-accent-soft,#eee9fc);color:var(--mc-accent,#7c5cf0)}
.list-pager :is(button,a,select):focus-visible{outline:2px solid var(--mc-accent,#7c5cf0);outline-offset:2px}
.sp-paged-table :is(.dataTables_length,.pg-dt-foot,.dataTables_paginate,.dataTables_info){display:none!important}
html body .sp-native-paging{display:none!important}
html:not(#ui-x) body .list-pager[hidden],[hidden]#sr-page-footer,[hidden]#pr-page-footer,[hidden]#pu-page-footer{display:none!important}
@media(max-width:640px){
 html:not(#ui-x) body .list-pager{grid-template-columns:minmax(0,1fr) auto;gap:12px 10px;padding:12px}
 .list-page-info{grid-column:1;grid-row:1;font-size:11px}
 html:not(#ui-x) body .list-page-size{grid-column:2;grid-row:1;font-size:11px;gap:8px}
 html:not(#ui-x) body .list-page-nav{grid-column:1 / -1;grid-row:2;justify-content:center;border-top:1px solid var(--mc-border,#ddd);padding-top:12px}
}
@media(max-width:380px){
 .list-page-caption{display:none}
 html:not(#ui-x) body .list-page-nav{gap:4px}
 html:not(#ui-x) body .list-page-nav :is(button,a){flex-basis:32px;min-width:32px;width:32px;height:34px}
}
@media print{html:not(#ui-x) body .list-pager{display:none!important}}
