/* Surface-specific artwork; the original upload remains the generic fallback. */
.site-brand { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-width: 0; line-height: 1; vertical-align: middle; flex-shrink: 1; box-sizing: border-box; }
.site-brand .brand-img { display: block; height: var(--brand-height,44px); width: auto; max-width: 100%; object-fit: contain; object-position: center; padding: 0; margin: 0; flex-shrink: 1; }
.site-brand--dashboard { max-width: 184px; padding: 7px 12px; background: #fff; border: 1px solid #ffffffc7; border-radius: 12px; box-shadow: 0 4px 14px #23094516; }
.site-brand--login { max-width: min(100%,340px); padding: 17px 23px; background: #fff; border: 1px solid #ffffffa8; border-radius: 20px; box-shadow: 0 14px 40px #17032926; }
.site-brand--login .brand-img { max-width: 280px; }
.brand-section .site-brand--login { margin-bottom: 19px; }
.brand-section .site-brand--login + .brand-underline { display: none; }
.site-brand--store, .site-brand--checkout { max-width: 180px; }
.site-brand--landing { width: 180px; }
.site-brand--footer { width: 190px; }
.site-brand--preview { padding: 9px 14px; border-radius: 12px; background: #fff; max-width: 245px; }
.site-brand--adapted { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.site-brand--dashboard.site-brand--adapted { width: 196px; max-width: 100%; }
.site-brand--login.site-brand--adapted { width: 286px; max-width: 100%; }
.site-brand--adapted .brand-img { width: 100%; height: auto; max-height: none; }
.sidebar-brand-row { display: flex; align-items: center; gap: 8px; min-height: 108px; padding: 22px 20px 18px; border-bottom: 1px solid #ffffff1c; }
.sidebar-brand-row .sidebar-logo { flex: 1; min-width: 0; }
.sidebar-brand-row .sidebar-logo a { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.sidebar-brand-row .sidebar-logo a .brand-img { margin: 0; }
.sidebar-brand-close { display: none; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 44px; border: 0; border-radius: 10px; color: white; background: #ffffff12; font-size: 27px; cursor: pointer; }
.sidebar-brand-close:hover { background: #ffffff26; }
.sidebar-brand-close:focus-visible, .sidebar-brand-row .sidebar-logo a:focus-visible { outline: 2px solid #b8ffbd; outline-offset: 4px; }
.sidebar-brand-row + .sidebar-nav { padding-top: 20px; }
.brand-official .site-brand { width: 100%; height: 100%; }
.brand-official .site-brand .brand-img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.public-topbar .brand-text, .ck-brand { min-width: 0; flex-shrink: 1; }
.public-topbar .brand-text { text-decoration: none; line-height: 1; }
.ck-secure { flex-shrink: 0; }
.brand-preview-image { display: block; width: auto; max-width: 100%; max-height: 70px; object-fit: contain; margin-inline: auto; }
.brand-preview-dark { display: flex; align-items: center; justify-content: center; min-height: 80px; }
.brand-preview-dark .site-brand { --brand-height: 64px; }
@media (max-width: 768px) {
  #sidebar-wrapper .sidebar-brand-row { padding: 10px 16px 20px; min-height: 92px; }
  .sidebar-brand-close { display: inline-flex; }
}
@media (max-width: 600px) {
  .site-brand--store, .site-brand--checkout { max-width: 136px; }
  .site-brand--store .brand-img, .site-brand--checkout .brand-img { max-height: 42px; }
  .site-brand--login { padding: 13px 19px; max-width: min(100%,270px); border-radius: 16px; }
  .site-brand--login .brand-img { max-width: 225px; max-height: 86px; }
  .site-brand--login.site-brand--adapted { width: 248px; padding: 0; }
  .site-brand--login.site-brand--adapted .brand-img { max-width: 100%; max-height: none; }
  .brand-section .site-brand--login { align-self: center; margin-bottom: 15px; }
  .public-topbar .container-fluid { gap: 12px; padding-inline: 16px !important; }
  .public-topbar .container-fluid > .d-flex { gap: 12px !important; flex-shrink: 0; }
  .public-topbar .nav-link-subtle { font-size: 12px; white-space: nowrap; }
  .public-topbar .nav-link-subtle i { display: none; }
  .ck-topbar { gap: 10px; }
}
@media (max-width: 370px) {
  .site-brand--store, .site-brand--checkout { max-width: 112px; }
  .public-topbar .container-fluid > .d-flex { gap: 10px !important; }
  .public-topbar .nav-link-subtle { font-size: 11px; }
  .ck-secure { font-size: 10px; }
}
