/* =========================================================
   STRUKTUR ORGANISASI — PREMIUM PAN & ZOOM CONTROLS V17
   Kontrol zoom ringkas ditempatkan di bawah bagan.
   ========================================================= */
.structure-section .org-chart{
  position:relative;
}

/* Scrollbar disembunyikan. Navigasi menggunakan drag/swipe. */
.structure-section .org-viewport{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.structure-section .org-viewport::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}

/* Canvas diperbesar/diperkecil oleh JS menggunakan CSS zoom. */
.structure-section .org-canvas{
  transform-origin:top left!important;
}

/* Toolbar berada di bawah bagan agar bagian atas tetap bersih. */
.structure-section .org-navigation-row{
  width:max-content;
  max-width:calc(100% - 28px);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:16px auto 0;
  padding:7px 8px;
  border:1px solid rgba(181,18,27,.10);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(255,247,247,.94));
  box-shadow:0 10px 26px rgba(90,7,12,.07);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.structure-section .org-pan-hint{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
  padding-right:10px;
  border-right:1px solid rgba(181,18,27,.10);
  color:#806d6e;
  font-size:.73rem;
  font-weight:750;
  letter-spacing:.01em;
  white-space:nowrap;
}
.structure-section .org-pan-icon{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:10px;
  color:#b5121b;
  background:#fff1f2;
  border:1px solid rgba(181,18,27,.10);
}

.structure-section .org-toolbar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
}
.structure-section .org-tool-btn{
  appearance:none;
  -webkit-appearance:none;
  display:inline-grid;
  place-items:center;
  width:38px;
  min-width:38px;
  height:38px;
  padding:0;
  border:1px solid rgba(181,18,27,.13);
  border-radius:12px;
  background:#fff;
  color:#4a2427;
  box-shadow:0 5px 14px rgba(91,5,10,.05);
  font:800 1rem/1 inherit;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease;
}
@media (hover:hover) and (pointer:fine){
  .structure-section .org-tool-btn:hover{
    transform:translateY(-2px);
    color:#b5121b;
    border-color:rgba(181,18,27,.28);
    background:#fffafb;
    box-shadow:0 9px 20px rgba(91,5,10,.09);
  }
}
.structure-section .org-tool-btn:active{
  transform:translateY(0) scale(.97);
}
.structure-section .org-tool-btn:focus-visible{
  outline:3px solid rgba(255,202,57,.42);
  outline-offset:2px;
}
.structure-section .org-tool-btn:disabled{
  opacity:.38;
  cursor:not-allowed;
  box-shadow:none;
  transform:none;
}
.structure-section .org-zoom-label{
  display:inline-grid;
  place-items:center;
  min-width:50px;
  height:34px;
  padding:0 6px;
  color:#7d292f;
  font-size:.72rem;
  font-weight:850;
  font-variant-numeric:tabular-nums;
}

@media (max-width:760px){
  .structure-section .org-navigation-row{
    max-width:calc(100% - 20px);
    gap:8px;
    margin-top:12px;
    padding:6px 7px;
    border-radius:14px;
  }
  .structure-section .org-pan-hint{
    padding-right:8px;
  }
  .structure-section .org-pan-hint span:last-child{
    display:none;
  }
  .structure-section .org-pan-icon{
    width:34px;
    height:34px;
  }
  .structure-section .org-tool-btn{
    width:36px;
    min-width:36px;
    height:36px;
    border-radius:10px;
  }
  .structure-section .org-zoom-label{
    min-width:44px;
    height:32px;
    font-size:.67rem;
  }
}

@media (max-width:420px){
  .structure-section .org-navigation-row{
    gap:5px;
  }
  .structure-section .org-pan-hint{
    display:none;
  }
}

@media (prefers-reduced-motion:reduce){
  .structure-section .org-tool-btn{transition:none}
  .structure-section .org-viewport{scroll-behavior:auto!important}
}
