
/* HARD ALIGNMENT PATCH — IGW-NET docs geometry, loaded last. */
html, body.m4w-manual-page{background:#f5f9fb!important;margin:0!important;overflow-x:hidden!important;}
body.m4w-manual-page{--m4w-page:#dceaf2;--m4w-inner:1080px;--m4w-frame:1200px;}
/* All major top-level bands use same 1200px slab centered in off-white gutters. */
body.m4w-manual-page > #m4w-nav-root,
body.m4w-manual-page > nav[aria-label="Breadcrumb"],
body.m4w-manual-page > header.site-header,
body.m4w-manual-page > .sticky-nav,
body.m4w-manual-page > main.page-body,
body.m4w-manual-page > footer.site-footer,
body.m4w-manual-page > .manual-index-shell,
body.m4w-manual-page > .m4w-doc-standalone,
body.m4w-manual-page > .page-wrap{
  width:100%!important;max-width:var(--m4w-frame)!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;
}
body.m4w-manual-page > nav[aria-label="Breadcrumb"],
body.m4w-manual-page > .sticky-nav,
body.m4w-manual-page > main.page-body,
body.m4w-manual-page > .manual-index-shell,
body.m4w-manual-page > .m4w-doc-standalone,
body.m4w-manual-page > .page-wrap{background:var(--m4w-page)!important;}
/* Do not let old chapter card geometry narrow the page. */
body.m4w-manual-page .page-wrap{max-width:var(--m4w-frame)!important;width:100%!important;margin-top:0!important;margin-bottom:0!important;border-radius:0!important;box-shadow:none!important;border:0!important;background:var(--m4w-page)!important;overflow:visible!important;}
/* One-page Pinder hero: actual direct selectors from the document. */
body.m4w-manual-page > header.site-header{border-left:1px solid rgba(203,213,225,.45)!important;border-right:1px solid rgba(203,213,225,.45)!important;}
body.m4w-manual-page > header.site-header::after{display:none!important;}
body.m4w-manual-page > header.site-header > .header-inner{max-width:var(--m4w-inner)!important;width:100%!important;margin:0 auto!important;padding:58px 0 62px!important;box-sizing:border-box!important;}
body.m4w-manual-page > header.site-header h1{max-width:980px!important;margin-left:0!important;margin-right:0!important;font-family:'Instrument Serif',Georgia,serif!important;font-weight:400!important;letter-spacing:-.035em!important;}
body.m4w-manual-page > header.site-header .header-subtitle{max-width:900px!important;margin-left:0!important;margin-right:0!important;}
body.m4w-manual-page > header.site-header .header-meta{max-width:900px!important;margin-left:0!important;margin-right:0!important;}
/* Inner alignment: nav content, breadcrumb, hero text, sticky nav, body all share 1080px. */
body.m4w-manual-page #m4w-nav-root .m4w-nav-wrap,
body.m4w-manual-page #m4w-nav-root .m4w-nav-inner,
body.m4w-manual-page #m4w-nav-root .m4w-nav-container,
body.m4w-manual-page > .sticky-nav .sticky-nav-inner{max-width:var(--m4w-inner)!important;width:100%!important;margin:0 auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important;}
body.m4w-manual-page > nav[aria-label="Breadcrumb"]{padding:12px 60px 0!important;border-left:1px solid rgba(203,213,225,.45)!important;border-right:1px solid rgba(203,213,225,.45)!important;}
body.m4w-manual-page > .sticky-nav{border-left:1px solid rgba(203,213,225,.45)!important;border-right:1px solid rgba(203,213,225,.45)!important;background:rgba(220,234,242,.94)!important;}
body.m4w-manual-page > main.page-body{padding:40px 60px 80px!important;border-left:1px solid rgba(203,213,225,.45)!important;border-right:1px solid rgba(203,213,225,.45)!important;}
body.m4w-manual-page > main.page-body > *{max-width:var(--m4w-inner)!important;margin-left:auto!important;margin-right:auto!important;}
/* Chapter pages: the .hero/.content/.footer live inside .page-wrap; align them directly. */
body.m4w-manual-page .page-wrap > .nav,
body.m4w-manual-page .page-wrap > .hero,
body.m4w-manual-page .page-wrap > .content,
body.m4w-manual-page .page-wrap > .footer,
body.m4w-manual-page .page-wrap > .chapter-footer{max-width:var(--m4w-frame)!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;background:transparent!important;}
body.m4w-manual-page .page-wrap > .nav,
body.m4w-manual-page .page-wrap > .hero,
body.m4w-manual-page .page-wrap > .content,
body.m4w-manual-page .page-wrap > .footer{padding-left:60px!important;padding-right:60px!important;}
body.m4w-manual-page .page-wrap > .hero{border-radius:0!important;text-align:left!important;box-shadow:none!important;}
body.m4w-manual-page .page-wrap > .content{background:#fff!important;border-left:1px solid rgba(203,213,225,.45)!important;border-right:1px solid rgba(203,213,225,.45)!important;}
body.m4w-manual-page .page-wrap > .hero > *,
body.m4w-manual-page .page-wrap > .content > *,
body.m4w-manual-page .page-wrap > .footer > *{max-width:var(--m4w-inner)!important;margin-left:auto!important;margin-right:auto!important;}
/* Inline PDF callout after Pinder hero aligns to inner content. */
body.m4w-manual-page > header.site-header + div[style*="background:#fff7ed"],
body.m4w-manual-page > div[style*="background:#fff7ed"]{max-width:var(--m4w-inner)!important;width:100%!important;margin:18px auto!important;box-sizing:border-box!important;}
/* Nav dropdown safety. */
body.m4w-manual-page #m4w-nav-root .m4w-dropdown{position:relative!important;}
body.m4w-manual-page #m4w-nav-root .m4w-dropdown-menu{min-width:260px!important;max-width:min(720px,calc(100vw - 48px))!important;box-sizing:border-box!important;}
body.m4w-manual-page #m4w-nav-root .m4w-dropdown-menu.m4w-mega-menu{width:min(920px,calc(100vw - 48px))!important;max-width:min(920px,calc(100vw - 48px))!important;}
@media(max-width:1240px){
  body.m4w-manual-page{--m4w-side:48px;}
  body.m4w-manual-page > header.site-header > .header-inner,
  body.m4w-manual-page #m4w-nav-root .m4w-nav-wrap,
  body.m4w-manual-page #m4w-nav-root .m4w-nav-inner,
  body.m4w-manual-page #m4w-nav-root .m4w-nav-container,
  body.m4w-manual-page > .sticky-nav .sticky-nav-inner{width:calc(100% - 96px)!important;}
  body.m4w-manual-page > nav[aria-label="Breadcrumb"],
  body.m4w-manual-page > main.page-body,
  body.m4w-manual-page .page-wrap > .nav,
  body.m4w-manual-page .page-wrap > .hero,
  body.m4w-manual-page .page-wrap > .content,
  body.m4w-manual-page .page-wrap > .footer{padding-left:48px!important;padding-right:48px!important;}
  body.m4w-manual-page > header.site-header + div[style*="background:#fff7ed"],
  body.m4w-manual-page > div[style*="background:#fff7ed"]{width:calc(100% - 96px)!important;}
}
@media(max-width:720px){
  body.m4w-manual-page > header.site-header > .header-inner,
  body.m4w-manual-page #m4w-nav-root .m4w-nav-wrap,
  body.m4w-manual-page #m4w-nav-root .m4w-nav-inner,
  body.m4w-manual-page #m4w-nav-root .m4w-nav-container,
  body.m4w-manual-page > .sticky-nav .sticky-nav-inner{width:calc(100% - 40px)!important;}
  body.m4w-manual-page > nav[aria-label="Breadcrumb"],
  body.m4w-manual-page > main.page-body,
  body.m4w-manual-page .page-wrap > .nav,
  body.m4w-manual-page .page-wrap > .hero,
  body.m4w-manual-page .page-wrap > .content,
  body.m4w-manual-page .page-wrap > .footer{padding-left:20px!important;padding-right:20px!important;}
  body.m4w-manual-page > header.site-header > .header-inner{padding-top:38px!important;padding-bottom:44px!important;}
  body.m4w-manual-page > header.site-header + div[style*="background:#fff7ed"],
  body.m4w-manual-page > div[style*="background:#fff7ed"]{width:calc(100% - 40px)!important;}
}

/* ======================================================================
   CANVAS CHAPTER PATCH — remove the full-height white article slab.
   Goal: chapters read directly on the IGW-NET docs page background, while
   figures, callouts, tables, and navigation modules remain as small cards.
   ====================================================================== */
body.m4w-manual-page{
  background:#f5f9fb!important;
}
body.m4w-manual-page > .page-wrap,
body.m4w-manual-page .page-wrap,
body.m4w-manual-page .layout{
  background:var(--m4w-page,#dceaf2)!important;
}
body.m4w-manual-page .page-wrap > .content,
body.m4w-manual-page main.content{
  background:transparent!important;
  border-left:0!important;
  border-right:0!important;
  box-shadow:none!important;
}
body.m4w-manual-page .page-wrap > .hero,
body.m4w-manual-page header.hero{
  background:linear-gradient(180deg,rgba(255,255,255,.42),rgba(255,255,255,0))!important;
  border-bottom:1px solid rgba(203,213,225,.38)!important;
}
body.m4w-manual-page .page-wrap > .nav,
body.m4w-manual-page nav.nav{
  background:rgba(220,234,242,.96)!important;
  border-bottom:1px solid rgba(203,213,225,.55)!important;
}
body.m4w-manual-page .sidebar{
  background:rgba(255,255,255,.30)!important;
  border-right:1px solid rgba(203,213,225,.45)!important;
}
/* Keep only functional/content modules as cards. */
body.m4w-manual-page .quick-read,
body.m4w-manual-page .callout,
body.m4w-manual-page .see-also,
body.m4w-manual-page figure,
body.m4w-manual-page table,
body.m4w-manual-page .decision-table,
body.m4w-manual-page .defaults-summary,
body.m4w-manual-page .chapter-footer > a{
  background:rgba(255,255,255,.82)!important;
  border:1px solid rgba(203,213,225,.62)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.045)!important;
}
body.m4w-manual-page .quick-read,
body.m4w-manual-page .callout,
body.m4w-manual-page .see-also{
  border-radius:18px!important;
}
body.m4w-manual-page figure{
  border-radius:18px!important;
  overflow:hidden!important;
}
body.m4w-manual-page figcaption{
  background:rgba(248,251,253,.88)!important;
}
/* Preserve table readability while preventing the whole page from looking white. */
body.m4w-manual-page table td,
body.m4w-manual-page .decision-table td,
body.m4w-manual-page .defaults-summary td{
  background:rgba(255,255,255,.72)!important;
}
body.m4w-manual-page table tr:nth-child(even) td,
body.m4w-manual-page .decision-table tr:nth-child(even) td,
body.m4w-manual-page .defaults-summary tr:nth-child(even) td{
  background:rgba(248,251,253,.86)!important;
}
/* More generous text rhythm directly on the canvas. */
body.m4w-manual-page main.content > section,
body.m4w-manual-page main.content > h2,
body.m4w-manual-page main.content > h3,
body.m4w-manual-page main.content > p,
body.m4w-manual-page main.content > ul,
body.m4w-manual-page main.content > ol{
  max-width:920px!important;
}
@media(max-width:1000px){
  body.m4w-manual-page .sidebar{display:none!important;}
  body.m4w-manual-page .layout{display:block!important;}
}
@media(max-width:720px){
  body.m4w-manual-page .quick-read,
  body.m4w-manual-page .callout,
  body.m4w-manual-page .see-also,
  body.m4w-manual-page figure{
    border-radius:14px!important;
  }
}

/* ========================================================================
   FINAL CANVAS BACKGROUND PASS — 2026-05-27
   User feedback: chapter pages still showed a full-height white reading slab.
   Make chapters read directly on the IGW-NET docs canvas (#dceaf2) and keep
   white only for figures, tables, callouts, and compact cards.
   ======================================================================== */
html body.m4w-manual-page{
  background:#f5f9fb!important; /* off-white outer gutters */
}
html body.m4w-manual-page .page-wrap{
  width:100%!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  background:#dceaf2!important; /* central docs canvas */
  background-color:#dceaf2!important;
  border-radius:0!important;
  box-shadow:none!important;
  border:0!important;
  overflow:visible!important;
}
html body.m4w-manual-page .layout{
  width:100%!important;
  max-width:1080px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
html body.m4w-manual-page .content,
html body.m4w-manual-page main.content,
html body.m4w-manual-page article.content{
  background:transparent!important;
  background-color:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
html body.m4w-manual-page .content::before,
html body.m4w-manual-page .content::after,
html body.m4w-manual-page .layout::before,
html body.m4w-manual-page .layout::after,
html body.m4w-manual-page .page-wrap::before,
html body.m4w-manual-page .page-wrap::after{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
/* Local TOC/sidebar should feel integrated with the canvas, not like a white wall. */
html body.m4w-manual-page .sidebar,
html body.m4w-manual-page aside.sidebar,
html body.m4w-manual-page .toc,
html body.m4w-manual-page .chapter-toc{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
/* Keep intentional modules as small cards. */
html body.m4w-manual-page figure,
html body.m4w-manual-page .figure,
html body.m4w-manual-page .tutorial-figure,
html body.m4w-manual-page table,
html body.m4w-manual-page .callout,
html body.m4w-manual-page .note,
html body.m4w-manual-page .warning,
html body.m4w-manual-page .key-takeaway,
html body.m4w-manual-page .decision-card,
html body.m4w-manual-page .decision-table,
html body.m4w-manual-page .manual-chapter-card,
html body.m4w-manual-page .manual-quick-panel a{
  background:#ffffff!important;
  background-color:#ffffff!important;
}
/* Transparent paragraphs/sections ensure no accidental white slab remains. */
html body.m4w-manual-page section,
html body.m4w-manual-page .content > section,
html body.m4w-manual-page p,
html body.m4w-manual-page h1,
html body.m4w-manual-page h2,
html body.m4w-manual-page h3,
html body.m4w-manual-page h4,
html body.m4w-manual-page ul,
html body.m4w-manual-page ol{
  background:transparent!important;
  background-color:transparent!important;
}
@media(max-width:720px){
  html body.m4w-manual-page .layout{
    max-width:calc(100% - 20px)!important;
  }
}
