/* Header, mega menu, navigation, resources, marketplace modal */

.atlassian-header,
.atlassian-header *{
  box-sizing:border-box;
}
.atlassian-header{
  width:100%;
  background:#fff;
  padding:12px 36px !important;
  position:relative;
  z-index:99999;
  font-family:'Poppins',sans-serif !important;
  box-shadow:0 0 35px rgba(0,0,0,.08) !important;
  overflow:visible !important;
}

.atlassian-header-navbar{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:30px;
  max-width:1520px !important;
  width:100%;
  margin:auto;
}

.atlassian-header a{
  text-decoration:none !important;
}

.atlassian-header ul{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}

.atlassian-header-logo img{
    width:200px !important;
}

.atlassian-header-nav-menu{
    gap:42px !important;
}

.atlassian-header-nav-link{
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #3d3d3d !important;
}

.atlassian-header-products-mega-menu{

    top:var(--atlassian-mega-menu-top, 92px) !important;

    left:0 !important;
    right:0 !important;

    width:100vw !important;

    padding:0 !important;

    border-top:1px solid #ececec !important;

    box-shadow:0 10px 40px rgba(0,0,0,.08) !important;

    min-height:500px !important;

    overflow:hidden !important;
}

.atlassian-header-products-sidebar{

    width:330px !important;
    min-width:330px !important;

    border-right:1px solid #ececec !important;

    background:#fff !important;
}

.atlassian-header-product-tab{

    min-height:60px !important;

    font-size:13px !important;

    font-weight:600 !important;

    color:#232329 !important;

    margin:0 !important;

    justify-content:left !important;
}

.atlassian-header-product-tab:hover{
    background:#fff7f4 !important;
}

.atlassian-header-product-tab.active{

    background:#fff7f4 !important;

    border-right:2px solid #eb5424 !important;

    color:#eb5424 !important;
}

.atlassian-header-products-content{

    padding:25px 35px !important;

    width:100% !important;
}

.atlassian-header-product-heading-container{

    padding-bottom:20px !important;

    margin-bottom:20px !important;

    border-bottom:1px solid #ececec !important;
}

.atlassian-header-product-heading{
    margin: 0 0 10px !important;
    font-size: 19px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: #111 !important;
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: -1px;
}

.atlassian-header-product-heading-container p{

    font-size:12px !important;

    line-height:1.9 !important;

    color:#6c6e73 !important;

    max-width:920px !important;

    margin:0 !important;
}

.atlassian-header-product-grid{

    display:grid !important;

    grid-template-columns:1fr 1fr 360px !important;

    gap:0 !important;
}

.atlassian-header-product-column:nth-child(1),
.atlassian-header-product-column:nth-child(2){

    border-right:1px solid #ececec !important;
}

.atlassian-header-product-card h3{

margin: 0 0 7px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #232329 !important;
    font-family: 'Poppins', sans-serif !important;
}

.atlassian-header-product-card div{
    min-width:0;
}

.atlassian-header-help-card {
    background: #232323 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    
    margin-left: 25px !important;
    width: 334px;
}

.atlassian-header-help-card h3{

    font-size:20px !important;

    line-height:1.4 !important;

    margin-bottom:18px !important;

    color:#fff !important;
}

.atlassian-header-help-card p{

    font-size:13px !important;

    line-height:1.9 !important;

    color:#d5d5d5 !important;
}

.atlassian-header-help-card li{

    font-size:13px !important;

    color:#fff !important;
}

.atlassian-header-help-btn{

    padding:14px 22px !important;

    border-radius:8px !important;

    font-size:15px !important;

    font-weight:600 !important;
}

body{
    overflow-x:hidden !important;
}

.atlassian-header-product-item{
  position:relative;
}
     

.atlassian-header-products-mega-menu{
  position:fixed;

  top:var(--atlassian-mega-menu-top, 92px);

  left:0;
  right:0;

  width:100vw;
  height:auto;
  min-height:540px;

  background:#fff;

  border-top:1px solid #ececec;

  box-shadow:0 10px 35px rgba(0,0,0,.08);

  display:flex;

  opacity:0;
  visibility:hidden;

  z-index:99999;
  padding:1.5rem 1rem;
  overflow:hidden;
}

.atlassian-header-products-sidebar{
  border-right:1px solid #ececec;

  display:flex;
  flex-direction:column;

  padding:20px 0px;
  width: 318px;
    font-family: poppins;
    gap:15px!important;
}

.atlassian-header-product-tab{
    width:100%;
    border:none;
    background:none;
    display:flex;
    align-items:center;

    cursor:pointer;

    font-family:'Poppins',sans-serif;
    font-weight:600;
    color:#222;

    position:relative;

    padding:0.9rem 0.9rem;
    box-sizing:border-box;

    gap:14px;

    font-size:13px !important;
    margin:0.5rem 0;
}
.atlassian-header-product-tab span{
    flex:1;
    text-align:left;
}

.atlassian-header-product-tab i{
    margin-left:auto;
}

.atlassian-header-product-tab:hover{
  background-color: #fff7f4;
}

.atlassian-header-product-tab.active{
      border-right: 1.6px solid #eb5424;
        background-color: #fff7f4;

}

.atlassian-header-products-content{
  flex:1;
  background:#fff;
}

.atlassian-header-product-panel{
  display:none;
}

.atlassian-header-product-panel.active{
  display:block;
}

.atlassian-header-product-grid{
  display:grid;
  grid-template-columns:1fr 1fr 320px;
  gap:0;
}

.atlassian-header-product-column{
    padding: 0px 15px;
  }

.atlassian-header-product-column:nth-child(1),
.atlassian-header-product-column:nth-child(2){
  border-right:1px solid #ececec;
}

.atlassian-header-product-card{
  display:flex;
  align-items:flex-start;
  gap:18px;

  padding: 15px 10px !important;
  border-radius:10px;

}

.atlassian-header-product-card:hover{
background: #f0f0f0;
    border-radius: 5px;
}

.atlassian-header-product-icon{
  width:42px;
  height:42px;

  border-radius:10px;

  

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:16px;

  flex-shrink:0;
}

.atlassian-header-product-card p{
  margin:0;
  font-size:11px;
  line-height:1.8;
  color:#6c6e73;
  font-family:'Poppins',sans-serif;
}
.atlassian-header-product-card{
  align-items:flex-start;
}

.atlassian-header-product-icon{
  margin-top:4px;
}

.atlassian-header-help-card h3{
  margin:0 0 18px;

  font-size:28px;
  line-height:1.3;
  font-weight:700;
}

.atlassian-header-help-card p{
  margin:0 0 22px;

  font-size:15px;
  line-height:1.9;

  color:#d7d7d7;
}

.atlassian-header-help-card ul{
  display:flex;
  flex-direction:column;
  gap:14px;

  margin-bottom:25px !important;
}

.atlassian-header-help-card li{
  display:flex;
  align-items:center;
  gap:12px;

  font-size:15px;
}

.atlassian-header-help-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  background:#eb5424;
  color:#fff !important;

  padding:14px 24px;

  border-radius:8px;

  font-weight:600;

}

.atlassian-header-navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}



.atlassian-header-logo img{
  width:220px;
}



.atlassian-header-nav-menu{
  display:flex !important;
  align-items:center !important;
  gap:50px;
}

.atlassian-header-nav-item{
  position:relative;
}

.atlassian-header-nav-link{
  color:#1f1f1f;
  font-size:18px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:8px;
}

.atlassian-header-nav-link:hover{
  color:#eb5424;
}

.atlassian-header-nav-link i{
  font-size:12px;
}



.atlassian-header-actions{
  display:flex !important;
  align-items:center !important;
  gap:18px;
}
.atlassian-header-marketplace-btn {
    background: #0052cc;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    transition: .3s;
    width: 10vw;
    font-size: 12px !important;
    line-height: 1.2;
    box-sizing: border-box;
    min-height: 38px;
    text-decoration: none;
    align-content: center;
}
.atlassian-header-marketplace-btn:hover{
  transform:translateY(-2px);
}

.atlassian-header-marketplace-btn img{
  width:28px;
  height:28px;
  object-fit:contain;
  flex-shrink:0;
  filter:brightness(0) invert(1);
}

.atlassian-header-contact-btn {
    border: 2px solid #eb5424;
    color: #1f1f1f;
    background: transparent;
    padding: 13px 10px;
    border-radius: 10px;
    font-weight: 600;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px !important;
    width: 10vw;
    line-height: 1.2;
    box-sizing: border-box;
    min-height: 38px;
    text-decoration: none;
}
.atlassian-header-contact-btn:hover{
  background:#eb5424;
  color:#fff;
}



.atlassian-marketplace-modal{
  position:fixed;
  inset:0;
  z-index:100500;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:120px 24px 32px;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
  
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}

body.atlassian-marketplace-modal-open{
  overflow:hidden;
}

.atlassian-marketplace-modal[hidden]{
  display:none;
}

.atlassian-marketplace-modal.is-active,
.atlassian-marketplace-modal.is-closing{
  visibility:visible;
}

.atlassian-marketplace-modal.is-active{
  opacity:1;
}

.atlassian-marketplace-modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(120, 120, 120, .52);
  z-index:0;
}

.atlassian-marketplace-modal-content{
  position:relative;
  z-index:2;
  width:min(1120px, 100%);
  overflow:visible;
  background:#fff;
  border-radius:12px;
  padding:32px 36px 36px;
  box-shadow:0 18px 55px rgba(0, 0, 0, .18);
  border:1px solid #e7e7e7;
  transform:translateY(16px) scale(.98);
  transition:transform .3s ease;
  font-family:'Poppins', sans-serif;
}

.atlassian-marketplace-modal.is-active .atlassian-marketplace-modal-content{
  transform:translateY(0) scale(1);
}

.atlassian-marketplace-modal-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}

.atlassian-marketplace-modal-header-text{
  flex:1;
  min-width:0;
  padding-right:8px;
}

.atlassian-marketplace-modal-heading{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.3;
  font-weight:600;
  color:#1a1a1a;
  letter-spacing:-.01em;
}

.atlassian-marketplace-modal-subtitle{
  margin:0;
  font-size:14px;
  line-height:1.5;
  font-weight:400;
  color:#6b7280;
}

.atlassian-marketplace-modal-close{
  position:static;
  flex-shrink:0;
  width:32px;
  height:32px;
  border:1px solid #e0e0e0;
  border-radius:6px;
  background:#f8f9fa;
  color:#666;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background-color .2s ease, color .2s ease, border-color .2s ease;
}

.atlassian-marketplace-modal-close:hover{
  background:#f0f0f0;
  color:#1f1f1f;
  border-color:#d0d0d0;
}

.atlassian-marketplace-modal-close:focus-visible{
  outline:2px solid #0052cc;
  outline-offset:2px;
}

.atlassian-marketplace-modal-close-icon{
  display:block;
  flex-shrink:0;
}

.atlassian-marketplace-modal-divider{
  border:0;
  border-top:1px solid #e5e7eb;
  margin:22px 0 24px;
}

.atlassian-marketplace-modal-body{
  min-width:0;
  overflow:visible;
}

.atlassian-marketplace-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px 24px;
  align-items:stretch;
  overflow:visible;
}

.atlassian-marketplace-dropdown{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:58px;
  border:1px solid #e0e0e0;
  border-radius:6px;
  background:#fff;
  box-shadow:0 1px 3px rgba(0, 0, 0, .06);
  overflow:visible;
  position:relative;
  z-index:1;
}

.atlassian-marketplace-dropdown-toggle{
  width:100%;
  flex:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:58px;
  padding:12px 14px;
  border:0;
  background:#fff;
  color:#1f2937;
  cursor:pointer;
  border-radius:6px;
  transition:background-color .2s ease;
  box-sizing:border-box;
}

.atlassian-marketplace-dropdown-toggle:hover{
  background:#fafafa;
}

.atlassian-marketplace-dropdown-toggle:focus-visible{
  outline:2px solid #0052cc;
  outline-offset:-2px;
}

.atlassian-marketplace-dropdown-toggle-left{
  display:flex;
  align-items:center;
  gap:12px;
  flex:1;
  min-width:0;
}

.atlassian-marketplace-product-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:28px;
  height:28px;
}

.atlassian-marketplace-product-icon__img{
  width:26px;
  height:26px;
  object-fit:contain;
  display:block;
  flex-shrink:0;
}

.atlassian-marketplace-product-name{
  font-size:15px;
  line-height:1.35;
  font-weight:500;
  text-align:left;
  color:#1f2937;
  font-family:'Poppins', sans-serif;
}

.atlassian-marketplace-chevron{
  color:#9ca3af;
  font-size:12px;
  transition:transform .2s ease;
}

.atlassian-marketplace-chevron-svg{
  width:12px;
  height:12px;
  flex-shrink:0;
  color:#9ca3af;
  transition:transform .2s ease;
}

.atlassian-marketplace-chevron-svg path{
  fill:none;
  stroke:currentColor;
}

.atlassian-marketplace-dropdown.is-open .atlassian-marketplace-chevron,
.atlassian-marketplace-dropdown.is-open .atlassian-marketplace-chevron-svg{
  transform:rotate(180deg);
}

.atlassian-marketplace-dropdown.is-open{
  z-index:100;
}

.atlassian-marketplace-dropdown-menu{
  position:absolute;
  top:calc(100% + 2px);
  left:-1px;
  right:-1px;
  max-height:0;
  opacity:0;
  overflow:hidden;
  pointer-events:none;
  transform:translateY(-6px);
  transition:max-height .25s ease, opacity .2s ease, transform .2s ease;
  border:1px solid transparent;
  border-top:0;
  background:#fff;
  border-radius:0 0 6px 6px;
  box-shadow:0 8px 20px rgba(0, 0, 0, .12);
  z-index:101;
}

.atlassian-marketplace-dropdown.is-open .atlassian-marketplace-dropdown-menu{
  max-height:300px;
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
  border-color:#e0e0e0;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
}

.atlassian-marketplace-dropdown-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  font-size:14px;
  color:#1f2937;
  text-decoration:none;
  border-bottom:1px solid #f1f3f5;
  transition:background-color .2s ease, color .2s ease;
}

.atlassian-marketplace-dropdown-item:last-child{
  border-bottom:0;
}

.atlassian-marketplace-dropdown-item__img{
  width:14px;
  height:14px;
  object-fit:contain;
  display:block;
  flex-shrink:0;
}

.atlassian-marketplace-dropdown-item:hover{
  background:#eff6ff;
  color:#0f3ba5;
}



.atlassian-header-menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
}

.atlassian-header-product-tab i{
    opacity:0;
    visibility:hidden;
    color:#eb5424;
    font-size:14px;
}

.atlassian-header-product-tab.active i{
    opacity:1;
    visibility:visible;
}

.atlassian-header-resources-item{
    position:relative !important;
    padding-bottom:0 !important;
}

.atlassian-header-resources-mega-menu{
    position:fixed;
    top:var(--atlassian-mega-menu-top, 92px);
    left:0;
    right:0;
    width:100vw;
    padding:0 !important;
    background:#fff;
    border-top:1px solid #ececec;
    box-shadow:0 10px 40px rgba(0,0,0,.08);
    z-index:99999;
    opacity:0;
    visibility:hidden;
    overflow:hidden;
    min-height:500px !important;
}

.atlassian-header-resources-wrapper{
    max-width:1520px;
    margin:auto;
    padding:16px 38px 16px;
}

.atlassian-header-resources-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;

    padding-bottom:8px;

    border-bottom:1px solid #ececec;

    margin-bottom:8px;
}

.atlassian-header-resources-heading h2{
    margin:0 0 6px;

    font-size:22px;
    font-weight:600;
    color:#111;
}

.atlassian-header-resources-heading p{
  font-size: 12px !important;
    line-height: 1.9 !important;
    color: #6c6e73 !important;
    max-width: 920px !important;
    margin: 0 !important;
}

.atlassian-header-resources-close{
    border:none;
    background:none;

    font-size:28px;
    cursor:pointer;
}

.atlassian-header-resources-grid{
    display:grid;

    grid-template-columns:1fr 340px;

    gap:35px;
}

.atlassian-header-resources-links{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 10px 21px;
  padding-top: 10px;
  padding-right: 35px;
  border-right: 1px solid #ececec;
  height: fit-content;
}

.atlassian-header-resource-card{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 8px;
  border-radius: 10px;
}

.atlassian-header-resource-card:hover{
    background:#f7f7f7;
}

.atlassian-header-resource-icon{
    width:38px;
    height:38px;

    min-width:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#eb5424;

    font-size:18px;
}

.atlassian-header-resource-card h3{
margin: 0 0 2px !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #232329 !important;
    font-family: 'Poppins', sans-serif !important;
}

.atlassian-header-resource-card p{
margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: #6c6e73;
    font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   Responsive — one block per breakpoint
   ========================================================================== */

/* Mega menu — product grid (large tablet) */
@media (max-width: 1200px) {
  .atlassian-header-product-grid {
    grid-template-columns: 1fr;
  }

  .atlassian-header-product-column {
    border-right: none !important;
    padding: 0;
  }
}
/* Tablet — header, mega menus, marketplace modal */
@media (max-width: 1023px) and (min-width: 768px) {
  .atlassian-header-navbar {
    gap: 20px;
  }

  .atlassian-header-logo img {
    width: 180px;
  }

  .atlassian-header-nav-menu {
    gap: 30px;
  }

  .atlassian-header-nav-link {
    font-size: 16px;
  }

  .atlassian-header-marketplace-btn {
    width: auto;
    padding: 6px 16px;
    font-size: 14px;
    min-height: auto;
  }

  .atlassian-header-contact-btn {
    width: auto;
    padding: 6px 16px;
    font-size: 14px;
    min-height: auto;
  }

  .atlassian-header-products-mega-menu, .atlassian-header-resources-mega-menu {
    top: 80px;
    min-height: 500px;
  }

  .atlassian-header-products-content, .atlassian-header-resources-wrapper {
    padding: 18px 20px;
  }

  .atlassian-header-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .atlassian-header-resources-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .atlassian-header-resources-links {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 6px 14px;
    padding-right: 0;
    border-right: none;
  }

  .atlassian-marketplace-modal {
    padding: 100px 16px 24px;
  }

  .atlassian-marketplace-modal-content {
    padding: 28px 24px 30px;
  }
}
/* Marketplace modal — two-column grid */
@media (max-width: 1023px) {
  .atlassian-marketplace-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
  }
}
/* Mobile — header, mega menus, marketplace modal */
@media (max-width: 767px) {

  /* Marketplace modal */
  .atlassian-marketplace-modal {
    padding: 88px 12px 20px;
    align-items: flex-start;
  }

  .atlassian-marketplace-modal-content {
    padding: 22px 18px 24px;
    overflow: visible;
  }

  .atlassian-marketplace-modal-heading {
    font-size: 18px;
  }

  .atlassian-marketplace-modal-subtitle {
    font-size: 13px;
  }

  .atlassian-marketplace-modal-divider {
    margin: 18px 0 20px;
  }

  .atlassian-marketplace-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .atlassian-marketplace-product-name {
    font-size: 14px;
  }

  /* Header & mega menus (≤767; overridden by ≤1100 mobile nav block) */
  .atlassian-header {
    padding: 15px 20px;
  }

  .atlassian-header-navbar {
    gap: 15px;
  }

  .atlassian-header-logo img {
    width: 150px;
  }

  .atlassian-header-nav-menu {
    padding: 20px;
    gap: 20px;
  }

  .atlassian-header-nav-link {
    font-size: 16px;
    padding: 10px 0;
  }

  .atlassian-header-products-mega-menu, .atlassian-header-resources-mega-menu {
    top: 70px;
    min-height: 400px;
  }

  .atlassian-header-products-content, .atlassian-header-resources-wrapper {
    padding: 16px 15px;
  }

  .atlassian-header-product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .atlassian-header-resources-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .atlassian-header-resources-links {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px 0;
    padding-right: 0;
    border-right: none;
  }

  .atlassian-header-resources-heading {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .atlassian-header-resources-close {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}

/* Mobile navigation & accordion mega menus */
@media (max-width: 1100px) {

  /* Header */
  .atlassian-header {
    position: relative !important;
    z-index: 9999 !important;
    padding: 16px 20px !important;
  }

  .atlassian-header-navbar {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    justify-content: space-between !important;
  }

  .atlassian-header-logo img {
    width: 150px !important;
  }

  .atlassian-header-menu-toggle {
    display: block !important;
    font-size: 24px !important;
    cursor: pointer;
    flex-shrink: 0;
  }

  .atlassian-header-actions {
    display: none !important;
  }

  /* Navigation & mobile menu */
  .atlassian-header-nav-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #fff !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px 0 !important;
    gap: 0 !important;
    display: none !important;
    z-index: 99999 !important;
    box-shadow: 0 10px 20px rgba(0,0,0,.1) !important;
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
  }

  .atlassian-header-nav-menu.active {
    display: flex !important;
  }

  .atlassian-header-nav-item {
    width: 100% !important;
    border-bottom: 1px solid #f0f0f0;
    position: relative !important;
  }

  .atlassian-header-nav-link {
    display: flex !important;
    width: 100% !important;
    padding: 16px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #1f1f1f !important;
  }

  .atlassian-header-nav-item.active > .atlassian-header-nav-link > i {
    transform: rotate(180deg);
    color: #eb5424;
  }

  /* Products mega menu */
  .atlassian-header-products-mega-menu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    min-height: unset !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border-top: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .atlassian-header-product-item.active .atlassian-header-products-mega-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .atlassian-header-products-sidebar {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: unset !important;
    border-right: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    gap: 0 !important;
    background: #fff !important;
    order: 0;
  }

  .atlassian-header-product-tab {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 14px 20px !important;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-right: none !important;
    background: #fff !important;
    gap: 12px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1f1f1f !important;
    cursor: pointer;
    text-align: left !important;
  }

  .atlassian-header-product-tab img {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0;
  }

  .atlassian-header-product-tab span {
    flex: 1 !important;
    text-align: left !important;
    line-height: 1.3 !important;
  }

  .atlassian-header-product-tab > i.fa-angle-right {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #888 !important;
    font-size: 13px !important;
    transition: transform 0.25s ease;
    margin-left: auto;
    transform: rotate(90deg);
  }

  .atlassian-header-product-tab.active > i.fa-angle-right {
    transform: rotate(-90deg) !important;
    color: #eb5424 !important;
  }

  .atlassian-header-product-tab.active {
    background: #fff7f4 !important;
    color: #eb5424 !important;
    border-right: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }

  .atlassian-header-products-content {
    display: contents !important;
  }

  .atlassian-header-product-panel {
    display: none !important;
    order: 0 !important;
    width: 100% !important;
    padding: 12px 20px 16px !important;
    background: #fafafa !important;
    border-bottom: 1px solid #ececec !important;
  }

  .atlassian-header-product-panel.active {
    display: block !important;
  }

  .atlassian-header-product-tab[data-product="sso"] {
    order: 1 !important;
  }

  #sso {
    order: 2 !important;
  }

  .atlassian-header-product-tab[data-product="security"] {
    order: 3 !important;
  }

  #security {
    order: 4 !important;
  }

  .atlassian-header-product-tab[data-product="user"] {
    order: 5 !important;
  }

  #user {
    order: 6 !important;
  }

  .atlassian-header-products-sidebar, .atlassian-header-products-content {
    display: contents !important;
  }

  .atlassian-header-product-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .atlassian-header-product-column {
    border-right: none !important;
    padding: 0 !important;
  }

  .atlassian-header-product-column:nth-child(1), .atlassian-header-product-column:nth-child(2) {
    border-right: none !important;
  }

  .atlassian-header-product-heading-container {
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
    padding-top: 4px !important;
  }

  .atlassian-header-product-heading {
    display: none !important;
  }

  .atlassian-header-product-heading-container p {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: #6c6e73 !important;
    margin: 0 !important;
  }

  .atlassian-header-product-grid > .atlassian-header-help-card {
    display: none !important;
  }

  /* Resources mega menu */
  .atlassian-header-resources-mega-menu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    min-height: unset !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border-top: 1px solid #ececec !important;
  }

  .atlassian-header-resources-item.active .atlassian-header-resources-mega-menu {
    display: block !important;
    max-height: 55vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .atlassian-header-resources-wrapper {
    padding: 16px 20px !important;
    max-width: 100% !important;
  }

  .atlassian-header-resources-heading {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding-bottom: 8px !important;
    margin-bottom: 6px !important;
    padding: 2px 0 8px !important;
  }

  .atlassian-header-resources-heading > div {
    flex: 1;
  }

  .atlassian-header-resources-heading h2 {
    font-size: 18px !important;
  }

  .atlassian-header-resources-close {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    font-size: 22px !important;
    padding: 0 !important;
    color: #333;
    cursor: pointer;
  }

  .atlassian-header-resources-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .atlassian-header-resources-links {
    grid-template-columns: 1fr !important;
    border-right: none !important;
    padding-right: 0 !important;
    padding-top: 6px !important;
    align-items: start !important;
    gap: 5px 0 !important;
  }

  .atlassian-header-resources-grid > .atlassian-header-help-card {
    display: none !important;
  }

  .atlassian-header-resource-card {
    padding: 4px 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 14px !important;
    margin: 0 !important;
  }

  /* Cards & alignment */
  .atlassian-header-product-panel, .atlassian-header-product-heading-container, .atlassian-header-product-grid, .atlassian-header-product-column, .atlassian-header-resources-mega-menu, .atlassian-header-resources-wrapper, .atlassian-header-resources-heading, .atlassian-header-resources-heading > div, .atlassian-header-resources-grid, .atlassian-header-resources-links {
    text-align: left !important;
    align-items: flex-start !important;
  }

  .atlassian-header-product-heading-container p, .atlassian-header-resources-heading h2, .atlassian-header-resources-heading p {
    text-align: left !important;
  }

  .atlassian-header-product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 12px !important;
    padding: 8px 0 !important;
    margin: 0 !important;
  }

  .atlassian-header-product-icon, .atlassian-header-resource-icon {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .atlassian-header-product-card > div:not(.atlassian-header-product-icon), .atlassian-header-resource-card > div:not(.atlassian-header-resource-icon) {
    flex: 1 1 auto !important;
    text-align: left !important;
    min-width: 0;
  }

  .atlassian-header-product-card h3, .atlassian-header-product-card p, .atlassian-header-resource-card h3, .atlassian-header-resource-card p {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* Small mobile */
@media (max-width: 400px) {
  .atlassian-header-logo img {
    width: 120px !important;
  }

  .atlassian-header {
    padding: 14px 20px !important;
  }

  .atlassian-header-product-tab {
    font-size: 13px !important;
    padding: 14px 20px !important;
  }

  .atlassian-header-nav-link {
    padding: 14px 20px !important;
  }

  .atlassian-header-product-panel {
    padding: 10px 20px 14px !important;
  }
}
/* Desktop — sticky header, hover mega menus */
@media (min-width: 1101px) {
  .atlassian-header-resources-wrapper {
    position: relative;
  }

  .atlassian-header-resources-close {
    position: absolute !important;
    top: 24px;
    right: 38px;
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    color: #555;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
    z-index: 2;
  }

  .atlassian-header-resources-close:hover {
    background-color: #f3f3f3;
    color: #eb5424;
  }

  .atlassian-header-resources-close:focus-visible {
    outline: 2px solid #eb5424;
    outline-offset: 2px;
  }

  .atlassian-header {
    position: sticky;
    top: 0;
  }

  .atlassian-mega-hover-bridge {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 99997;
    pointer-events: auto;
    background: transparent;
  }

  .atlassian-mega-hover-bridge.is-active {
    display: block;
  }

  .atlassian-header-products-mega-menu, .atlassian-header-resources-mega-menu {
    top: var(--atlassian-mega-menu-top, 92px) !important;
    margin-top: 0 !important;
    transform: translateZ(0);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.1s ease;
    will-change: opacity;
  }

  .atlassian-header-product-item.is-mega-hover .atlassian-header-products-mega-menu, .atlassian-header-resources-item.is-mega-hover .atlassian-header-resources-mega-menu {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: visible !important;
    transition: opacity 0.1s ease;
  }

  .atlassian-header-product-item.is-mega-hover .atlassian-header-products-sidebar {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .atlassian-header-product-item.is-mega-hover .atlassian-header-products-content {
    display: block !important;
    flex: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .atlassian-header-product-item.is-mega-hover .atlassian-header-product-panel.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .atlassian-header-product-item.is-mega-hover .atlassian-header-product-tab.active {
    visibility: visible !important;
    opacity: 1 !important;
  }
}
