/* MXPotential brand kit: official artwork and light/dark surface matching.
   Source: https://mxpotential.org/brand/ . Do not redraw or recolor logos. */
.brand-logo-frame{position:relative;display:inline-flex;align-items:center;justify-content:flex-start;min-width:0;isolation:isolate}
.brand-logo-frame [data-brand-image]{display:block;object-fit:contain;object-position:left center;width:100%;height:100%;visibility:hidden;position:relative;z-index:1}
.brand-logo-frame.is-loaded [data-brand-image]{visibility:visible}
.brand-logo-fallback{position:absolute;inset:0;display:flex;align-items:center;font-size:11px;line-height:1.2;font-weight:850;letter-spacing:1px;color:inherit}
.brand-logo-frame.is-loaded .brand-logo-fallback{display:none}
.brand-logo-auth{width:252px;height:90px;max-width:100%;color:#fff}
.brand-logo-sidebar{width:183px;height:67px;max-width:100%;color:#08182c}
[data-theme=dark] .brand-logo-sidebar{color:#f7f3ea}
.auth-brand,.brand-lockup{align-items:center;gap:0}
/* The login's navy panel stays dark in both themes: always use the light-lettered brand asset there. */
.auth-side .brand-logo-auth{color:#fff}
/* Desktop sidebar changes background with the theme; match the image to that surface. */
.sidebar-top{min-width:0}
.mobile-brand{display:flex;gap:9px;align-items:center;min-width:0}
.brand-logo-mobile{width:36px;height:36px;flex:0 0 36px;color:#08182c}
.mobile-brand-title{display:flex;flex-direction:column;gap:3px;font-size:12px;letter-spacing:1.3px;line-height:1.1;white-space:nowrap;color:#11233b}
.mobile-brand-title small{font-size:8px;font-weight:750;letter-spacing:.85px;color:#637186}
[data-theme=dark] .brand-logo-mobile,[data-theme=dark] .mobile-brand-title{color:#f7f3ea}
[data-theme=dark] .mobile-brand-title small{color:#b6c9d9}
@media(max-width:900px){.mobile-top{justify-content:flex-start;gap:10px}.mobile-top .mobile-brand{max-width:calc(100% - 46px)}}
@media(max-width:380px){.mobile-top{padding-left:12px;padding-right:12px}.mobile-brand-title{letter-spacing:1px}.mobile-brand-title small{font-size:7px}.brand-logo-mobile{height:32px;width:32px;flex-basis:32px}}
