/* ALABQRI — center identity + contact alignment, additive isolated layer */
.abq-center-brand-card{
  position:relative !important;
  isolation:isolate !important;
  overflow:hidden !important;
  background:linear-gradient(135deg,#0f3b82 0%,#1d4ed8 55%,#0f766e 100%) !important;
  border:1px solid #2563eb !important;
  border-right:5px solid #d4af37 !important;
  color:#fff !important;
  box-shadow:0 10px 24px -18px rgba(15,59,130,.75) !important;
  z-index:1 !important;
}
.abq-center-brand-card::before{
  content:"" !important;
  position:absolute !important;
  inset:0 0 auto 0 !important;
  height:3px !important;
  background:linear-gradient(90deg,#1d4ed8,#38bdf8,#d4af37) !important;
  z-index:0 !important;
  pointer-events:none !important;
}
.abq-center-brand-card::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:linear-gradient(135deg,#0f3b82 0%,#1d4ed8 55%,#0f766e 100%) !important;
  z-index:-1 !important;
  pointer-events:none !important;
}
.abq-center-brand-card > *{position:relative !important;z-index:2 !important;}
.abq-center-brand-card h2,.abq-center-brand-card p{color:#fff !important;text-shadow:0 2px 4px rgba(0,0,0,.35) !important;}
.abq-center-brand-card p span{color:#fde68a !important;}
.abq-center-brand-card h2,.abq-center-brand-card p{position:relative !important;z-index:2 !important;}
@media (max-width:768px){
  .abq-center-brand-card{padding:.78rem .85rem !important;border-right-width:4px !important;border-radius:.9rem !important;min-height:0 !important;}
  .abq-center-brand-card h2{font-size:.96rem !important;line-height:1.55 !important;white-space:normal !important;}
  .abq-center-brand-card p{font-size:.72rem !important;line-height:1.6 !important;}
}
@media (max-width:420px){
  .abq-center-brand-card{padding:.7rem !important;}
  .abq-center-brand-card h2{font-size:.9rem !important;}
  .abq-center-brand-card p{font-size:.68rem !important;}
}
@media (min-width:769px){
  /* PC only: doctor identity on one centered line */
  .abq-center-v2:has(a[href^="tel:+201120909856"]) h4,
  #contact:has(a[href^="tel:+201120909856"]) h4,
  #tab-center:has(a[href^="tel:+201120909856"]) h4{
    white-space:nowrap !important;
    text-align:center !important;
    width:100% !important;
    margin-inline:auto !important;
    line-height:1.5 !important;
  }
  /* PC only: direct call + WhatsApp centered together in their existing frame */
  .abq-center-v2:has(a[href^="tel:+201120909856"]) a[href^="tel:+201120909856"],
  .abq-center-v2:has(a[href*="wa.me/201120909856"]) a[href*="wa.me/201120909856"],
  #contact:has(a[href^="tel:+201120909856"]) a[href^="tel:+201120909856"],
  #contact:has(a[href*="wa.me/201120909856"]) a[href*="wa.me/201120909856"],
  #tab-center:has(a[href^="tel:+201120909856"]) a[href^="tel:+201120909856"],
  #tab-center:has(a[href*="wa.me/201120909856"]) a[href*="wa.me/201120909856"]{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    vertical-align:middle !important;
    margin-inline:.25rem !important;
    margin-block:.2rem !important;
    float:none !important;
  }
  .abq-center-v2:has(a[href^="tel:+201120909856"]) a[href^="tel:+201120909856"],
  .abq-center-v2:has(a[href*="wa.me/201120909856"]) a[href*="wa.me/201120909856"],
  #contact:has(a[href^="tel:+201120909856"]) a[href^="tel:+201120909856"],
  #contact:has(a[href*="wa.me/201120909856"]) a[href*="wa.me/201120909856"],
  #tab-center:has(a[href^="tel:+201120909856"]) a[href^="tel:+201120909856"],
  #tab-center:has(a[href*="wa.me/201120909856"]) a[href*="wa.me/201120909856"]{
    text-align:center !important;
  }

}

/* ALABQRI mobile header recovery layer — isolated from tab navigation and desktop */
@media screen and (max-width: 767px) {
  html body header.bg-white .abq-header-brand-license-frame {
    display: flex !important;
    flex-flow: column nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-inline: auto !important;
    padding: 9px 8px !important;
    box-sizing: border-box !important;
    border: 2px solid #d4af37 !important;
    border-radius: 12px !important;
    overflow: visible !important;
  }
  html body header.bg-white .abq-header-brand-area {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white .abq-header-brand-area > div:first-child {
    flex: 0 0 64px !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    max-height: 64px !important;
    align-self: center !important;
  }
  html body header.bg-white .abq-header-brand-area > div:last-child,
  html body header.bg-white .abq-header-license-area {
    display: block !important;
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
  html body header.bg-white .abq-header-brand-area h1,
  html body header.bg-white .abq-header-brand-area h1 > span,
  html body header.bg-white .abq-header-brand-area h1 > span > span {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 2px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white .abq-header-brand-area h1 {
    font-size: clamp(13px, 4vw, 16px) !important;
    line-height: 1.5 !important;
  }
  html body header.bg-white .abq-header-brand-area h1 > span > span {
    margin-top: 2px !important;
    font-size: clamp(11px, 3.5vw, 14px) !important;
    line-height: 1.5 !important;
  }
  html body header.bg-white .abq-header-license-text {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    padding: .3rem .35rem !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    box-sizing: border-box !important;
    text-align: center !important;
    font-size: clamp(10px, 3.1vw, 12px) !important;
    line-height: 1.5 !important;
  }
}



/* ALABQRI mobile identity-frame final stabilization — 2026-10-10
   Scoped to the real homepage header classes; leaves desktop and tab behavior intact. */
@media screen and (max-width: 767px) {
  html body header.bg-white div.abq-header-brand-license-frame {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 9px 8px !important;
    box-sizing: border-box !important;
    border: 3px solid #d4af37 !important;
    border-radius: 13px !important;
    overflow: visible !important;
  }
  html body header.bg-white div.abq-header-brand-license-frame > div.abq-header-brand-area {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white div.abq-header-brand-license-frame > div.abq-header-brand-area > div:first-child {
    display: flex !important;
    flex: 0 0 58px !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white div.abq-header-brand-license-frame > div.abq-header-brand-area > div:last-child {
    display: block !important;
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white div.abq-header-brand-license-frame .abq-header-brand-area h1,
  html body header.bg-white div.abq-header-brand-license-frame .abq-header-brand-area h1 > span,
  html body header.bg-white div.abq-header-brand-license-frame .abq-header-brand-area h1 > span > span {
    display: block !important;
    position: static !important;
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 2px !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: center !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white div.abq-header-brand-license-frame .abq-header-brand-area h1 {
    font-size: clamp(13px, 4vw, 16px) !important;
  }
  html body header.bg-white div.abq-header-brand-license-frame .abq-header-brand-area h1 > span > span {
    margin-top: 2px !important;
    font-size: clamp(11px, 3.5vw, 14px) !important;
  }
  html body header.bg-white div.abq-header-brand-license-frame > div.abq-header-license-area {
    display: block !important;
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white div.abq-header-brand-license-frame .abq-header-license-text {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    padding: 3px 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: clamp(10px, 3.1vw, 12px) !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white div.abq-header-brand-license-frame > nav.main-tabs-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 5px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  html body header.bg-white div.abq-header-brand-license-frame > nav.main-tabs-nav .nav-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 36px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 6px 4px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white div.abq-header-brand-license-frame > nav.main-tabs-nav .nav-btn:first-child {
    grid-column: 1 / -1 !important;
  }
}
@media screen and (max-width: 360px) {
  html body header.bg-white div.abq-header-brand-license-frame > nav.main-tabs-nav .nav-btn {
    font-size: 11px !important;
    padding-inline: 3px !important;
  }
}


/* ALABQRI final structural fix 2026-10-10:
   The identity block and the eight-tab nav are siblings in index.html.
   Put the single gold frame on their shared header container, not on the identity block alone. */
html body header.bg-white > div.container.mx-auto {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 12px 14px !important;
  box-sizing: border-box !important;
  border: 5px solid transparent !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg,#fffdf8 0%,#f8fbff 50%,#fffaf0 100%) padding-box,
    linear-gradient(145deg,#fffdf0 0%,#ffdf55 5%,#fff2a0 10%,#e9a900 18%,#ffed78 26%,#c88908 34%,#ffeaa0 40%,#f7f8fb 43%,#c7ced8 46%,#fffdf4 48%,#8e99a8 51%,#e0a51b 54%,#123875 57%,#09295f 62%,#ffdf55 69%,#e6a500 77%,#ffef99 85%,#b87900 92%,#fff7cf 100%) border-box !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.95),
    inset 0 0 0 1px rgba(229,234,241,.98),
    inset 0 0 0 2px rgba(255,190,18,.7),
    0 0 0 1px #ffdf55, 0 2px 0 #8a5700,
    0 5px 12px rgba(0,0,0,.14), 0 0 12px rgba(255,191,25,.22) !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 9px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
html body header.bg-white > div.container.mx-auto > nav.main-tabs-nav {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
@media screen and (max-width: 767px) {
  html body header.bg-white > div.container.mx-auto {
    gap: 8px !important;
    padding: 9px 8px !important;
    border-width: 3px !important;
    border-radius: 13px !important;
    overflow: visible !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    gap: 8px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:first-child {
    flex: 0 0 58px !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    margin: 0 auto !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:last-child {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white > div.container.mx-auto .abq-header-brand-area h1,
  html body header.bg-white > div.container.mx-auto .abq-header-brand-area h1 > span,
  html body header.bg-white > div.container.mx-auto .abq-header-brand-area h1 > span > span {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 2px !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: center !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white > div.container.mx-auto .abq-header-brand-area h1 {
    font-size: clamp(13px, 4vw, 16px) !important;
  }
  html body header.bg-white > div.container.mx-auto .abq-header-brand-area h1 > span > span {
    margin-top: 2px !important;
    font-size: clamp(11px, 3.4vw, 13px) !important;
  }
  html body header.bg-white > div.container.mx-auto .abq-header-license-area {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white > div.container.mx-auto .abq-header-license-text {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 3px 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: clamp(10px, 3.1vw, 12px) !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white > div.container.mx-auto > nav.main-tabs-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 5px !important;
    padding: 4px 0 0 !important;
    overflow: visible !important;
  }
  html body header.bg-white > div.container.mx-auto > nav.main-tabs-nav .nav-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 36px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 6px 4px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white > div.container.mx-auto > nav.main-tabs-nav .nav-btn:first-child {
    grid-column: 1 / -1 !important;
  }
}
@media screen and (max-width: 360px) {
  html body header.bg-white > div.container.mx-auto > nav.main-tabs-nav .nav-btn {
    font-size: 11px !important;
    padding-inline: 3px !important;
  }
}


/* ALABQRI heading containment fix 2026-10-10: target the actual H1 markup directly */
html body header.bg-white h1.text-lg {
  display: block !important;
  flex: 0 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  box-sizing: border-box !important;
}
html body header.bg-white h1.text-lg > span {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  box-sizing: border-box !important;
}
html body header.bg-white h1.text-lg > span > span {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  box-sizing: border-box !important;
}
@media screen and (min-width: 768px) {
  html body header.bg-white h1.text-lg {
    text-align: right !important;
  }
  html body header.bg-white h1.text-lg > span {
    display: inline !important;
    width: auto !important;
  }
  html body header.bg-white h1.text-lg > span > span {
    display: inline !important;
    width: auto !important;
  }
}
@media screen and (max-width: 767px) {
  html body header.bg-white h1.text-lg {
    font-size: clamp(13px, 4vw, 16px) !important;
    line-height: 1.45 !important;
    padding-inline: 2px !important;
  }
  html body header.bg-white h1.text-lg > span {
    padding-inline: 0 !important;
    text-align: center !important;
  }
  html body header.bg-white h1.text-lg > span > span {
    margin-top: 2px !important;
    font-size: clamp(11px, 3.4vw, 13px) !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }
}


/* ALABQRI identity-only single frame: desktop horizontal, mobile responsive */
html body header.bg-white > div.container.mx-auto {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 4px 0 !important;
  gap: 8px !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 4px solid transparent !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg,#fffdf8 0%,#f8fbff 50%,#fffaf0 100%) padding-box,
    linear-gradient(145deg,#fffdf0 0%,#ffdf55 5%,#fff2a0 10%,#e9a900 18%,#ffed78 26%,#c88908 34%,#ffeaa0 40%,#f7f8fb 43%,#c7ced8 46%,#fffdf4 48%,#8e99a8 51%,#e0a51b 54%,#123875 57%,#09295f 62%,#ffdf55 69%,#e6a500 77%,#ffef99 85%,#b87900 92%,#fff7cf 100%) border-box !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.95),
    inset 0 0 0 1px rgba(229,234,241,.98),
    inset 0 0 0 2px rgba(255,190,18,.7),
    0 0 0 1px #ffdf55, 0 2px 0 #8a5700,
    0 5px 12px rgba(0,0,0,.14), 0 0 12px rgba(255,191,25,.22) !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:first-child {
  flex: 0 0 68px !important;
  width: 68px !important;
  min-width: 68px !important;
  max-width: 68px !important;
  height: 68px !important;
  margin: 0 !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:last-child {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 34% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
html body header.bg-white > div.container.mx-auto .abq-header-license-text {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 4px 6px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-align: center !important;
  font-size: clamp(12px, 1vw, 15px) !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
}
html body header.bg-white h1.text-lg {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
html body header.bg-white h1.text-lg > span {
  display: inline !important;
  width: auto !important;
  max-width: 100% !important;
}
html body header.bg-white h1.text-lg > span > span {
  display: inline !important;
  width: auto !important;
  max-width: 100% !important;
}
@media screen and (min-width: 768px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    flex-wrap: nowrap !important;
  }
  html body header.bg-white > div.container.mx-auto .abq-header-brand-area h1 {
    font-size: clamp(16px, 1.45vw, 22px) !important;
    line-height: 1.45 !important;
    text-align: right !important;
  }
  html body header.bg-white > div.container.mx-auto .abq-header-brand-area h1 > span > span {
    font-size: inherit !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
    border-right: 1px solid rgba(190,137,12,.45) !important;
    padding-right: 12px !important;
  }
}
@media screen and (max-width: 767px) {
  html body header.bg-white > div.container.mx-auto {
    padding: 3px 8px !important;
    gap: 8px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 9px 8px !important;
    border-width: 3px !important;
    border-radius: 13px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area {
    flex-direction: column !important;
    flex: 0 1 auto !important;
    gap: 5px !important;
    width: 100% !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:first-child {
    flex: 0 0 52px !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:last-child {
    width: 100% !important;
  }
  html body header.bg-white h1.text-lg {
    font-size: clamp(13px, 4vw, 16px) !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }
  html body header.bg-white h1.text-lg > span,
  html body header.bg-white h1.text-lg > span > span {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  html body header.bg-white h1.text-lg > span > span {
    margin-top: 2px !important;
    font-size: clamp(11px, 3.4vw, 13px) !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border: 0 !important;
    padding: 0 !important;
  }
  html body header.bg-white > div.container.mx-auto .abq-header-license-text {
    font-size: clamp(11px, 3.2vw, 13px) !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }
}


/* ALABQRI: put logo, platform title and license text inside the same identity frame */
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
  position: relative !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area,
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
  position: relative !important;
  z-index: 1 !important;
}
/* Hide any separate visual treatment around the license text: the outer identity frame owns it */
html body header.bg-white > div.container.mx-auto .abq-header-license-area,
html body header.bg-white > div.container.mx-auto .abq-header-license-text {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Desktop: logo, title and license in one horizontal row within the same gold frame */
@media screen and (min-width: 768px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
    flex: 0 1 30% !important;
    width: auto !important;
    max-width: 30% !important;
    min-width: 0 !important;
    padding: 0 10px 0 0 !important;
    border-right: 1px solid rgba(190,137,12,.45) !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white > div.container.mx-auto .abq-header-license-text {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }
}
/* Mobile: stack all identity content, still within that same single gold frame */
@media screen and (max-width: 767px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 9px 8px !important;
    border: 3px solid transparent !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  html body header.bg-white > div.container.mx-auto .abq-header-license-text {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 3px 2px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }
}


/* ALABQRI FINAL OVERRIDE 2026-10-10: one visible gold identity frame only.
   Keep the eight navigation tabs as a separate sibling outside this frame. */
html body header.bg-white > div.container.mx-auto {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  box-sizing: border-box !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 3px solid #d4af37 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 0 0 1px rgba(212,175,55,.16), 0 5px 16px rgba(180,130,20,.12) !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-license-area {
  min-width: 0 !important;
  box-sizing: border-box !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-license-text {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  box-sizing: border-box !important;
}
html body header.bg-white > div.container.mx-auto > nav.main-tabs-nav {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 8px !important;
  box-sizing: border-box !important;
}
@media screen and (min-width: 768px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 12px 16px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area {
    flex: 1 1 auto !important;
    flex-direction: row !important;
    gap: 14px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:first-child {
    flex: 0 0 64px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:last-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-brand-area h1 {
    width: 100% !important;
    text-align: right !important;
    line-height: 1.5 !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-brand-area h1 > span {
    display: inline !important;
    width: auto !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-brand-area h1 > span > span {
    display: inline !important;
    width: auto !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
    flex: 0 1 30% !important;
    width: auto !important;
    max-width: 30% !important;
    padding-right: 14px !important;
    border-right: 1px solid rgba(190,137,12,.45) !important;
    text-align: center !important;
  }
}
@media screen and (max-width: 767px) {
  html body header.bg-white > div.container.mx-auto {
    padding-left: 8px !important;
    padding-right: 8px !important;
    gap: 8px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 10px 8px !important;
    border: 3px solid #d4af37 !important;
    border-radius: 13px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area {
    flex: 0 1 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:first-child {
    flex: 0 0 54px !important;
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    margin: 0 auto !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:last-child,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: center !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-brand-area h1,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-brand-area h1 > span,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-brand-area h1 > span > span {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.5 !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-brand-area h1 {
    font-size: clamp(13px, 4vw, 16px) !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-brand-area h1 > span > span {
    margin-top: 2px !important;
    font-size: clamp(11px, 3.4vw, 13px) !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-license-text {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 2px 0 !important;
    font-size: clamp(11px, 3.2vw, 13px) !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }
}


/* ALABQRI mobile-only: logo beside platform title, isolated from desktop */
@media screen and (max-width: 767px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    column-gap: 12px !important;
    row-gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:first-child {
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 0 !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:last-child {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 60px) !important;
    text-align: right !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-brand-area h1 {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(11px, 3.5vw, 14px) !important;
    line-height: 1.35 !important;
    text-align: right !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}



/* ALABQRI identity header: three isolated sections, responsive and contained */
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-section {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 64px !important;
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border: 1px solid #bae6fd !important;
  border-radius: 16px !important;
  background: linear-gradient(45deg,#2563eb,#38bdf8) !important;
  box-shadow: 0 4px 12px rgba(37,99,235,.18) !important;
  transform: none !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-box img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-section {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame h1.abq-header-platform-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #2563eb !important;
  font-size: clamp(16px,2.1vw,22px) !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-main,
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-sub {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-sub {
  color: #15803d !important;
  font-size: .88em !important;
  line-height: 1.4 !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-center-name,
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-license-text {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #1d4ed8 !important;
  font-size: clamp(12px,1.5vw,16px) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
@media screen and (max-width: 767px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    gap: 8px !important;
    padding: 9px 8px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-box {
    flex-basis: 56px !important;
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    border-radius: 14px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame h1.abq-header-platform-title {
    font-size: clamp(12px,3.7vw,15px) !important;
    line-height: 1.38 !important;
    gap: 2px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-sub {
    font-size: .9em !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-center-name,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-license-text {
    font-size: clamp(12px,3.5vw,14px) !important;
    line-height: 1.4 !important;
  }
}

/* Final specificity guard: neutralise legacy logo positioning on the new section wrapper */
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div.abq-header-logo-section {
  display: flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}


/* ALABQRI mobile logo alignment — robust grid placement of direct identity-frame children */
@media screen and (max-width: 767px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    display: grid !important;
    grid-template-columns: 60px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    column-gap: 10px !important;
    row-gap: 7px !important;
    box-sizing: border-box !important;
  }

  /* Flatten the brand wrapper so logo and title can occupy separate grid cells. */
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area {
    display: contents !important;
  }

  /* Place the entire first brand child in the left column across both text rows. */
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:first-child,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-section {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: stretch !important;
    justify-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-box {
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 0 !important;
    transform: none !important;
  }

  /* Title stays in the upper right cell; license stays in the lower right cell. */
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:last-child,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-section {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: end !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: right !important;
    box-sizing: border-box !important;
  }

  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    box-sizing: border-box !important;
  }

  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-section h1,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-main,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-sub,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-center-name,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-license-text {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: right !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }
}

@media screen and (max-width: 360px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    column-gap: 7px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area > div:first-child,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-section {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-box {
    flex-basis: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }
}


/* ALABQRI identity frame — three aligned internal sections, desktop RTL row and mobile-safe stack.
   Additive override only; preserves the outer gold frame, navigation, and existing platform behavior. */
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
  display: grid !important;
  grid-template-columns: minmax(110px, .72fr) minmax(0, 1.45fr) minmax(0, 1.35fr) !important;
  grid-template-rows: auto auto !important;
  direction: rtl !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  column-gap: 0 !important;
  row-gap: 10px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-brand-area {
  display: contents !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-section {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  transform: none !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-section {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
  border-inline-start: 1px solid rgba(201,164,76,.72) !important;
  border-inline-end: 1px solid rgba(201,164,76,.72) !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
  border-inline-start: 1px solid rgba(201,164,76,.72) !important;
  text-align: center !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > nav.main-tabs-nav {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  min-width: 0 !important;
  width: 100% !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame h1.abq-header-platform-title {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-center-name,
html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-license-text {
  text-align: center !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
@media screen and (min-width: 768px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-box {
    align-self: center !important;
    margin-inline: auto !important;
  }
}
@media screen and (max-width: 767px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto !important;
    row-gap: 5px !important;
    padding: 8px !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-section {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 2px 0 6px !important;
    border: 0 !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-box {
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 0 auto !important;
    transform: none !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-section {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding: 5px 4px !important;
    border-inline: 0 !important;
    border-top: 1px solid rgba(201,164,76,.72) !important;
    border-bottom: 1px solid rgba(201,164,76,.72) !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > div.abq-header-license-area {
    grid-column: 1 !important;
    grid-row: 3 / span 2 !important;
    gap: 3px !important;
    padding: 5px 4px !important;
    border-inline-start: 0 !important;
    text-align: center !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-center-name,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-license-text {
    font-size: clamp(12px, 3.6vw, 14px) !important;
    line-height: 1.4 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame h1.abq-header-platform-title {
    font-size: clamp(13px, 4vw, 16px) !important;
    line-height: 1.35 !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-main,
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-title-sub {
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame > nav.main-tabs-nav {
    grid-column: 1 !important;
    grid-row: 5 !important;
    margin-top: 4px !important;
  }
}
@media screen and (max-width: 360px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame .abq-header-logo-box {
    flex-basis: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }
}


/* ALABQRI PC-only: match lower inner frame spacing to the measured 12px top inset — 2026-10-16 */
@media screen and (min-width: 1024px) {
  html body header.bg-white > div.container.mx-auto > div.abq-header-brand-license-frame {
    padding-bottom: 12px !important;
    box-sizing: border-box !important;
  }
}
