@media screen {
  html body.min2-theme-app #app>.shell>.sidebar>a.brand.m2identity-brand>img.m2brand-print-fallback+span{display:none!important}
  img[data-identity-v2]{object-fit:contain!important;object-position:center!important;filter:none!important}
  .m2brand-pair[data-identity-v2]{display:flex!important;align-items:center!important;justify-content:center!important;max-width:100%!important;min-width:0!important}
  .m2brand-pair[data-identity-v2]>.m2brand-app-box{display:flex!important;align-items:center!important;justify-content:center!important;max-width:100%!important;width:100%!important;min-width:0!important;overflow:visible!important}
  .m2brand-pair[data-identity-v2] img{display:block!important;width:auto!important;height:64px!important;max-height:64px!important;max-width:100%!important;margin:0 auto!important}
  .m2identity-brand>.m2brand-pair{width:240px!important;height:80px!important;flex:0 1 240px!important;margin:0 auto!important}
  .m2identity-brand>.m2brand-pair>.m2brand-app-box{background:#fff!important;border-radius:8px!important;padding:8px!important;box-sizing:border-box!important;height:80px!important}
  .m2identity-brand>.m2brand-print-fallback+span{display:none!important}
  .m2-internal-brandrow.m2identity-brand{justify-content:center!important}
  .m2-internal-brandrow.m2identity-brand>strong{display:none!important}
  .m2h-service-card>img[data-identity-v2]{display:block!important;width:240px!important;height:70px!important;max-width:100%!important;margin:0 auto 16px!important}
  .m2h-app-logo:has(>img[data-identity-v2]){width:100%!important;max-width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important}
  .m2h-app-logo>img[data-identity-v2]{width:auto!important;height:64px!important;max-width:100%!important;max-height:64px!important;margin:auto!important}
  html body main.m2lp>.grid>article.panel>.m2brand-pair[data-identity-v2]>.m2brand-app-box>img.m2brand-app{height:64px!important;max-height:64px!important}
  .m2identity-guide{display:block;box-sizing:border-box;max-width:100%;margin:16px 0 24px;padding:14px 18px;background:#f5f8f7;border:1px solid #d4e0db;border-radius:10px;color:#173b30;font:normal 15px/1.65 system-ui,-apple-system,Segoe UI,sans-serif;overflow-wrap:anywhere}
  .m2identity-guide>summary{cursor:pointer;font-weight:650;line-height:1.6}
  .m2identity-guide>summary:focus-visible{outline:2px solid #1d6b4e;outline-offset:5px}
  .m2identity-guide p{font:inherit!important;color:inherit!important;margin:12px 0}
  .m2identity-guide a{font:inherit!important;font-weight:600!important;text-decoration:underline;color:#145d47}
  .m2identity-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px}
  .m2identity-guide-grid h3{font:650 17px/1.5 system-ui,-apple-system,Segoe UI,sans-serif!important;margin:16px 0 8px!important;color:#173b30!important}
  .m2identity-guide-grid dl{margin:0}
  .m2identity-guide-grid dt{font-weight:650;margin:12px 0 2px}
  .m2identity-guide-grid dd{margin:0;font:inherit}
  @media(max-width:600px){
    .m2identity-brand>.m2brand-pair{width:210px!important;height:72px!important;flex-basis:210px!important}
    .m2identity-brand>.m2brand-pair>.m2brand-app-box{height:72px!important}
    .m2brand-pair[data-identity-v2] img{height:56px!important;max-height:56px!important}
    html body main.m2lp>.grid>article.panel>.m2brand-pair[data-identity-v2]>.m2brand-app-box>img.m2brand-app{height:56px!important;max-height:56px!important}
    .m2identity-guide{padding:12px 14px;font-size:14px}
    .m2identity-guide-grid{grid-template-columns:1fr;gap:0}
  }
}
@media print{.m2identity-guide{display:none!important}}
@media screen {
  html body main.m2lp[data-public-identity]>.bar>.brand>.m2brand-pair+span{display:none!important}
  html body .post-2709 .m2lp>.brand>.m2brand-pair[data-app="ppdb"]+span{display:none!important}
  /* Directory headings remain accessible; the logo already supplies the visible name. RDM is excluded. */
  html body main.m2lp>.grid>article.panel:has(>.m2brand-pair[data-app]:not([data-app='rdm']))>h2{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
  html body .m2lp .bar .brand.m2identity-existing-rdm{display:flex!important;align-items:center!important;justify-content:center!important;width:240px!important;max-width:100%!important;gap:10px!important;flex-wrap:nowrap!important}
  html body .m2lp .bar .brand.m2identity-existing-rdm>.m2brand-pair{display:flex!important;width:60px!important;max-width:60px!important;height:70px!important;flex:0 0 60px!important;align-items:center!important;justify-content:center!important;margin:0!important}
  html body .m2lp .bar .brand.m2identity-existing-rdm>.m2brand-pair>.m2brand-app-box{width:60px!important;height:64px!important;max-width:60px!important;flex:0 0 60px!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important}
  html body .m2lp .bar .brand.m2identity-existing-rdm img.m2brand-app{width:60px!important;height:60px!important;max-width:60px!important;max-height:60px!important;object-fit:contain!important;object-position:center!important;margin:0!important;filter:none!important}
  html body .m2lp .bar .brand.m2identity-existing-rdm>.m2brand-pair+span{display:flex!important;flex-direction:column!important;gap:3px!important;width:auto!important;min-width:0!important;text-align:left!important}
  html body .m2lp .bar .brand.m2identity-existing-rdm>.m2brand-pair+span>strong{font:700 31px/1 Georgia,'Times New Roman',serif!important;color:#101114!important;margin:0!important}
  html body .m2lp .bar .brand.m2identity-existing-rdm>.m2brand-pair+span>small{font:700 13px/1.25 Georgia,'Times New Roman',serif!important;color:#101114!important;white-space:nowrap!important;margin:0!important}
}
/* Preserve the original UKS/M and RDM image files; school names remain crisp HTML text. */
@media screen {
  html body :is(#app,.m2lp,.m2h,.native-header,.m2-internal-brandrow,.sidebar) .m2identity-preserved{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:240px!important;max-width:100%!important;height:64px!important;min-width:0!important;margin:0 auto!important;padding:0!important;box-sizing:border-box!important;background:transparent!important}
  html body :is(#app,.m2lp,.m2h,.native-header,.m2-internal-brandrow,.sidebar) .m2identity-preserved>img.m2identity-preserved-mark{display:block!important;flex:0 0 auto!important;width:auto!important;height:60px!important;max-height:60px!important;max-width:82px!important;margin:0!important;padding:0!important;object-fit:contain!important;object-position:center!important;filter:none!important;background:transparent!important;border:0!important;border-radius:0!important}
  html body :is(#app,.m2lp,.m2h,.native-header,.m2-internal-brandrow,.sidebar) .m2identity-preserved-words{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;flex:0 1 auto!important;min-width:0!important;width:auto!important;height:auto!important;max-width:none!important;margin:0!important;padding:0!important;color:#101114!important;text-align:left!important;background:transparent!important}
  html body :is(#app,.m2lp,.m2h,.native-header,.m2-internal-brandrow,.sidebar) .m2identity-preserved-words>strong{display:block!important;font:700 31px/1 Georgia,'Times New Roman',serif!important;color:#101114!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;margin:0!important;padding:0!important}
  html body :is(#app,.m2lp,.m2h,.native-header,.m2-internal-brandrow,.sidebar) .m2identity-preserved-words>small{display:block!important;font:700 13px/1.25 Georgia,'Times New Roman',serif!important;color:#101114!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;margin:0!important;padding:0!important}
  html body .m2h .m2h-service-card>.m2identity-preserved{height:70px!important;margin:0 auto 16px!important}
  html body .m2h .m2h-app-logo:has(>.m2identity-preserved){display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:100%!important;height:80px!important;flex:0 1 100%!important;background:#fff!important;overflow:visible!important}
  @media(max-width:600px){
    html body :is(#app,.m2lp,.m2h,.native-header,.m2-internal-brandrow,.sidebar) .m2identity-preserved{width:210px!important;height:56px!important;gap:9px!important}
    html body :is(#app,.m2lp,.m2h,.native-header,.m2-internal-brandrow,.sidebar) .m2identity-preserved>img.m2identity-preserved-mark{height:54px!important;max-height:54px!important;max-width:74px!important}
    html body :is(#app,.m2lp,.m2h,.native-header,.m2-internal-brandrow,.sidebar) .m2identity-preserved-words>strong{font-size:28px!important}
    html body :is(#app,.m2lp,.m2h,.native-header,.m2-internal-brandrow,.sidebar) .m2identity-preserved-words>small{font-size:12px!important}
  }
}
/* Override the former compact 36px marks only on the eleven new identities. */
@media screen {
  html body.min2-theme-app #app>.shell>.sidebar>a.brand.m2identity-brand .m2brand-pair[data-identity-v2]{width:240px!important;max-width:100%!important;flex:0 1 240px!important;justify-content:center!important;margin:0 auto!important}
  html body.min2-theme-app #app>.shell>.sidebar>a.brand.m2identity-brand .m2brand-pair[data-identity-v2]>.m2brand-app-box{width:100%!important;max-width:100%!important;height:80px!important;flex:1 1 auto!important;justify-content:center!important;padding:8px!important}
  html body.min2-theme-app #app>.shell>.sidebar>a.brand.m2identity-brand .m2brand-pair[data-identity-v2]>.m2brand-app-box>img.m2brand-app{width:100%!important;max-width:100%!important;height:64px!important;max-height:64px!important;object-position:center!important;margin:auto!important}
  html body :is(.native-header .native-brand.m2identity-brand,#app>.shell>.sidebar>a.brand.m2identity-brand,a.brand.m2identity-brand,.m2-internal-brandrow.m2identity-brand){width:240px!important;max-width:100%!important;justify-content:center!important}
  html body :is(#app,.m2lp,.native-header,.m2-internal-brandrow,.sidebar) .m2brand-pair[data-identity-v2]{width:240px!important;max-width:100%!important;flex:0 1 240px!important;justify-content:center!important;margin:0 auto!important}
  html body :is(#app,.m2lp,.native-header,.m2-internal-brandrow,.sidebar) .m2brand-pair[data-identity-v2]>.m2brand-app-box{width:100%!important;max-width:100%!important;height:80px!important;flex:1 1 auto!important;justify-content:center!important;padding:8px!important;margin:0 auto!important}
  html body :is(#app,.m2lp,.native-header,.m2-internal-brandrow,.sidebar) .m2brand-pair[data-identity-v2]>.m2brand-app-box>img.m2brand-app{width:100%!important;max-width:100%!important;height:64px!important;max-height:64px!important;object-position:center!important;object-fit:contain!important;margin:auto!important;filter:none!important}
  html body .m2identity-brand.m2identity-brand>.m2brand-pair[data-identity-v2]{width:240px!important;height:80px!important;flex:0 1 240px!important}
  html body .m2identity-brand.m2identity-brand>.m2brand-pair[data-identity-v2]>.m2brand-app-box{width:100%!important;height:80px!important;flex:1 1 auto!important;padding:8px!important;background:#fff!important;border-radius:8px!important}
  html body .m2identity-brand.m2identity-brand>.m2brand-pair[data-identity-v2]>.m2brand-app-box>img.m2brand-app{width:100%!important;height:64px!important;max-height:64px!important;object-fit:contain!important}
  html body .m2identity-brand.m2identity-brand>img.m2brand-print-fallback+span{display:none!important}
  html body .m2h img.m2h-public-logo[data-identity-v2]{width:240px!important;height:70px!important;max-height:70px!important;object-fit:contain!important}
  html body .m2h .m2h-app-logo:has(>img[data-identity-v2]){width:100%!important;height:80px!important;flex:0 1 100%!important;background:#fff!important}
  html body .m2h .m2h-app-logo>img[data-identity-v2]{width:100%!important;height:64px!important;max-height:64px!important;object-fit:contain!important}
  .m2identity-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
  .m2identity-actions>a,.m2identity-actions>button{display:inline-flex;align-items:center;min-height:40px;padding:7px 12px;border:1px solid #a9c4b7;border-radius:6px;background:#fff;color:#145d47;font:600 14px/1.5 system-ui,-apple-system,Segoe UI,sans-serif!important;text-decoration:none!important;cursor:pointer;max-width:100%;white-space:normal}
  .m2identity-actions>a:focus-visible,.m2identity-actions>button:focus-visible{outline:2px solid #145d47;outline-offset:3px}
  @media(max-width:600px){
    html body.min2-theme-app #app>.shell>.sidebar>a.brand.m2identity-brand .m2brand-pair[data-identity-v2]{width:210px!important;flex-basis:210px!important}
    html body.min2-theme-app #app>.shell>.sidebar>a.brand.m2identity-brand .m2brand-pair[data-identity-v2]>.m2brand-app-box{height:72px!important}
    html body.min2-theme-app #app>.shell>.sidebar>a.brand.m2identity-brand .m2brand-pair[data-identity-v2]>.m2brand-app-box>img.m2brand-app{height:56px!important;max-height:56px!important}
    html body :is(.native-header .native-brand.m2identity-brand,#app>.shell>.sidebar>a.brand.m2identity-brand,a.brand.m2identity-brand,.m2-internal-brandrow.m2identity-brand){width:210px!important}
    html body :is(#app,.m2lp,.native-header,.m2-internal-brandrow,.sidebar) .m2brand-pair[data-identity-v2]{width:210px!important;flex-basis:210px!important}
    html body :is(#app,.m2lp,.native-header,.m2-internal-brandrow,.sidebar) .m2brand-pair[data-identity-v2]>.m2brand-app-box{height:72px!important}
    html body :is(#app,.m2lp,.native-header,.m2-internal-brandrow,.sidebar) .m2brand-pair[data-identity-v2]>.m2brand-app-box>img.m2brand-app{height:56px!important;max-height:56px!important}
    html body .m2identity-brand.m2identity-brand>.m2brand-pair[data-identity-v2]{width:210px!important;height:72px!important;flex-basis:210px!important}
    html body .m2identity-brand.m2identity-brand>.m2brand-pair[data-identity-v2]>.m2brand-app-box{height:72px!important}
    html body .m2identity-brand.m2identity-brand>.m2brand-pair[data-identity-v2]>.m2brand-app-box>img.m2brand-app{height:56px!important;max-height:56px!important}
  }
}
