/* AlphaBill's approved invoice/alpha identity. Merchant artwork is separate. */
.ab-brand-image { display:block; width:auto; height:48px; max-width:100%; object-fit:contain; }
.ab-brand-light { display:none; }
html[data-theme="light"] .ab-brand-dark { display:none; }
html[data-theme="light"] .ab-brand-light { display:block; }
.logo a:has(.ab-brand-image) { display:inline-flex; align-items:center; }
.logo .ab-brand-image { height:64px; }
nav .logo .ab-brand-image, footer .logo .ab-brand-image { width:134px; height:42px; }
.preview-logo .ab-brand-image { width:83px; height:26px; }
.ab-logo .ab-brand-image { width:160px; height:50px; }
.ab-logo:focus-visible, .logo:focus-visible, .logo a:focus-visible { outline:2px solid #EF4444; outline-offset:4px; }
.legal-top .ab-brand-image { height:44px; }
@media (max-width:520px) { nav .logo .ab-brand-image { width:100px; height:32px; } }

.ab-logo, .ab-mobile-brand { text-decoration:none; }
.ab-mobile-brand { display:none; }
@media (max-width:768px) { .ab-mobile-brand { display:inline-flex; align-items:center; min-height:44px; margin-bottom:16px; } .ab-mobile-brand .ab-brand-image { width:112px; height:35px; } }

/* Remove only brand-only containers when the native app supplies its own logo. */
html.ab-native-app .ab-mobile-brand,
html.ab-native-app .ab-sidebar > .ab-logo,
html.ab-native-app .auth-wrap > .logo,
html.ab-native-app .wrap > .logo,
html.ab-native-app .legal-top > .logo { display:none; }
