body{margin:0;background:#f4f7fb;color:#17324d;font:17px/1.7 "Iowan Old Style",Palatino,"Palatino Linotype",serif}
header,footer{max-width:1040px;margin:auto;padding:20px}
main{max-width:1040px;margin:auto;padding:8px 20px 28px}
/* One sidebar (blueprint step 2.2): the shared site menu is the only left
   column. The guide series joins Related at the end of the text, and 'On this
   page' sits in a right rail from 1440px; below that it is the Contents sheet
   opened from the button under the h1 (assets/editorial/editorial.js). */
.guide-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
.guide-rail{display:contents}
nav.guide-series{margin-top:4px;padding-top:12px;border-top:1px solid #d6e0ea;font-family:system-ui,sans-serif;font-size:.95rem}
nav.guide-series p{margin:0 0 4px;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#5d7286}
nav.guide-series a[aria-current="page"]{font-weight:700;color:#17324d;text-decoration:none}
@media(min-width:64em) and (max-width:1439px){
.guide-layout .ed-toc-toggle{display:inline-flex}
.guide-layout .ed-toc{position:fixed;left:0;right:0;bottom:0;z-index:45;max-height:min(70vh,560px);overflow:auto;border-radius:16px 16px 0 0;transform:translateY(105%);transition:transform .22s ease;visibility:hidden;padding-bottom:max(16px,env(safe-area-inset-bottom))}
.guide-layout .ed-toc[data-open=true]{transform:none;visibility:visible}
.guide-layout .ed-toc-close{display:inline-flex}
body[data-ed-desktop] .ed-backdrop[data-open=true]{display:block;position:fixed;inset:0;z-index:44;background:rgb(10 25 47 / 45%)}
}
@media(min-width:1440px){
.guide-layout{grid-template-columns:minmax(0,1fr) 230px}
.guide-rail{display:block;position:sticky;top:calc(var(--tfbd-topbar,0px) + 16px);max-height:calc(100vh - var(--tfbd-topbar,0px) - 32px);overflow:auto;font-family:system-ui,sans-serif}
}
.guide-foot nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.guide-foot a{display:block;min-height:44px}
@media(max-width:720px){.guide-layout{grid-template-columns:minmax(0,1fr)}.guide-foot nav{grid-template-columns:1fr 1fr}.guide-layout table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}
/* Phones: minmax(0,1fr) stops a long line in the article from widening the page;
   wide tables scroll inside their own box. */
a{color:#0f5c8c}
header{display:flex;justify-content:space-between;gap:16px;align-items:center}
header a{font-family:system-ui,sans-serif;font-weight:700;text-decoration:none}
h1{font-size:clamp(1.8rem,4vw,2.5rem);line-height:1.2;margin:.2em 0}
h2{font-size:1.35rem;line-height:1.3;margin-top:1.4em}
.crumbs{font-family:system-ui,sans-serif;font-size:.92rem}
.crumbs ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0}
.note,.cite{background:#fff;border:1px solid #d5e0ea;border-radius:12px;padding:14px 16px}
.note{border-left:4px solid #9a6b12}
nav.related a{display:inline-block;margin:0 12px 8px 0;min-height:44px}
footer{font-family:system-ui,sans-serif;color:#40586e}
