/* Original approved raster lettering, including the y flourish, rendered without its canvas. */
.mw-brand { direction:ltr; }
.mw-brand > img.mw-brand-wordmark,
.mw-header .mw-brand > img.mw-brand-wordmark,
.mw-footer .mw-brand > img.mw-brand-wordmark {
 display:block;width:178px;height:auto;min-width:0;max-width:none;
 flex:0 0 178px;aspect-ratio:1940 / 380;object-fit:contain;border-radius:0;filter:none;
}
.mw-brand > img:not(.mw-brand-wordmark),
.mw-header .mw-brand > img:not(.mw-brand-wordmark),
.mw-footer .mw-brand > img:not(.mw-brand-wordmark) {
 width:30px;height:30px;min-width:30px;max-width:30px;flex:0 0 30px;
 object-fit:contain;border-radius:0;filter:none;
}
.mw-footer .mw-brand { height:auto;align-items:center; }
@media(max-width:480px) {
 .mw-header .mw-brand > img.mw-brand-wordmark { width:clamp(120px,36vw,168px);flex-basis:clamp(120px,36vw,168px); }
 .mw-header .mw-brand > img:not(.mw-brand-wordmark) { width:26px;height:26px;min-width:26px;max-width:26px;flex-basis:26px; }
}
/* Keep the selected violet colors; the retired book icon needed brightening. */
html.dark .mw-header .mw-brand > img { filter:none; }

/* Follow the site's explicit theme, including dynamically rendered workspace brands. */
html.dark .mw-brand > img.mw-brand-wordmark,
.mw-footer .mw-brand > img.mw-brand-wordmark {
 content:url('/assets/original/brand-wordmark-dark-web.svg?v=20260918');
}
html.dark .mw-brand > img:not(.mw-brand-wordmark),
.mw-footer .mw-brand > img:not(.mw-brand-wordmark) {
 content:url('/assets/original/brand-emblem-dark-web.svg?v=20260918');
}
