/* Wazapbro Workspace v11.2.0 — shell, Home and Login polish */

/* Header brand: always show the complete Wazapbro wordmark. */
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-brand{
  min-width:0;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-logo{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:132px!important;
  height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:visible!important;
  padding:0!important;
}
body.ws-ui-v9.ws-sap-theme .ws-brand-logo-crop{
  width:132px!important;
  height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:visible!important;
  clip-path:none!important;
  border-radius:0!important;
}
body.ws-ui-v9.ws-sap-theme .ws-brand-logo-crop img,
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-logo>img{
  display:block!important;
  width:132px!important;
  max-width:132px!important;
  height:34px!important;
  max-height:34px!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:none!important;
  margin:0!important;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-divider{flex:0 0 1px!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-product{white-space:nowrap!important}

/* Home: true full-width application canvas, while retaining useful gutters. */
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-header-main{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-home-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:18px 0 42px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-page-header,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-home-layout,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-home-main{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-home-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,320px)!important;
  gap:22px!important;
  align-items:start!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-search-panel,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-app-group{
  width:100%!important;
  max-width:none!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-tile-grid,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-home-app-grid{
  width:100%!important;
  max-width:none!important;
}

/* Login: compact proportional Wazapbro identity. */
body.ws-sap-login .ws-login-branding{
  align-items:flex-start!important;
}
body.ws-sap-login .ws-login-logo-link{
  display:inline-flex!important;
  width:auto!important;
  height:auto!important;
  max-width:150px!important;
  overflow:visible!important;
}
body.ws-sap-login .ws-login-official-logo{
  display:block!important;
  width:142px!important;
  max-width:142px!important;
  height:36px!important;
  max-height:36px!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:none!important;
  margin:0!important;
}

@media (max-width:1100px){
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-logo{min-width:118px!important;height:40px!important}
  body.ws-ui-v9.ws-sap-theme .ws-brand-logo-crop{width:118px!important;height:30px!important}
  body.ws-ui-v9.ws-sap-theme .ws-brand-logo-crop img,
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-logo>img{width:118px!important;max-width:118px!important;height:30px!important;max-height:30px!important}
  body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-home-layout{grid-template-columns:1fr!important}
  body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-side-column{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
}
@media (max-width:767.98px){
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-logo{min-width:106px!important}
  body.ws-ui-v9.ws-sap-theme .ws-brand-logo-crop{width:106px!important;height:28px!important}
  body.ws-ui-v9.ws-sap-theme .ws-brand-logo-crop img,
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-logo>img{width:106px!important;max-width:106px!important;height:28px!important;max-height:28px!important}
  body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-home-shell{padding-top:12px!important}
  body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-side-column{grid-template-columns:1fr!important}
  body.ws-sap-login .ws-login-official-logo{width:128px!important;max-width:128px!important;height:32px!important;max-height:32px!important}
}
