/* YapAi white-label layer. LibreChat remains an internal engine; this stylesheet controls only the public shell. */
:root { --yapai-green:#0b8a61; --yapai-deep:#075e45; }
body.yapai-branded { --yapai-focus:rgba(11,138,97,.24); }
body.yapai-branded a[href*="librechat.ai"],
body.yapai-branded a[href*="github.com/danny-avila"],
body.yapai-branded a[href*="discord.gg/librechat"],
body.yapai-branded [data-testid*="help"],
body.yapai-branded [aria-label*="LibreChat"],
body.yapai-branded [title*="LibreChat"] { display:none !important; }
body.yapai-branded img.yapai-wordmark,
body.yapai-branded img.yapai-brand-logo { width:150px !important; max-width:42vw !important; height:44px !important; object-fit:contain !important; object-position:left center !important; }
body.yapai-branded .yapai-wordmark-mobile,
body.yapai-branded img.yapai-brand-logo[data-yapai-logo="true"] { object-fit:contain !important; }
[data-yapai-theme="dark"] body.yapai-branded img.yapai-brand-logo { content:url("/assets/yapai-wordmark-dark.png") !important; }
[data-yapai-theme="light"] body.yapai-branded img.yapai-brand-logo { content:url("/assets/yapai-wordmark-light.png") !important; }
body.yapai-branded .yapai-social-auth { display:grid; gap:10px; width:min(100%,420px); margin:18px auto 0; padding:0 24px; }
body.yapai-branded .yapai-social-button { display:flex; align-items:center; justify-content:center; gap:10px; min-height:44px; border:1px solid #d9e5df; border-radius:12px; color:#13221c; background:#fff; text-decoration:none; font-size:14px; font-weight:700; transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
body.yapai-branded .yapai-social-button:hover { border-color:#0b8a61; box-shadow:0 8px 18px rgba(11,138,97,.12); transform:translateY(-1px); }
body.yapai-branded .yapai-social-button span { display:grid; place-items:center; min-width:24px; height:24px; border-radius:7px; font-size:11px; font-weight:900; }
body.yapai-branded .yapai-google span { color:#4285f4; background:#eef3ff; }
body.yapai-branded .yapai-github span { color:#fff; background:#18221e; }
.dark body.yapai-branded .yapai-social-button,
body.dark.yapai-branded .yapai-social-button { border-color:#315143; color:#ecf9f2; background:#132820; }
.dark body.yapai-branded .yapai-github span,
body.dark.yapai-branded .yapai-github span { color:#132820; background:#ecf9f2; }
body.yapai-branded button:focus-visible,
body.yapai-branded a:focus-visible,
body.yapai-branded input:focus-visible,
body.yapai-branded textarea:focus-visible { outline:3px solid var(--yapai-focus) !important; outline-offset:2px; }
@media (max-width:768px) {
  body.yapai-branded img.yapai-wordmark,
body.yapai-branded img.yapai-brand-logo { width:38px !important; height:38px !important; object-position:center !important; }
}
