
/* === CONTENT_WIDTH_FORCE v3d === */
:root {
  --dnpe-container-narrow: 1500px !important;
  --dnpe-container: 1500px !important;
  --dnpe-article-max: 1500px !important;
  --cagh-container-narrow: 1500px !important;
  --bflp-article-max: 1500px !important;
  --container-narrow: 1500px !important;
  --content-width: 1500px !important;
  --article-max-width: 1500px !important;
}
@media (min-width: 769px) {
  html body .dnpe-article,
  html body article.dnpe-article,
  html body .dnpe-hero-content,
  html body .dnpe-faq-list,
  html body .dnpe-author-box,
  html body .bflp-article,
  html body .content-article,
  html body article.content-article,
  html body .niel-section,
  html body .hero-inner,
  html body .article-content,
  html body .content-area,
  html body .cagh-article,
  html body .cagh-faq,
  html body .mb-article,
  html body .mb-faq,
  html body main,
  html body article {
    max-width: 1500px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  html body .dnpe-container,
  html body .bflp-container,
  html body .cagh-container,
  html body .mb-container {
    max-width: 1500px !important;
  }
}
/* === /CONTENT_WIDTH_FORCE v3d === */
/* === 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 === */
/* === net-content-imgs v1 (float + lightbox) === */
html body figure.nci-fig,
html body figure.ci-fig {
  width: calc(50% - 0.7rem) !important;
  max-width: calc(50% - 0.7rem) !important;
  margin: 0.4rem 0 1rem !important;
  padding: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
html body figure.nci-fig.nci-fig--left,
html body figure.ci-fig.ci-fig--left {
  float: left !important;
  margin-right: 1.25rem !important;
  margin-left: 0 !important;
  clear: left;
}
html body figure.nci-fig.nci-fig--right,
html body figure.ci-fig.ci-fig--right {
  float: right !important;
  margin-left: 1.25rem !important;
  margin-right: 0 !important;
  clear: right;
}
html body figure.nci-fig img,
html body figure.ci-fig img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
  cursor: zoom-in !important;
}
html body figure.nci-fig figcaption,
html body figure.ci-fig figcaption {
  display: block !important;
  margin-top: 8px !important;
  padding: 0 4px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #6b7280 !important;
  font-family: Inter, system-ui, sans-serif !important;
  text-align: center !important;
}
html body article::after,
html body .oldd-article::after,
html body .cagh-article::after,
html body .gnoc-article::after,
html body .dnpe-article::after,
html body .oldd-section::after,
html body section::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}
html body h2 {
  clear: both;
}

/* lightbox */
html body.nci-lb-open {
  overflow: hidden !important;
}
.nci-lb {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 12, 14, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-sizing: border-box;
}
.nci-lb.is-open {
  display: flex;
  animation: nciLbIn 0.18s ease;
}
@keyframes nciLbIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.nci-lb__stage {
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.nci-lb__img {
  max-width: 100%;
  max-height: min(82vh, 900px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  object-fit: contain;
  background: #111;
}
.nci-lb__cap {
  margin: 0;
  max-width: 42rem;
  text-align: center;
  color: rgba(250, 248, 245, 0.9);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
.nci-lb__close {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 248, 245, 0.12);
  color: #faf8f5;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 100001;
}
.nci-lb__close:hover {
  background: rgba(201, 162, 39, 0.85);
}

@media (max-width: 768px) {
  html body figure.nci-fig,
  html body figure.nci-fig.nci-fig--left,
  html body figure.nci-fig.nci-fig--right,
  html body figure.ci-fig,
  html body figure.ci-fig.ci-fig--left,
  html body figure.ci-fig.ci-fig--right {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1rem 0 1.25rem !important;
    clear: both !important;
  }
  .nci-lb {
    padding: 12px;
  }
}
/* === /net-content-imgs v1 === */

