/* CMC NEXCOR 2027 — Phase 2 delegate-management visual refinement.
   Presentation only: no API, permissions, registration, payment or export changes. */
body.nx-admin-modern:has(a[href*="admin/delegate-overview"].active) #main,
body.nx-admin-modern:has(a[href*="admin/delegate-overview"][aria-current="page"]) #main{min-width:0}
body.nx-admin-modern #main .delegate-overview-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;align-items:end}
body.nx-admin-modern #main .delegate-overview-filters .field{min-width:0;margin:0}
body.nx-admin-modern #main .delegate-overview-search{margin-top:18px;max-width:650px}
body.nx-admin-modern #main .delegate-overview-search .field{margin:0}
body.nx-admin-modern #main #delegateFilters .actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:20px;flex-wrap:wrap}
body.nx-admin-modern #main #delegateFilters input,
body.nx-admin-modern #main #delegateFilters select{min-height:42px;width:100%;max-width:100%;border:1px solid #d9e0ed;background:#fff;transition:border-color .15s,box-shadow .15s}
body.nx-admin-modern #main #delegateFilters input:focus-visible,
body.nx-admin-modern #main #delegateFilters select:focus-visible{outline:2px solid #292d77;outline-offset:1px}
body.nx-admin-modern #main .delegate-overview-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}
body.nx-admin-modern #main .delegate-overview-meta p{margin:0;color:#4b5873;font-weight:650;font-size:13px}
body.nx-admin-modern #main .delegate-overview-meta .toolbar{display:flex;gap:9px;flex-wrap:wrap}
body.nx-admin-modern #main #delegateResults{min-width:0}
body.nx-admin-modern #main #delegateResults .tablewrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain;scrollbar-gutter:stable}
body.nx-admin-modern #main #delegateResults table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:12px}
body.nx-admin-modern #main #delegateResults th{position:sticky;top:0;z-index:2;background:#f2f5fa;color:#3b4760;font-size:11px;font-weight:800;letter-spacing:.025em;white-space:nowrap;padding:13px 15px;border-bottom:1px solid #dce3ef}
body.nx-admin-modern #main #delegateResults td{padding:14px 15px;min-width:120px;max-width:310px;vertical-align:middle;line-height:1.55;overflow-wrap:normal;word-break:normal;border-bottom:1px solid #edf0f5}
body.nx-admin-modern #main #delegateResults td:first-child{font-weight:750;color:#292d77;white-space:nowrap;min-width:180px}
body.nx-admin-modern #main #delegateResults td:nth-child(2){min-width:225px;overflow-wrap:anywhere}
body.nx-admin-modern #main #delegateResults td:nth-child(3){min-width:150px;white-space:nowrap}
body.nx-admin-modern #main #delegateResults td:last-child{min-width:125px}
body.nx-admin-modern #main #delegateResults tbody tr:nth-child(even) td{background:#fbfcff}
body.nx-admin-modern #main #delegateResults tbody tr:hover td{background:#eff4ff}
body.nx-admin-modern #main #delegateResults a.button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-size:12px;padding:9px 12px}
body.nx-admin-modern #main .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.nx-admin-modern #main .stats .stat{min-width:0;border:1px solid #e3e8f1;border-radius:11px;background:white;padding:18px}
body.nx-admin-modern #main .stats .stat strong{font-variant-numeric:tabular-nums;color:#292d77}
body.nx-admin-modern #main .card h2,body.nx-admin-modern #main .card h3{letter-spacing:-.015em}
@media(max-width:1150px){body.nx-admin-modern #main .delegate-overview-filters{grid-template-columns:repeat(2,minmax(0,1fr))}body.nx-admin-modern #main .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body.nx-admin-modern #main .delegate-overview-filters{grid-template-columns:1fr}body.nx-admin-modern #main .delegate-overview-meta{align-items:stretch}body.nx-admin-modern #main #delegateFilters .actions{justify-content:stretch}body.nx-admin-modern #main #delegateFilters .actions button{flex:1 1 140px}body.nx-admin-modern #main .stats{grid-template-columns:1fr 1fr}}
@media(max-width:370px){body.nx-admin-modern #main .stats{grid-template-columns:1fr}}
@media print{body.nx-admin-modern #main #delegateResults .tablewrap{overflow:visible}body.nx-admin-modern #main #delegateResults th{position:static}}
