/* One original-shaped white/red mark; darker support only on legacy light pages. */
.site-logo[src="captain-position-logo-white-red-e2df471f8b.svg"],.legal-logo[src="captain-position-logo-white-red-e2df471f8b.svg"]{background:#061729;padding:6px 9px;border-radius:7px;box-sizing:border-box}
.home-night .site-logo[src="captain-position-logo-white-red-e2df471f8b.svg"],.night-section .site-logo[src="captain-position-logo-white-red-e2df471f8b.svg"]{background:transparent;padding:0;border-radius:0}
.home-night .brand>.site-logo{position:static;display:block;max-width:100%;width:clamp(190px,15.4vw,284px);height:auto}
@media(max-width:620px){.home-night .brand>.site-logo{width:172px}}
@media(max-width:400px){.home-night .brand>.site-logo{width:180px}}

/* Keep the brand first regardless of the signed-in role. */
.top{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap}.top>.brand{order:0;margin-right:auto}.top>[data-teacher-navigation]{order:1}.top>.cabinet,.top>#cabinet{order:2}.top>.brand,.workflow-header>a:first-child{align-self:flex-start}.workflow-header{align-items:flex-start}
