/* Masaa v5.2 — audited approved brand lockup: مسعى + وظائف */
.brand{
  position:relative!important;
  display:inline-flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  min-width:142px!important;
  line-height:1!important;
  padding:2px 0 1px!important;
}
.brand-wordmark-wrap{
  display:block!important;
  width:136px!important;
  height:32px!important;
  flex:0 0 auto!important;
  position:relative!important;
}
.brand-wordmark{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
.brand-jobs-line{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  margin-top:0!important;
  color:#F4B51D!important;
  font-size:.72rem!important;
  font-weight:900!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  line-height:1!important;
}
.brand-jobs-line .bi-svg{
  width:12px!important;
  height:12px!important;
  display:block!important;
  color:#F4B51D!important;
}
.brand-tagline{display:none!important}
.brand.mini{min-width:112px!important}
.brand.mini .brand-wordmark-wrap{width:104px!important;height:25px!important}
.brand.mini .brand-jobs-line{font-size:.58rem!important;gap:3px!important;margin-top:0!important}
.brand.mini .brand-jobs-line .bi-svg{width:10px!important;height:10px!important}
@media(max-width:820px){
  .topbar-inner{height:66px!important}
  .brand{min-width:128px!important;justify-self:center!important;padding-top:1px!important}
  .brand-wordmark-wrap{width:124px!important;height:29px!important}
  .brand-jobs-line{font-size:.66rem!important;margin-top:0!important;gap:4px!important}
  .brand-jobs-line .bi-svg{width:11px!important;height:11px!important}
  .main-nav{top:66px!important}
}
@media(max-width:360px){
  .brand{min-width:116px!important}
  .brand-wordmark-wrap{width:112px!important;height:27px!important}
  .brand-jobs-line{font-size:.62rem!important}
}


/* v7.0 — soft Telegram growth prompt, shown only after engagement */
.telegram-growth-prompt{
  position:fixed;
  z-index:1180;
  left:22px;
  bottom:22px;
  width:min(420px,calc(100vw - 44px));
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  padding:13px 14px;
  border:1px solid rgba(36,104,84,.18);
  border-radius:17px;
  background:rgba(249,252,250,.97);
  color:#173b32;
  box-shadow:0 18px 46px rgba(17,65,53,.17);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  opacity:0;
  transform:translateY(16px);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
}
.telegram-growth-prompt[hidden]{display:none!important}
.telegram-growth-prompt.show{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.telegram-growth-icon{
  width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
  border-radius:14px;
  background:rgba(34,158,217,.11);
  color:#178ec6;
  font-size:1.15rem;
}
.telegram-growth-copy{display:flex;min-width:0;flex-direction:column;gap:3px}
.telegram-growth-copy strong{font-size:.86rem;line-height:1.45}
.telegram-growth-copy small{font-size:.7rem;line-height:1.55;color:#647d74}
.telegram-growth-action{
  min-height:38px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0 12px;
  border-radius:11px;
  background:#0b5b49;
  color:#fff!important;
  font-size:.72rem;
  font-weight:800;
  white-space:nowrap;
  text-decoration:none!important;
}
.telegram-growth-close{
  position:absolute;
  top:4px;
  left:5px;
  width:26px;height:26px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#779087;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
html[data-theme="dark"] .telegram-growth-prompt{
  background:rgba(7,31,26,.96);
  color:#effaf6;
  border-color:rgba(114,190,166,.18);
}
html[data-theme="dark"] .telegram-growth-copy small{color:#a8c0b7}
@media(max-width:820px){
  .telegram-growth-prompt{
    left:12px;
    right:12px;
    bottom:82px;
    width:auto;
    grid-template-columns:40px minmax(0,1fr) auto;
    padding:11px 12px;
    border-radius:15px;
  }
  .telegram-growth-icon{width:40px;height:40px;border-radius:12px}
  .telegram-growth-copy strong{font-size:.78rem}
  .telegram-growth-copy small{font-size:.64rem}
  .telegram-growth-action{padding:0 10px;font-size:.68rem}
}
@media(max-width:480px){
  .telegram-growth-prompt{
    grid-template-columns:38px minmax(0,1fr);
  }
  .telegram-growth-action{
    grid-column:1/-1;
    width:100%;
  }
}
