
/* MAGNET4WATER site integration for IGW-NET Users' Manual.
   This file is intentionally loaded LAST so it can override legacy inline !important rules. */
:root{--m4w-manual-bg:#dceaf2;--m4w-manual-ink:#0f172a;--m4w-manual-muted:#475569;--m4w-manual-cyan:#0891b2;}
html,body{margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important;background:var(--m4w-manual-bg)!important;color:var(--m4w-manual-ink)!important;font-family:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif!important;}
body{line-height:1.65!important;font-size:16px!important;}
#m4w-nav-root{position:sticky;top:0;z-index:9999;width:100%;max-width:none!important;}
.m4w-doc-standalone,.manual-index-shell{width:100%!important;max-width:1200px!important;margin:0 auto!important;background:var(--m4w-manual-bg)!important;box-sizing:border-box!important;}
.page-wrap{max-width:1100px!important;margin:24px auto 44px!important;background:#fff!important;border-radius:18px!important;box-shadow:0 18px 50px rgba(15,23,42,.08)!important;overflow:hidden!important;}
.nav,.hero,.content,.footer,.chapter-footer{box-sizing:border-box!important;}
.nav{padding-left:36px!important;padding-right:36px!important;}
.hero{padding-left:52px!important;padding-right:52px!important;}
.content{padding-left:52px!important;padding-right:52px!important;max-width:100%!important;}
.footer{padding-left:52px!important;padding-right:52px!important;}
.manual-breadcrumb{max-width:1100px;margin:0 auto;padding:24px 36px 10px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:14px;font-weight:700;}
.manual-breadcrumb a{color:#64748b;text-decoration:none}.manual-breadcrumb a:last-child{color:#0891b2}.manual-breadcrumb a:hover{text-decoration:underline}
.manual-hero{max-width:1100px;margin:0 auto;padding:46px 36px 36px;text-align:center;position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.42),rgba(255,255,255,0));border-radius:0 0 28px 28px;}
.manual-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;padding:7px 14px;border:1px solid rgba(8,145,178,.25);border-radius:999px;background:rgba(255,255,255,.55);color:#0e7490!important;font-size:12px!important;font-weight:800!important;letter-spacing:.10em;text-transform:uppercase;}
.manual-hero h1{font-family:'Instrument Serif',Georgia,serif!important;font-weight:400!important;letter-spacing:-.045em!important;line-height:1.03!important;color:#0f172a!important;font-size:clamp(42px,7vw,76px)!important;max-width:900px;margin:0 auto 18px!important;text-wrap:balance;}
.manual-hero h1 em{font-style:italic;color:#0891b2!important;}
.manual-lead{max-width:820px;margin:0 auto!important;color:#334155!important;font-size:clamp(17px,2vw,21px)!important;line-height:1.65!important;}
.manual-hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:26px;}
.manual-hero-actions a{text-decoration:none!important;}
.manual-quick-panel{max-width:1100px;margin:18px auto 18px;padding:0 36px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.manual-quick-panel a{display:block;text-decoration:none;background:rgba(255,255,255,.82);border:1px solid rgba(148,163,184,.35);border-radius:18px;padding:18px;box-shadow:0 10px 26px rgba(15,23,42,.055);transition:.18s ease;}
.manual-quick-panel a:hover{transform:translateY(-2px);border-color:rgba(8,145,178,.55);box-shadow:0 16px 32px rgba(8,145,178,.12)}
.manual-quick-panel span{display:block;color:#0891b2!important;font-size:11px!important;font-weight:800!important;letter-spacing:.09em;text-transform:uppercase;margin-bottom:7px;}
.manual-quick-panel strong{display:block;color:#0f172a!important;font-size:16px!important;line-height:1.25;margin-bottom:6px;}
.manual-quick-panel small{display:block;color:#64748b!important;font-size:13px!important;line-height:1.45;}
.manual-tools{max-width:1100px;margin:24px auto 10px;padding:0 36px;}
.manual-jumps{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px;}
.manual-jumps a,.manual-jumps button{border:1px solid rgba(8,145,178,.24);background:rgba(255,255,255,.72);color:#0e7490!important;text-decoration:none;border-radius:999px;padding:8px 13px;font-weight:700;font-size:13px;cursor:pointer;font-family:inherit;}
.manual-jumps a:hover,.manual-jumps button:hover,.manual-jumps .active{background:#0891b2;color:#fff!important;border-color:#0891b2;}
.manual-search-label{display:block;color:#475569!important;font-size:12px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.09em;margin:0 0 8px;}
.manual-search{width:100%;height:48px;border-radius:14px;border:1px solid rgba(100,116,139,.28);background:#fff;padding:0 16px;font:500 15px 'IBM Plex Sans',system-ui,sans-serif;color:#0f172a;box-shadow:0 8px 20px rgba(15,23,42,.045);}
.manual-search:focus{outline:none;border-color:#0891b2;box-shadow:0 0 0 4px rgba(8,145,178,.12);}
.manual-section{max-width:1100px;margin:28px auto;padding:0 36px;}
.manual-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 12px;}
.manual-section-head p{margin:0!important;color:#0f172a!important;font-size:21px!important;font-weight:800!important;letter-spacing:-.02em;}
.manual-section-head span{color:#64748b!important;font-size:13px!important;font-weight:700;}
.manual-chapter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.manual-chapter-card{display:flex;flex-direction:column;gap:8px;min-width:0;background:#fff;border:1px solid rgba(148,163,184,.30);border-radius:18px;padding:18px 20px;text-decoration:none;box-shadow:0 10px 24px rgba(15,23,42,.045);transition:.18s ease;}
.manual-chapter-card:hover{transform:translateY(-2px);border-color:rgba(8,145,178,.55);box-shadow:0 16px 32px rgba(8,145,178,.10);}
.manual-card-num{color:#0891b2!important;font-size:11px!important;font-weight:800!important;letter-spacing:.10em;text-transform:uppercase;}
.manual-chapter-card strong{color:#0f172a!important;font-size:17px!important;line-height:1.28!important;}
.manual-chapter-card span:last-child{color:#475569!important;font-size:14px!important;line-height:1.5!important;}
.manual-chapter-card.is-hidden{display:none!important;}
.manual-no-results{max-width:1100px;margin:20px auto 50px!important;padding:18px 36px;color:#64748b!important;}
@media(max-width:900px){.manual-quick-panel{grid-template-columns:repeat(2,minmax(0,1fr));}.manual-chapter-grid{grid-template-columns:1fr}.hero{padding-left:28px!important;padding-right:28px!important}.content{padding-left:28px!important;padding-right:28px!important}.footer{padding-left:28px!important;padding-right:28px!important}.nav{padding-left:24px!important;padding-right:24px!important}}
@media(max-width:640px){.manual-breadcrumb,.manual-hero,.manual-tools,.manual-section,.manual-quick-panel{padding-left:16px!important;padding-right:16px!important}.manual-hero{padding-top:34px!important}.manual-hero h1{font-size:clamp(36px,12vw,48px)!important}.manual-quick-panel{grid-template-columns:1fr}.manual-hero-actions a{width:100%;justify-content:center;text-align:center}.manual-jumps a,.manual-jumps button{width:100%;text-align:center}.page-wrap{margin:12px 10px 28px!important;border-radius:14px!important}.hero{padding:30px 20px 24px!important}.content,.footer,.nav{padding-left:18px!important;padding-right:18px!important}.chapter-footer{display:grid!important;grid-template-columns:1fr!important}.chapter-footer>a{width:100%!important}.hero .chapter-meta{gap:14px 22px!important}table,.decision-table{display:block!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}th,td,.decision-table th,.decision-table td{min-width:160px!important;padding-left:14px!important;padding-right:14px!important}}

/* =======================================================================
   PREMIUM CHAPTER SKIN — IGW-NET Users' Manual
   Loaded after legacy chapter CSS. Keeps all chapters visually consistent
   with the MAGNET4WATER / IGW-NET docs light-blue page system.
   ======================================================================= */
:root{
  --m4w-manual-bg:#dceaf2;
  --m4w-manual-bg-soft:#edf6f9;
  --m4w-manual-surface:#ffffff;
  --m4w-manual-surface-2:#f8fbfd;
  --m4w-manual-ink:#0f172a;
  --m4w-manual-text:#334155;
  --m4w-manual-muted:#64748b;
  --m4w-manual-line:rgba(100,116,139,.22);
  --m4w-manual-cyan:#0891b2;
  --m4w-manual-cyan-2:#06b6d4;
  --m4w-manual-red:#c61b0c;
  --m4w-manual-blue:#2372c1;
  --m4w-manual-shadow:0 24px 70px rgba(15,23,42,.10);
  --m4w-manual-shadow-soft:0 14px 38px rgba(15,23,42,.07);
}

html body.m4w-manual-page{
  background:
    radial-gradient(circle at 14% 10%, rgba(34,211,238,.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(35,114,193,.11), transparent 28%),
    linear-gradient(180deg,#dceaf2 0%,#edf6f9 46%,#f6fbfd 100%) !important;
  color:var(--m4w-manual-text)!important;
}

body.m4w-manual-page #m4w-nav-root{
  background:#fff!important;
  box-shadow:0 1px 0 rgba(15,23,42,.08),0 12px 30px rgba(15,23,42,.035)!important;
}

/* Outer document card */
body.m4w-manual-page .page-wrap{
  width:calc(100% - 48px)!important;
  max-width:1100px!important;
  margin:26px auto 56px!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(255,255,255,.78)!important;
  border-radius:28px!important;
  box-shadow:var(--m4w-manual-shadow)!important;
  overflow:hidden!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

/* Legacy chapter mini-nav becomes a quiet breadcrumb row, not a second website nav. */
body.m4w-manual-page .page-wrap > .nav{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:18px 38px!important;
  min-height:unset!important;
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(248,251,253,.90))!important;
  border-bottom:1px solid rgba(100,116,139,.16)!important;
}
body.m4w-manual-page .page-wrap > .nav .brand{
  color:var(--m4w-manual-red)!important;
  font-size:13px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.m4w-manual-page .breadcrumb,
body.m4w-manual-page .breadcrumb a{
  color:var(--m4w-manual-muted)!important;
  font-size:13px!important;
  font-weight:600!important;
  text-decoration:none!important;
}
body.m4w-manual-page .breadcrumb a:hover{color:var(--m4w-manual-cyan)!important;text-decoration:underline!important;}
body.m4w-manual-page .chapter-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
body.m4w-manual-page .chapter-nav a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:30px!important;
  padding:6px 10px!important;
  border:1px solid rgba(8,145,178,.20)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.76)!important;
  color:#0e7490!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
}
body.m4w-manual-page .chapter-nav a:hover{
  background:#0891b2!important;
  border-color:#0891b2!important;
  color:#fff!important;
  transform:translateY(-1px);
}

/* Premium chapter hero */
body.m4w-manual-page .hero{
  position:relative!important;
  padding:58px 64px 42px!important;
  background:
    radial-gradient(circle at 16% 12%,rgba(34,211,238,.15),transparent 34%),
    radial-gradient(circle at 86% 24%,rgba(35,114,193,.12),transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%)!important;
  border-bottom:1px solid rgba(100,116,139,.14)!important;
  overflow:hidden!important;
}
body.m4w-manual-page .hero:before{
  content:"";
  position:absolute;
  inset:auto -90px -180px auto;
  width:440px;
  height:440px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(8,145,178,.11),transparent 67%);
  pointer-events:none;
}
body.m4w-manual-page .chapter-marker{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 0 18px!important;
  padding:7px 13px!important;
  border:1px solid rgba(8,145,178,.24)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.78)!important;
  color:#0e7490!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}
body.m4w-manual-page .hero h1{
  max-width:880px!important;
  margin:0 0 20px!important;
  color:#0f172a!important;
  font-family:'Instrument Serif',Georgia,serif!important;
  font-size:clamp(42px,6.4vw,72px)!important;
  font-weight:400!important;
  line-height:1.04!important;
  letter-spacing:-.045em!important;
  text-wrap:balance;
}
body.m4w-manual-page .hero h1 em{color:#0891b2!important;font-style:italic!important;}
body.m4w-manual-page .hero .lead{
  max-width:820px!important;
  margin:0!important;
  color:#334155!important;
  font-size:clamp(17px,2vw,21px)!important;
  line-height:1.7!important;
  font-weight:400!important;
}
body.m4w-manual-page .hero .chapter-meta{
  margin-top:28px!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
body.m4w-manual-page .hero .chapter-meta .meta-item{
  min-width:0!important;
  padding:15px 16px!important;
  border:1px solid rgba(100,116,139,.16)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.76)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.045)!important;
}
body.m4w-manual-page .hero .label{
  color:#64748b!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.10em!important;
}
body.m4w-manual-page .hero .value{
  color:#0f172a!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.35!important;
}

/* Main layout */
body.m4w-manual-page .layout{
  display:grid!important;
  grid-template-columns:278px minmax(0,1fr)!important;
  gap:0!important;
  background:#fff!important;
}
body.m4w-manual-page .sidebar{
  position:sticky!important;
  top:82px!important;
  align-self:start!important;
  max-height:calc(100vh - 96px)!important;
  overflow:auto!important;
  padding:34px 22px 40px 34px!important;
  background:linear-gradient(180deg,#f8fbfd,#f2f8fb)!important;
  border-right:1px solid rgba(100,116,139,.16)!important;
}
body.m4w-manual-page .sidebar h4{
  margin:22px 0 10px!important;
  padding-bottom:7px!important;
  border-bottom:1px solid rgba(8,145,178,.18)!important;
  color:#0e7490!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
body.m4w-manual-page .sidebar h4:first-child{margin-top:0!important;}
body.m4w-manual-page .sidebar a{
  display:block!important;
  padding:7px 10px!important;
  border-radius:10px!important;
  color:#475569!important;
  font-size:13.5px!important;
  line-height:1.35!important;
  font-weight:600!important;
  text-decoration:none!important;
}
body.m4w-manual-page .sidebar a:hover,
body.m4w-manual-page .sidebar a:focus{
  background:rgba(8,145,178,.09)!important;
  color:#0e7490!important;
}

body.m4w-manual-page .content{
  width:100%!important;
  max-width:820px!important;
  margin:0 auto!important;
  padding:42px 54px 90px!important;
  background:#fff!important;
  color:#334155!important;
  min-width:0!important;
}
body.m4w-manual-page .content section{
  scroll-margin-top:104px!important;
  padding-top:10px!important;
  margin-top:10px!important;
}
body.m4w-manual-page .content h2.section,
body.m4w-manual-page .content h2{
  margin:34px 0 18px!important;
  color:#0f172a!important;
  font-family:'Instrument Serif',Georgia,serif!important;
  font-size:clamp(31px,4vw,43px)!important;
  font-weight:400!important;
  line-height:1.12!important;
  letter-spacing:-.030em!important;
  border:0!important;
}
body.m4w-manual-page .content h2.section .section-num,
body.m4w-manual-page .section-num{
  display:inline-flex!important;
  align-items:center!important;
  margin-right:8px!important;
  color:#0891b2!important;
  font-family:'IBM Plex Sans',system-ui,sans-serif!important;
  font-size:.42em!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  vertical-align:middle!important;
}
body.m4w-manual-page .content h3{
  margin:30px 0 12px!important;
  color:#0f172a!important;
  font-size:21px!important;
  line-height:1.25!important;
  letter-spacing:-.01em!important;
}
body.m4w-manual-page .content h4{
  color:#0f172a!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.35!important;
}
body.m4w-manual-page .content p,
body.m4w-manual-page .content li{
  color:#334155!important;
  font-size:16.5px!important;
  line-height:1.78!important;
}
body.m4w-manual-page .content p{margin:0 0 16px!important;}
body.m4w-manual-page .content strong{color:#0f172a!important;font-weight:800!important;}
body.m4w-manual-page .content a{color:#0e7490!important;font-weight:700!important;text-decoration-thickness:1px!important;text-underline-offset:3px!important;}
body.m4w-manual-page .content a:hover{color:#0c4a6e!important;}
body.m4w-manual-page .content ul,
body.m4w-manual-page .content ol{padding-left:1.35rem!important;margin:14px 0 22px!important;}
body.m4w-manual-page .content li{margin:6px 0!important;}

/* Cards, notes, callouts — normalize many legacy class names without changing HTML. */
body.m4w-manual-page .content .note,
body.m4w-manual-page .content .callout,
body.m4w-manual-page .content .tip,
body.m4w-manual-page .content .warning,
body.m4w-manual-page .content .example,
body.m4w-manual-page .content .panel,
body.m4w-manual-page .content .box,
body.m4w-manual-page .content blockquote{
  margin:24px 0!important;
  padding:20px 22px!important;
  border:1px solid rgba(8,145,178,.18)!important;
  border-left:4px solid #0891b2!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(240,253,250,.80),rgba(255,255,255,.95))!important;
  box-shadow:var(--m4w-manual-shadow-soft)!important;
  color:#334155!important;
}
body.m4w-manual-page .content .warning{
  border-color:rgba(198,27,12,.22)!important;
  border-left-color:#c61b0c!important;
  background:linear-gradient(180deg,rgba(254,242,242,.90),rgba(255,255,255,.96))!important;
}
body.m4w-manual-page .content code{
  padding:.12em .38em!important;
  border:1px solid rgba(8,145,178,.18)!important;
  border-radius:7px!important;
  background:#f0fdfa!important;
  color:#0f766e!important;
  font-size:.92em!important;
}
body.m4w-manual-page .content pre{
  max-width:100%!important;
  overflow:auto!important;
  padding:18px!important;
  border-radius:16px!important;
  border:1px solid rgba(100,116,139,.18)!important;
  background:#0f172a!important;
  color:#e2e8f0!important;
}
body.m4w-manual-page .content pre code{
  padding:0!important;border:0!important;background:transparent!important;color:inherit!important;
}

/* Tables */
body.m4w-manual-page .content table,
body.m4w-manual-page .content .decision-table{
  width:100%!important;
  margin:26px 0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  border:1px solid rgba(100,116,139,.20)!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:var(--m4w-manual-shadow-soft)!important;
}
body.m4w-manual-page .content th,
body.m4w-manual-page .content .decision-table th{
  background:linear-gradient(180deg,#eff9fb,#e4f4f8)!important;
  color:#0f172a!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  border-bottom:1px solid rgba(100,116,139,.18)!important;
}
body.m4w-manual-page .content th,
body.m4w-manual-page .content td,
body.m4w-manual-page .content .decision-table th,
body.m4w-manual-page .content .decision-table td{
  padding:14px 16px!important;
  vertical-align:top!important;
  border-right:1px solid rgba(100,116,139,.12)!important;
  border-bottom:1px solid rgba(100,116,139,.10)!important;
  color:#334155!important;
  font-size:14.5px!important;
  line-height:1.55!important;
}
body.m4w-manual-page .content tr:last-child td{border-bottom:0!important;}
body.m4w-manual-page .content th:last-child,
body.m4w-manual-page .content td:last-child{border-right:0!important;}

/* Images and embedded media must never break phone width. */
body.m4w-manual-page img,
body.m4w-manual-page svg,
body.m4w-manual-page canvas,
body.m4w-manual-page video,
body.m4w-manual-page iframe{
  max-width:100%!important;
  height:auto!important;
}

/* Footer */
body.m4w-manual-page .footer,
body.m4w-manual-page .chapter-footer{
  padding:28px 38px!important;
  background:#f8fbfd!important;
  border-top:1px solid rgba(100,116,139,.16)!important;
}
body.m4w-manual-page .chapter-footer{
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  gap:12px!important;
  align-items:center!important;
}
body.m4w-manual-page .chapter-footer a,
body.m4w-manual-page .footer a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:10px 16px!important;
  border:1px solid rgba(8,145,178,.22)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#0e7490!important;
  font-size:13px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
body.m4w-manual-page .chapter-footer a:hover,
body.m4w-manual-page .footer a:hover{
  background:#0891b2!important;
  border-color:#0891b2!important;
  color:#fff!important;
}
body.m4w-manual-page .igwnet-ecosystem-footer{
  margin:0!important;
  border-top:1px solid rgba(100,116,139,.16)!important;
  background:#f8fbfd!important;
}

/* Index page polish reusing existing improved index markup */
body.m4w-manual-page .manual-index-shell,
body:not(.m4w-manual-page) .manual-index-shell{
  background:
    radial-gradient(circle at 14% 10%, rgba(34,211,238,.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(35,114,193,.11), transparent 28%),
    linear-gradient(180deg,#dceaf2 0%,#edf6f9 46%,#f6fbfd 100%) !important;
}
.manual-chapter-card,.manual-quick-panel a{
  border-radius:20px!important;
  border-color:rgba(100,116,139,.20)!important;
}
.manual-section-head p{font-family:'Instrument Serif',Georgia,serif!important;font-size:30px!important;font-weight:400!important;letter-spacing:-.03em!important;}

@media(max-width:980px){
  body.m4w-manual-page .hero .chapter-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.m4w-manual-page .layout{grid-template-columns:1fr!important;}
  body.m4w-manual-page .sidebar{
    position:relative!important;
    top:auto!important;
    max-height:none!important;
    border-right:0!important;
    border-bottom:1px solid rgba(100,116,139,.16)!important;
    padding:22px 28px!important;
  }
  body.m4w-manual-page .sidebar ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:2px 10px!important;}
  body.m4w-manual-page .content{max-width:100%!important;padding:34px 36px 72px!important;}
}
@media(max-width:720px){
  body.m4w-manual-page .page-wrap{width:calc(100% - 20px)!important;margin:12px auto 30px!important;border-radius:18px!important;}
  body.m4w-manual-page .page-wrap > .nav{padding:14px 16px!important;align-items:flex-start!important;}
  body.m4w-manual-page .page-wrap > .nav .brand{width:100%!important;}
  body.m4w-manual-page .breadcrumb{display:block!important;width:100%!important;}
  body.m4w-manual-page .chapter-nav{justify-content:flex-start!important;width:100%!important;}
  body.m4w-manual-page .hero{padding:36px 22px 30px!important;}
  body.m4w-manual-page .hero h1{font-size:clamp(36px,11vw,48px)!important;}
  body.m4w-manual-page .hero .lead{font-size:16.5px!important;}
  body.m4w-manual-page .hero .chapter-meta{grid-template-columns:1fr!important;gap:10px!important;}
  body.m4w-manual-page .sidebar{padding:18px 18px 22px!important;}
  body.m4w-manual-page .sidebar ul{grid-template-columns:1fr!important;}
  body.m4w-manual-page .content{padding:30px 20px 60px!important;}
  body.m4w-manual-page .content p,
  body.m4w-manual-page .content li{font-size:16px!important;line-height:1.72!important;}
  body.m4w-manual-page .content h2.section,
  body.m4w-manual-page .content h2{font-size:32px!important;}
  body.m4w-manual-page .content table,
  body.m4w-manual-page .content .decision-table{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;}
  body.m4w-manual-page .chapter-footer{grid-template-columns:1fr!important;padding:22px 18px!important;}
}


/* ========================================================================
   M4W DOCS GEOMETRY CORRECTION — 2026-05-27
   Match IGW-NET docs page/screenshot:
   - off-white outer browser surround
   - centered 1200px page band
   - light blue document background (#dceaf2)
   - 1080px content rhythm inside the page band
   - global nav constrained/aligned to same 1200px page width
   ======================================================================== */
html,
body,
html body.m4w-manual-page{
  margin:0!important;
  padding:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  background:#f5f9fb!important;      /* off-white side gutters outside 1200px page */
  background-color:#f5f9fb!important;
  color:#0f172a!important;
  font-family:"IBM Plex Sans","DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif!important;
}

/* Global nav: align exactly with the 1200px document/page width. */
html body.m4w-manual-page #m4w-nav-root,
html body.m4w-manual-page #m4w-nav-root > header,
html body.m4w-manual-page #m4w-nav-root .m4w-nav,
html body.m4w-manual-page #m4w-nav-root .m4w-global-nav,
html body.m4w-manual-page #m4w-nav-root [data-m4w-nav]{
  width:100%!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  left:0!important;
  right:0!important;
  transform:none!important;
  box-sizing:border-box!important;
}
html body.m4w-manual-page #m4w-nav-root{
  position:sticky!important;
  top:0!important;
  z-index:9999!important;
  background:#ffffff!important;
  border-left:1px solid rgba(203,213,225,.45)!important;
  border-right:1px solid rgba(203,213,225,.45)!important;
}
html body.m4w-manual-page #m4w-nav-root > header{
  min-height:72px!important;
  background:#ffffff!important;
}

/* The manual page band should be the same light-blue document slab as IGW-NET docs. */
html body.m4w-manual-page .m4w-doc-standalone,
html body.m4w-manual-page .manual-index-shell,
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;
  background-color:#dceaf2!important;
  box-sizing:border-box!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  border-left:1px solid rgba(203,213,225,.40)!important;
  border-right:1px solid rgba(203,213,225,.40)!important;
}
html body.m4w-manual-page .page-wrap{
  margin-top:0!important;
  margin-bottom:0!important;
}

/* Top chapter strip: no floating white card; stay inside 1200px slab. */
html body.m4w-manual-page .page-wrap > .nav{
  max-width:1200px!important;
  width:100%!important;
  margin:0 auto!important;
  padding:18px 60px!important;
  background:rgba(255,255,255,.70)!important;
  border-bottom:1px solid rgba(148,163,184,.26)!important;
  border-radius:0!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}

/* Primary content rhythm: 1080px inside the 1200px page band. */
html body.m4w-manual-page .manual-breadcrumb,
html body.m4w-manual-page .manual-hero,
html body.m4w-manual-page .manual-quick-panel,
html body.m4w-manual-page .manual-tools,
html body.m4w-manual-page .manual-section,
html body.m4w-manual-page .manual-no-results,
html body.m4w-manual-page .hero,
html body.m4w-manual-page .layout,
html body.m4w-manual-page .footer,
html body.m4w-manual-page .chapter-footer,
html body.m4w-manual-page .igwnet-ecosystem-footer{
  max-width:1080px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Chapter hero: docs-style light gradient on the blue slab. */
html body.m4w-manual-page .hero{
  padding:50px 48px 34px!important;
  background:
    radial-gradient(circle at 20% 10%,rgba(34,211,238,.15),transparent 34%),
    radial-gradient(circle at 80% 0%,rgba(45,212,191,.12),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.54),rgba(255,255,255,.16))!important;
  border:1px solid rgba(255,255,255,.55)!important;
  border-radius:0 0 24px 24px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
}
html body.m4w-manual-page .hero h1{
  max-width:900px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  color:#071827!important;
}
html body.m4w-manual-page .hero .lead{
  max-width:860px!important;
  color:#334155!important;
}

/* The chapter reading area is a clean 1080px module inside the blue slab. */
html body.m4w-manual-page .layout{
  display:grid!important;
  grid-template-columns:260px minmax(0,1fr)!important;
  background:#ffffff!important;
  border:1px solid rgba(148,163,184,.22)!important;
  border-radius:20px!important;
  box-shadow:0 14px 34px rgba(15,23,42,.055)!important;
  overflow:hidden!important;
  margin-top:24px!important;
}
html body.m4w-manual-page .sidebar{
  background:#f8fbfd!important;
  border-right:1px solid rgba(148,163,184,.22)!important;
  padding:30px 22px 40px 30px!important;
}
html body.m4w-manual-page .content{
  max-width:none!important;
  width:100%!important;
  padding:38px 48px 78px!important;
  background:#ffffff!important;
}

/* Index page: same 1200/1080 discipline, not a separate visual language. */
html body.m4w-manual-page .manual-index-shell{
  min-height:calc(100vh - 72px)!important;
  padding-bottom:48px!important;
}
html body.m4w-manual-page .manual-hero{
  background:
    radial-gradient(circle at 18% 8%,rgba(34,211,238,.16),transparent 32%),
    radial-gradient(circle at 85% 0%,rgba(45,212,191,.12),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.52),rgba(255,255,255,.12))!important;
  border:1px solid rgba(255,255,255,.50)!important;
  border-radius:0 0 24px 24px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
}
html body.m4w-manual-page .manual-quick-panel,
html body.m4w-manual-page .manual-tools,
html body.m4w-manual-page .manual-section{
  padding-left:0!important;
  padding-right:0!important;
}
html body.m4w-manual-page .manual-section-title{
  max-width:1080px!important;
}

/* Make cards feel like IGW-NET docs cards on a blue document background. */
html body.m4w-manual-page .manual-quick-panel a,
html body.m4w-manual-page .manual-chapter-card,
html body.m4w-manual-page .manual-search{
  background:#ffffff!important;
  border-color:rgba(148,163,184,.28)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.045)!important;
}
html body.m4w-manual-page .manual-chapter-card:hover,
html body.m4w-manual-page .manual-quick-panel a:hover{
  border-color:rgba(8,145,178,.50)!important;
  box-shadow:0 12px 28px rgba(8,145,178,.10)!important;
}

/* Footer sits in the page slab, aligned to the same 1080px content width. */
html body.m4w-manual-page .footer,
html body.m4w-manual-page .chapter-footer{
  background:#f8fbfd!important;
  border:1px solid rgba(148,163,184,.22)!important;
  border-radius:18px 18px 0 0!important;
  margin-top:24px!important;
}

@media(max-width:1240px){
  html body.m4w-manual-page #m4w-nav-root,
  html body.m4w-manual-page .m4w-doc-standalone,
  html body.m4w-manual-page .manual-index-shell,
  html body.m4w-manual-page .page-wrap{
    max-width:100%!important;
    border-left:0!important;
    border-right:0!important;
  }
  html body.m4w-manual-page .manual-breadcrumb,
  html body.m4w-manual-page .manual-hero,
  html body.m4w-manual-page .manual-quick-panel,
  html body.m4w-manual-page .manual-tools,
  html body.m4w-manual-page .manual-section,
  html body.m4w-manual-page .manual-no-results,
  html body.m4w-manual-page .hero,
  html body.m4w-manual-page .layout,
  html body.m4w-manual-page .footer,
  html body.m4w-manual-page .chapter-footer,
  html body.m4w-manual-page .igwnet-ecosystem-footer{
    max-width:calc(100% - 48px)!important;
  }
}
@media(max-width:980px){
  html body.m4w-manual-page .layout{
    grid-template-columns:1fr!important;
    max-width:calc(100% - 36px)!important;
  }
  html body.m4w-manual-page .sidebar{
    border-right:0!important;
    border-bottom:1px solid rgba(148,163,184,.22)!important;
  }
  html body.m4w-manual-page .content{padding:34px 34px 70px!important;}
}
@media(max-width:720px){
  html body.m4w-manual-page .page-wrap{width:100%!important;margin:0 auto!important;}
  html body.m4w-manual-page .page-wrap > .nav{padding:14px 18px!important;}
  html body.m4w-manual-page .manual-breadcrumb,
  html body.m4w-manual-page .manual-hero,
  html body.m4w-manual-page .manual-quick-panel,
  html body.m4w-manual-page .manual-tools,
  html body.m4w-manual-page .manual-section,
  html body.m4w-manual-page .manual-no-results,
  html body.m4w-manual-page .hero,
  html body.m4w-manual-page .layout,
  html body.m4w-manual-page .footer,
  html body.m4w-manual-page .chapter-footer,
  html body.m4w-manual-page .igwnet-ecosystem-footer{
    max-width:calc(100% - 20px)!important;
  }
  html body.m4w-manual-page .hero{padding:34px 20px 26px!important;border-radius:0 0 18px 18px!important;}
  html body.m4w-manual-page .content{padding:30px 20px 60px!important;}
  html body.m4w-manual-page .manual-quick-panel,
  html body.m4w-manual-page .manual-tools,
  html body.m4w-manual-page .manual-section{padding-left:0!important;padding-right:0!important;}
}


/* ========================================================================
   HERO / NAV ALIGNMENT PASS — 2026-05-27
   Goal: match IGW-NET docs geometry more closely.
   - Global nav and hero background bands share the same 1200px page frame.
   - Reading/content rhythm remains constrained inside the band (about 1080px).
   - Pinder one-page manual header/sticky nav also uses the same frame.
   ======================================================================== */

/* Make the global nav ROOT the 1200px slab, while allowing the component's
   internal header/dropdowns to keep their own layout rules. */
html body.m4w-manual-page #m4w-nav-root{
  width:100%!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  background:#ffffff!important;
  box-sizing:border-box!important;
}
html body.m4w-manual-page #m4w-nav-root > header,
html body.m4w-manual-page #m4w-nav-root .m4w-nav,
html body.m4w-manual-page #m4w-nav-root .m4w-global-nav,
html body.m4w-manual-page #m4w-nav-root [data-m4w-nav]{
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Chapter/index hero background: align to nav/page edges (1200px). */
html body.m4w-manual-page .manual-hero,
html body.m4w-manual-page .hero{
  width:100%!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:60px!important;
  padding-right:60px!important;
  border-radius:0!important;
  border-left:0!important;
  border-right:0!important;
  border-top:0!important;
  box-shadow:none!important;
  background:
    radial-gradient(circle at 18% 8%,rgba(34,211,238,.16),transparent 32%),
    radial-gradient(circle at 84% 2%,rgba(45,212,191,.12),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.58),rgba(255,255,255,.12))!important;
}

/* Keep hero text on the same inner rhythm used by docs content. */
html body.m4w-manual-page .manual-hero > *,
html body.m4w-manual-page .hero > *{
  max-width:1080px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
html body.m4w-manual-page .manual-hero h1,
html body.m4w-manual-page .hero h1{
  max-width:980px!important;
}
html body.m4w-manual-page .manual-lead,
html body.m4w-manual-page .hero .lead{
  max-width:900px!important;
}

/* Keep secondary chapter breadcrumb/nav strip aligned with the 1200px slab. */
html body.m4w-manual-page .page-wrap > .nav{
  width:100%!important;
  max-width:1200px!important;
  padding-left:60px!important;
  padding-right:60px!important;
}

/* Pinder single-page manual header: it uses .site-header/.header-inner instead
   of the chapter .hero markup, so align it explicitly. */
html body.m4w-manual-page .site-header{
  width:100%!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  background:
    radial-gradient(circle at 18% 8%,rgba(34,211,238,.18),transparent 32%),
    radial-gradient(circle at 84% 3%,rgba(45,212,191,.13),transparent 30%),
    linear-gradient(165deg,#0b2545 0%,#134074 52%,#168aad 100%)!important;
  box-sizing:border-box!important;
}
html body.m4w-manual-page .site-header::after{
  display:none!important;
}
html body.m4w-manual-page .header-inner{
  width:100%!important;
  max-width:1080px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:58px 60px 62px!important;
  box-sizing:border-box!important;
}
html body.m4w-manual-page .header-inner h1{
  max-width:980px!important;
  font-family:'Instrument Serif',Georgia,serif!important;
  font-weight:400!important;
  letter-spacing:-.035em!important;
}
html body.m4w-manual-page .header-subtitle{
  max-width:900px!important;
}

/* Pinder offline notice, sticky progress nav, TOC, and body use the same page rhythm. */
html body.m4w-manual-page .site-header + div[style*="background:#fff7ed"]{
  width:calc(100% - 120px)!important;
  max-width:1080px!important;
  margin:18px auto!important;
  box-sizing:border-box!important;
}
html body.m4w-manual-page .sticky-nav{
  width:100%!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  background:rgba(255,255,255,.82)!important;
  border-bottom:1px solid rgba(148,163,184,.26)!important;
  box-sizing:border-box!important;
}
html body.m4w-manual-page .sticky-nav-inner{
  width:100%!important;
  max-width:1080px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}
html body.m4w-manual-page .page-body{
  width:100%!important;
  max-width:1080px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:60px!important;
  padding-right:60px!important;
  box-sizing:border-box!important;
}

@media(max-width:1240px){
  html body.m4w-manual-page #m4w-nav-root,
  html body.m4w-manual-page .site-header,
  html body.m4w-manual-page .sticky-nav,
  html body.m4w-manual-page .manual-hero,
  html body.m4w-manual-page .hero,
  html body.m4w-manual-page .page-wrap > .nav{
    max-width:100%!important;
  }
  html body.m4w-manual-page .manual-hero,
  html body.m4w-manual-page .hero,
  html body.m4w-manual-page .page-wrap > .nav,
  html body.m4w-manual-page .header-inner,
  html body.m4w-manual-page .page-body{
    padding-left:48px!important;
    padding-right:48px!important;
  }
  html body.m4w-manual-page .sticky-nav-inner{
    width:calc(100% - 96px)!important;
  }
  html body.m4w-manual-page .site-header + div[style*="background:#fff7ed"]{
    width:calc(100% - 96px)!important;
  }
}
@media(max-width:720px){
  html body.m4w-manual-page .manual-hero,
  html body.m4w-manual-page .hero,
  html body.m4w-manual-page .page-wrap > .nav,
  html body.m4w-manual-page .header-inner,
  html body.m4w-manual-page .page-body{
    padding-left:20px!important;
    padding-right:20px!important;
  }
  html body.m4w-manual-page .sticky-nav-inner,
  html body.m4w-manual-page .site-header + div[style*="background:#fff7ed"]{
    width:calc(100% - 40px)!important;
  }
  html body.m4w-manual-page .header-inner{
    padding-top:38px!important;
    padding-bottom:44px!important;
  }
}
