/* Shared brand treatment: transparent artwork, no white tile or frame. */
.see-logo {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}
:root.dark .see-logo {
    filter: url(#see-logo-light-ink);
}
/* HSE retains a dark sidebar in both modes. */
:root .sidebar .see-logo {
    filter: var(--see-sidebar-logo-filter, none);
}
:root.dark .sidebar .see-logo {
    filter: url(#see-logo-light-ink);
}

/* A single contextual module brand replaces SEE in module sidebars. */
.sidebar .module-sidebar-brand { gap: 8px; }
.module-sidebar-symbol {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: transparent;
    filter: var(--see-sidebar-logo-filter, none);
}
:root.dark .module-sidebar-symbol { filter: url(#see-logo-light-ink); }
.sidebar .module-sidebar-wordmark {
    color: var(--module-wordmark-color, var(--text));
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .035em;
    text-align: center;
    -webkit-text-stroke: 0;
}
:root.dark .sidebar .module-sidebar-wordmark { color: #fff; }

/* WRM already has alpha transparency; remove the header's white image tile. */
.header-brand img {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}
/* Original artwork for each theme, with no color manipulation. */
.header-brand img { filter: none; }
.header-brand .wrm-logo-dark { display: none; }
:root.dark .header-brand .wrm-logo-light { display: none; }
:root.dark .header-brand .wrm-logo-dark { display: block; }
.header-brand img { width: 64px; height: 40px; }

/* Dashboard artwork reuses the sidebar symbol without its dark-surface palette. */
.area-intro .module-intro-brand {
    display: flex;
    flex: 0 0 180px;
    width: 180px;
    min-height: 120px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text);
    text-align: center;
}
.area-intro .module-intro-symbol {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    filter: none;
}
.module-intro-wordmark {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .035em;
}
:root.dark .module-intro-brand { color: #fff; }
:root.dark .module-intro-symbol { filter: url(#see-logo-light-ink); }
@media (max-width: 650px) {
    .area-intro .module-intro-brand { flex-basis: auto; }
}

/* Separate viewports preserve the original SEE artwork and give it the same
   symbol/wordmark spacing as the module brands, without editing the bitmap. */
.sidebar .see-sidebar-brand { gap: 8px; }
.see-sidebar-artwork {
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    filter: var(--see-sidebar-logo-filter, none);
}
.see-sidebar-symbol { width: 80px; height: 80px; }
.see-sidebar-wordmark { width: 80px; height: 20.4px; }
:root.dark .see-sidebar-artwork { filter: url(#see-logo-light-ink); }
