/* === net-toc-fix v1 — Table of Contents polish (network) === */
html body nav.toc-box,
html body .toc-box {
  background: linear-gradient(180deg, #fafaf9 0%, #f3f1ec 100%) !important;
  border: 1px solid rgba(30, 30, 30, 0.1) !important;
  border-left: 4px solid #c9a227 !important;
  border-radius: 12px !important;
  padding: 0 !important;
  margin: 1.5rem auto 2rem !important;
  overflow: hidden !important;
  max-width: 560px !important;
  width: 100% !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
  font-family: Inter, system-ui, -apple-system, sans-serif !important;
  box-sizing: border-box !important;
}
html body .toc-box .toc-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 18px !important;
  cursor: pointer !important;
  user-select: none !important;
  background: rgba(0, 0, 0, 0.03) !important;
  border-bottom: 1px solid transparent !important;
  transition: background 0.2s ease !important;
  margin: 0 !important;
}
html body .toc-box:not(.toc-collapsed) .toc-header {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
html body .toc-box .toc-header:hover {
  background: rgba(201, 162, 39, 0.12) !important;
}
html body .toc-box .toc-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  background: #1f2937 !important;
  color: #fafafa !important;
  font-size: 14px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
html body .toc-box .toc-header strong,
html body .toc-box .toc-header .toc-title {
  flex: 1 1 auto !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  color: #1f2937 !important;
  font-family: Inter, system-ui, sans-serif !important;
  margin: 0 !important;
}
html body .toc-box .toc-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.07) !important;
  color: #374151 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  transition: transform 0.25s ease, background 0.2s ease !important;
  flex-shrink: 0 !important;
}
html body .toc-box.toc-collapsed .toc-toggle {
  transform: rotate(-90deg) !important;
}
html body .toc-box:not(.toc-collapsed) .toc-toggle {
  transform: rotate(0deg) !important;
  background: rgba(201, 162, 39, 0.28) !important;
}
html body .toc-box.toc-collapsed .toc-list {
  display: none !important;
}
html body .toc-box .toc-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 10px 12px 14px !important;
  counter-reset: toc-item !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
html body .toc-box .toc-list li {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  counter-increment: toc-item !important;
  list-style: none !important;
}
html body .toc-box .toc-list a {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 9px 12px !important;
  color: #374151 !important;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 8px !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 500 !important;
}
html body .toc-box .toc-list a::before {
  content: counter(toc-item) !important;
  flex-shrink: 0 !important;
  min-width: 22px !important;
  height: 22px !important;
  border-radius: 6px !important;
  background: rgba(201, 162, 39, 0.22) !important;
  color: #7a5a12 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 1px !important;
}
html body .toc-box .toc-list a:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #111827 !important;
}
html body .toc-box .toc-list a:hover::before {
  background: #c9a227 !important;
  color: #fff !important;
}

/* mag-toc variant polish */
html body .mag-toc {
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html body .mag-toc__title {
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  html body nav.toc-box,
  html body .toc-box {
    max-width: 100% !important;
    margin: 1rem 0 1.5rem !important;
    border-radius: 10px !important;
  }
  html body .toc-box .toc-header {
    padding: 12px 14px !important;
  }
  html body .toc-box .toc-header strong {
    font-size: 14px !important;
  }
  html body .toc-box .toc-list a {
    font-size: 13px !important;
    padding: 8px 10px !important;
  }
}
/* === /net-toc-fix v1 === */
/* s4-20261011 start */
@media (max-width:768px){
:where(footer,[class*="footer"]) a{display:inline-block;min-height:36px;padding-top:8px;padding-bottom:8px;box-sizing:border-box}
:where(nav,[class*="mobile-nav"],[class*="mobile-menu"],[class*="drawer"]) a{display:inline-block;min-height:36px;padding-top:8px;padding-bottom:8px;box-sizing:border-box}
:where(table) a{display:inline-block;min-height:36px;padding-top:8px;padding-bottom:8px;box-sizing:border-box}
:where(button,[role="button"],input[type="button"],input[type="submit"],a[class*="btn"],a[class*="button"]){min-height:36px;box-sizing:border-box}
.toc-toggle{font-size:14px}
}
@media (max-width:768px){.pmkm-header-container{gap:8px}.pmkm-logo{min-width:0 !important;flex:1 1 auto !important;max-width:calc(100% - 52px)}.pmkm-logo span{white-space:normal !important;min-width:0;line-height:1.2;font-size:15px}.pmkm-menu-toggle{flex:0 0 auto}}
@media (max-width:768px){
body>main>div>section:nth-of-type(1)>nav>div>span:nth-of-type(2){font-size:13px !important}
}
/* s4-20261011 end */
