/* Approved QOMAR wordmarks use the saved layout's existing logo slots. */
.qomar-logo-lockup{--qomar-logo-width:170px;--qomar-logo-height:66px;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:var(--qomar-logo-width)!important;height:var(--qomar-logo-height)!important;flex:0 0 auto;gap:0!important;min-width:0!important;max-width:100%;padding:0!important;font-size:0!important;line-height:0!important;border:1px solid #d8b27c!important;border-radius:10px;overflow:hidden;background:#faf6ed!important;box-shadow:inset 0 1px 0 #fff,0 3px 12px #3826191a!important}
.qomar-logo-lockup > :not(.qomar-wordmark){display:none!important}
.qomar-logo-lockup > img.qomar-wordmark{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:100%!important;flex:none!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;transform:none!important;filter:contrast(1.2) saturate(1.06);image-rendering:auto}
.admin-sidebar-brand.qomar-logo-lockup{--qomar-logo-width:190px;--qomar-logo-height:78px;margin:10px auto 22px!important;width:calc(100% - 28px)!important}
.admin-gate-mobile-brand.qomar-logo-lockup{--qomar-logo-width:210px;--qomar-logo-height:86px}
.seller-account-switch > img.qomar-account-wordmark{width:150px!important;height:46px!important;max-width:150px!important;flex:0 0 150px!important;object-fit:cover!important;object-position:center!important;border-radius:7px!important;background:#faf6ed!important;filter:contrast(1.12) saturate(1.05)}
.seller-account-switch{width:230px!important;height:55px!important;flex:0 0 230px!important;overflow:hidden!important;padding:4px 7px!important;border-radius:8px!important;background:#faf6ed!important}
.seller-account-switch:has(.qomar-account-wordmark) > span > strong{display:none!important}
.seller-account-switch:has(.qomar-account-wordmark){gap:8px!important;min-width:0!important}.seller-account-switch:has(.qomar-account-wordmark)>span{display:grid!important;max-width:58px!important}.seller-account-switch:has(.qomar-account-wordmark)>span small{display:block!important;max-width:58px!important;color:#184838!important;font-size:9px!important;line-height:1.2!important;white-space:normal!important}.seller-account-switch:has(.qomar-account-wordmark)>b{display:none!important}
.sm-account > img.qomar-account-avatar{width:70px!important;height:52px!important;object-fit:cover!important;object-position:center!important;border-radius:9px!important;background:#faf6ed!important;filter:contrast(1.12) saturate(1.05)}
.install-brand.qomar-logo-lockup{margin-bottom:24px}
body.nh-store .app-header .app-brand.qomar-logo-lockup{--qomar-logo-width:148px;--qomar-logo-height:50px}
.admin-sidebar-collapsed .admin-sidebar-brand.qomar-logo-lockup{display:none!important}
@media(max-width:700px){
  .qomar-logo-lockup{--qomar-logo-width:150px;--qomar-logo-height:58px}
  .seller-account-switch{width:min(230px,calc(100vw - 82px))!important;height:52px!important;flex:0 0 min(230px,calc(100vw - 82px))!important}
  .seller-account-switch > img.qomar-account-wordmark{width:148px!important;height:44px!important;max-width:148px!important;flex-basis:148px!important}
  .phone-preview-header .qomar-logo-lockup{--qomar-logo-width:150px;--qomar-logo-height:58px}
}

/* Keep the complete approved mark visible without changing the surrounding layout. */
html body .qomar-logo-lockup>img.qomar-wordmark,
html body .admin-header .seller-account-switch>img.qomar-account-wordmark,
html body .sm-account>img.qomar-account-avatar{object-fit:contain!important;filter:none!important}

/* The panel mark shares its surrounding surface; only the artwork remains. */
html body .qomar-logo-lockup.qomar-adaptive-brand,
html body[data-reference-role] .admin-header .seller-account-switch{
 background:transparent!important;border-color:transparent!important;box-shadow:none!important;
}
html body[data-reference-role] .admin-header .seller-account-switch>img.qomar-account-wordmark,
html body .sm-account>img.qomar-account-avatar{background:transparent!important;box-shadow:none!important}
html body .admin-sidebar-brand.qomar-adaptive-brand{border:0!important;padding:0!important;overflow:visible!important}
html body .qomar-adaptive-brand>img.qomar-wordmark{object-fit:contain!important;filter:none!important}
@media(max-width:700px){
 html body[data-reference-role] .admin-header .seller-account-switch>span small{color:#fffaf0!important}
}
