/*面包屑*/
.gywm{position:relative;}
.gywm .brcb-nav-box{position:absolute;width:100%;z-index:1;}

/*组织结构*/
.zzjgnavtit {text-align:center;margin-bottom:0.5rem;margin-top:0.7rem}
.zzjgTab {display: flex;justify-content: center;align-items: center;}
.zzjgTabItem {margin-right:1.64rem; position: relative;}
.zzjgTabItem:nth-child(2) {margin-right:0}

.zzjgNav .zzjgTab .zzjgTabItem::before {content: "";position: absolute;bottom: -0.1rem;left: 50%;width: 0;height: 1px; background: #141414;transition: all 0.6s ease;}
.zzjgNav .zzjgTab .zzjgTabItem.on::before { width: 100%; margin-left: -50%;}
.zzjgcon .zzjgTabCon {display:none;}


/*内部组织结构*/
  .chart-container {
    position: relative;
    margin-top:0.8rem
  }

  svg.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    pointer-events: none;
    z-index: 1;
    overflow: visible;
  }

  .tree {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
  }

  /* Level 1 */
  .level-1 {
    background: #085AA0;
    color: #fff;
    padding: 0.18rem 3.57rem;
    border-radius: 6px;
    font-size: 0.2rem;
    font-weight: 500;
    text-align: center;
  }

  .level-gap {
    height: 40px;
    position: relative;
  }

  /* Level 2 - grid layout for alignment */
  .level-2-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
  }

  .level-2-col {
    display: flex;
    justify-content: center;
  }

  .level-2 {
    background: #085AA0;
    color: #fff;
    padding: 0.12rem 0.65rem 0.11rem;
    border-radius: 6px;
    font-size: 0.18rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
  }

  /* Level 3 - matching grid for alignment */
  .level-3-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
  }

  .dept-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .level-3 {
    border-radius: 6px;
    border: 1px solid #003B83;
    background: #fff;
    color: #003B83;
    padding: 0.15rem 1rem 0.14rem;
    font-size: 0.18rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
  }

  /* Level 4 - 竖排文字 */
  .level-4 {
        display: flex;
    background: #fff;
    color: #003b83;
    font-size: 0.18rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid #003b83;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 1px;
    width: 0.50rem;
    height: 2.96rem;
    align-items: center;
    justify-content: center;
  }

  .level-4:hover {
    background: #f0f7fc;
    border-color: #4a90c2;
    color: #1e3a5f;
    transition: all 0.2s ease;
  }

  .sub-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
  }

.m-nbzzjg{display:none;}
@media screen and (max-width:1000px){
    .zzjgTabItem{margin-right:0.78rem;}
    .xscon{overflow-x:auto;overflow-y:hidden;}
    .xscon{margin-bottom:0.5rem;}
    .xscon table thead th{font-size:0.16rem !important;}
    .xscon table td{font-size:0.12rem !important;}
    .xscon table thead th,.xscon table td{min-width:1.2rem;}

    .chart-container {display:none;}
    .m-nbzzjg{display:block;margin:0.5rem 0;}
    .m-nbzzjg img{width:100%;height:100%;}
    .xscon table th{padding: 15px 12px;}
}