/* V59: ensure shared school emblems never expand to source image dimensions. */
img.school-logo, span.school-logo-fallback {
  display:inline-block !important; box-sizing:border-box !important;
  width:34px !important; height:34px !important; min-width:34px !important;
  max-width:34px !important; max-height:34px !important; flex:0 0 34px !important;
  object-fit:contain !important; vertical-align:middle !important;
}
span.school-logo-fallback {display:inline-grid !important;place-items:center !important;font-size:17px !important;line-height:1 !important;}
/* Emblems inside schedule, results, match tiles and medals should be compact. */
:is(.schedule-school-row,.mobile-schedule-versus,.score-team-logo,.live-score-versus,.medal-col,.mobile-medal-list) :is(img.school-logo,span.school-logo-fallback) {
  width:28px !important;height:28px !important;min-width:28px !important;max-width:28px !important;max-height:28px !important;flex-basis:28px !important;
}
:is(.school-name-logo,.schedule-school-row,.public-school-row-identity,.school-directory-identity) {min-width:0;}
:is(.school-name-logo,.schedule-school-row) > :is(span.school-name-text,span:not(.school-logo-fallback)) {min-width:0;overflow-wrap:anywhere;}
/* Make long school names wrap rather than forcing table width. */
td .school-logo {vertical-align:middle !important;margin-inline-end:7px;}
@media(max-width:600px){
  img.school-logo, span.school-logo-fallback {width:30px !important;height:30px !important;min-width:30px !important;max-width:30px !important;max-height:30px !important;flex-basis:30px !important;}
  :is(.schedule-school-row,.mobile-schedule-versus,.score-team-logo,.live-score-versus,.medal-col,.mobile-medal-list) :is(img.school-logo,span.school-logo-fallback){width:25px !important;height:25px !important;min-width:25px !important;max-width:25px !important;max-height:25px !important;flex-basis:25px !important;}
}
/* Draft registration UI. */
.registration-draft-toolbar {display:flex;flex-wrap:wrap;align-items:center;gap:11px;background:#eff6ff;border:1px solid #d5e4f6;border-radius:14px;padding:13px 16px;margin:15px 0 21px;}
.registration-draft-toolbar .registration-draft-status{flex:1 1 210px;min-width:0;font-size:14px;color:#35536d;line-height:1.6;}
.registration-draft-toolbar .registration-draft-status[data-error="1"]{color:#b42318;}
.registration-draft-toolbar .btn{white-space:normal;}
.registration-draft-list{display:grid;gap:13px;margin-top:22px;}
.registration-draft-item{border:1px solid #d8e4f1;border-radius:15px;padding:17px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;background:white;}
.registration-draft-item h3{margin:5px 0;font-size:18px;color:#0f3468;}
.registration-draft-item p{margin:0;color:#68788f;}
.registration-draft-item small{color:#67788f;}
.registration-draft-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;}
/* More balanced executive cards and less crowded long names on phones. */
.executive-public-grid{justify-items:center;}
.executive-person-card{width:100%;max-width:310px;}
.executive-person-info{overflow-wrap:anywhere;}
@media(max-width:520px){.registration-draft-toolbar>.btn{flex:1 1 auto;}.registration-draft-item{align-items:stretch}.registration-draft-actions>.btn{flex:1 1 auto;text-align:center}}
