/* MB07: editorial widths now have one owner: 5.10-r5.
   Removed the competing 97% boxes / 95% prose and recursive narrowing rules.
   Atlas framing is intentionally unchanged; interactive map geometry is separate. */
:root{--k520-background-width:100%;--k520-frame-width:97%;--k520-prose-width:95%;--k520-frame-max:none;--k520-mobile-gutter:clamp(10px,3vw,18px)}
/* History and Grand Atlas width layers. */
body[data-katholon-release="5.20-r1"] :is(.k520-frame,.k520-atlas-entry,.history380-shell,.history381-shell){
  width:var(--k520-frame-width);max-width:none;margin-inline:auto;box-sizing:border-box;
}
body[data-katholon-release="5.20-r1"] :is(.k520-prose,.k520-section-head){
  width:var(--k520-prose-width);max-width:none;margin-inline:auto;box-sizing:border-box;
}
@media(max-width:900px){:root{--k520-frame-width:calc(100% - (2 * var(--k520-mobile-gutter)));--k520-prose-width:calc(100% - (2 * var(--k520-mobile-gutter)))}}
