/* Phase 8: Official WaWink Pro brand integration. Pure presentation; no business logic. */
:root { --wl8-brand-height: 42px; }
.walink-navbar .wl8-brand-link { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; padding:3px 6px; min-height:44px; border-radius:12px; text-decoration:none; line-height:1; max-width:100%; }
.wl8-brand-full, .wl8-brand-compact { display:flex; align-items:center; justify-content:center; }
.wl8-brand-full img { display:block; width:clamp(146px, 14vw, 188px); height:auto; max-height:48px; object-fit:contain; }
.wl8-brand-compact { display:none; }
.wl8-brand-compact img { display:block; width:38px; height:38px; object-fit:contain; }
.walink-navbar .wl8-brand-link:focus-visible, .wl8-public-brand:focus-visible { outline:3px solid var(--walink-accent-emerald, #087e72); outline-offset:3px; }
/* Dark mode: keep official assets clean with no artificial backdrop. */
html[data-walink-theme="dark"] .wl8-brand-link,
html[data-walink-theme="dark"] .wl8-public-brand,
html[data-walink-theme="dark"] .wl8-brand-full,
html[data-walink-theme="dark"] .wl8-brand-compact { background:transparent !important; box-shadow:none !important; }
.wl8-public-header { display:flex; justify-content:center; align-items:center; padding:clamp(22px,4vw,38px) 16px 0; }
.wl8-public-brand { display:inline-flex; align-items:center; justify-content:center; border-radius:16px; padding:9px 14px; min-height:56px; }
.wl8-public-brand img { display:block; width:clamp(170px,25vw,216px); height:auto; object-fit:contain; }
/* Remove the former decorative W treatment from the shared navbar without changing other badges. */
@media(max-width:700px) {
 .walink-navbar .wl8-brand-full { display:none; }
 .walink-navbar .wl8-brand-compact { display:flex; }
 .walink-navbar .wl8-brand-link { padding:3px; min-width:44px; min-height:44px; }
 .walink-navbar .wl8-brand-compact img { width:38px; height:38px; }
}
@media(max-width:420px) {
 .walink-navbar .walink-nav-brand { min-width:0; gap:5px; }
 .wl8-public-header { padding-top:20px; }
}

/* Phase 9: choose a theme-specific official full wordmark, never a background. */
.wl9-theme-logo-dark { display:none !important; }
html[data-walink-theme="dark"] .wl9-theme-logo-light { display:none !important; }
html[data-walink-theme="dark"] .wl9-theme-logo-dark { display:block !important; }
html[data-walink-theme="dark"] .wl8-brand-link,
html[data-walink-theme="dark"] .wl8-public-brand { background:transparent !important; box-shadow:none !important; }

/* Phase 10: keep branding inside sign-in/registration cards only. */
.wl10-auth-card .wl10-auth-brand {
 display:flex; align-items:center; justify-content:center;
 width:100%; padding:0 0 clamp(17px,3vw,24px);
 margin:0 0 clamp(18px,3vw,24px);
 border-bottom:1px solid var(--walink-card-border, rgba(128,128,128,.18));
 background:transparent; box-shadow:none;
}
.wl10-auth-brand img { width:min(216px,80%); height:auto; max-height:64px; object-fit:contain; }
.wl10-auth-brand .wl9-theme-logo-dark { display:none !important; }
html[data-walink-theme="dark"] .wl10-auth-brand .wl9-theme-logo-light { display:none !important; }
html[data-walink-theme="dark"] .wl10-auth-brand .wl9-theme-logo-dark { display:block !important; }
html[data-walink-theme="dark"] .wl10-auth-brand { background:transparent !important; box-shadow:none !important; }
@media (max-width:480px) {
 .wl10-auth-card .wl10-auth-brand { margin-bottom:18px; padding-bottom:17px; }
 .wl10-auth-brand img { width:min(190px,80%); }
}
