/* v95 — Match approved v84 Admin Add Delegate compact grid on public Delegate form only. */
/* Scope to public route; do not alter Admin Add Delegate or other submission forms. */
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form {
  display:grid; gap:12px; width:100%; max-width:none; min-width:0;
}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form > .card {
  margin:0; padding:clamp(14px,1.5vw,22px); min-width:0;
}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .card h2,
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .card h3 {
  margin-top:0; margin-bottom:12px;
}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .row {
  display:grid; align-items:start; gap:12px 16px; grid-template-columns:repeat(2,minmax(0,1fr)); margin-bottom:12px;
}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .row > * {
  min-width:0; width:auto; max-width:none;
}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .row.three {grid-template-columns:repeat(3,minmax(0,1fr));}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .delegate-registration-primary {grid-template-columns:repeat(2,minmax(0,1fr));}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .delegate-registration-identity {grid-template-columns:90px minmax(120px,.8fr) minmax(190px,1.6fr) minmax(110px,.8fr) minmax(240px,1.6fr);}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .delegate-registration-identity > .field:nth-child(3),
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .delegate-registration-identity > .field:nth-child(5) {grid-column:auto;}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .delegate-registration-emergency {grid-template-columns:repeat(2,minmax(0,1fr));}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .row:empty {display:none;}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form label {line-height:1.3;}
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form input:not([type=checkbox]):not([type=radio]):not([type=file]),
body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form select {min-height:40px;}
@media(min-width:1250px){body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .delegate-registration-primary {grid-template-columns:minmax(180px,1fr) minmax(220px,1.2fr) minmax(200px,1fr) minmax(170px,1fr);}}
@media(max-width:1199px){body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .delegate-registration-identity {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:850px){body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .row.three,body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .delegate-registration-identity {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .row,body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .row.three,body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .delegate-registration-primary,body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .delegate-registration-identity,body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form .delegate-registration-emergency {grid-template-columns:minmax(0,1fr);gap:10px;}body:not(.nx-admin-modern):has(.delegate-registration-form) #main .delegate-registration-form > .card{padding:14px;}}
