/* GIS R7 New-SST reference correction v2: complete replacement, not an extra old-theme layer.
   Scope body.gis-r7; legacy compatibility requires the additional gis-r7-legacy class.
   Reference spec SHA256 31a8820e1176c8afcd2c7cabe1a4346632234e14bf8fee88870343028c9767b3. */
/* Existing verified HTML content opts in via BOTH body classes.
   Load after the legacy page's own stylesheet and after gis-visual-r7.css.
   Load gis-readiness-r7.css last if the local readiness panel is present.
   These selectors cannot affect new builder pages without gis-r7-legacy. */
body.gis-r7.gis-r7-legacy { margin: 0; color: #132844; background: #f8faff; font: 400 17px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.gis-r7.gis-r7-legacy :where(main, .wrap, .container, article, .toc, .grid, .c, .cta, form) { min-width: 0; }
body.gis-r7.gis-r7-legacy .wrap { width: min(1240px, calc(100% - 80px)); max-width: 1240px; padding-inline: 0; margin-inline: auto; }
body.gis-r7.gis-r7-legacy main { overflow-wrap: anywhere; }
body.gis-r7.gis-r7-legacy article { width: min(800px, 100%); max-width: 800px; margin-inline: auto; padding-block: 30px; color: #132844; background: transparent; }
body.gis-r7.gis-r7-legacy main > article { width: min(800px, calc(100% - 80px)); }
body.gis-r7.gis-r7-legacy article :where(p, li) { font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
body.gis-r7.gis-r7-legacy article p { margin-bottom: 21px; }
body.gis-r7.gis-r7-legacy article h1 { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-size: clamp(34px, 3.7vw, 54px); line-height: 1.15; font-weight: 500; letter-spacing: -.025em; margin: 0 0 24px; }
body.gis-r7.gis-r7-legacy article h2 { margin: 44px 0 18px; font: 500 31px/1.3 "Inter Tight", "Inter", system-ui, sans-serif; letter-spacing: -.02em; }
body.gis-r7.gis-r7-legacy article h3 { margin: 28px 0 14px; font-size: 22px; line-height: 1.4; }
body.gis-r7.gis-r7-legacy article :where(ul, ol) { padding-left: 24px; margin-block: 20px 25px; }
body.gis-r7.gis-r7-legacy article li { margin-block: 8px; }
body.gis-r7.gis-r7-legacy article :where(h2, h3, section) { scroll-margin-top: 24px; }
body.gis-r7.gis-r7-legacy a { color: #2456d9; text-underline-offset: .22em; }
body.gis-r7.gis-r7-legacy .r7-header .gis-logo { color: #132844; }
body.gis-r7.gis-r7-legacy .r7-header .r7-nav > a:not(.gis-btn) { color: #132844; }
body.gis-r7.gis-r7-legacy .r7-header .r7-nav > a.gis-btn { color: #fff; }
body.gis-r7.gis-r7-legacy .r7-footer a { color: #cfdefb; }
body.gis-r7.gis-r7-legacy .hero { padding: 55px 0; margin: 0; background: #132844; color: #fff; border-radius: 0; }
body.gis-r7.gis-r7-legacy .hero :where(h1, h2) { max-width: 1000px; color: #fff; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(36px, 4.1vw, 58px); line-height: 1.12; font-weight: 650; letter-spacing: -.04em; margin: 0 0 23px; }
body.gis-r7.gis-r7-legacy .hero p { max-width: 850px; color: #edf3ff; font-size: 19px; line-height: 1.75; }
body.gis-r7.gis-r7-legacy .hero a { color: #2456d9; }
body.gis-r7.gis-r7-legacy .hero :where(.btn, .button) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; border: 1px solid #2456d9; border-radius: 5px; background: #2456d9; color: #132844; font-size: 15px; line-height: 1.5; font-weight: 650; text-decoration: none; }
body.gis-r7.gis-r7-legacy .toc { margin: 25px 0 31px; padding: 23px; border: 1px solid #dce5f1; border-top: 2px solid #2456d9; border-radius: 4px; background: #edf3ff; color: #132844; }
body.gis-r7.gis-r7-legacy .toc :where(h2, h3) { font: 650 19px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.01em; margin: 0 0 13px; }
body.gis-r7.gis-r7-legacy .toc :where(ul, ol) { margin: 0; padding-left: 20px; }
body.gis-r7.gis-r7-legacy .toc li { margin: 4px 0; font-size: 15px; }
body.gis-r7.gis-r7-legacy .toc a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.6; }
body.gis-r7.gis-r7-legacy .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
body.gis-r7.gis-r7-legacy .c { display: block; min-width: 0; padding: 25px; border: 1px solid #dce5f1; border-radius: 6px; background: #fff; color: #132844; }
body.gis-r7.gis-r7-legacy a.c { text-decoration: none; }
body.gis-r7.gis-r7-legacy a.c:hover { background: #edf3ff; border-color: #2456d9; }
body.gis-r7.gis-r7-legacy .c :where(h2, h3) { margin: 0 0 14px; font: 650 22px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.025em; }
body.gis-r7.gis-r7-legacy .c :where(p, li) { color: #51647c; font-size: 15px; line-height: 1.75; }
body.gis-r7.gis-r7-legacy .cta { margin: 35px 0; padding: 30px; border-radius: 6px; color: #fff; background: #132844; }
body.gis-r7.gis-r7-legacy .cta :where(h2, h3) { color: #fff; margin: 0 0 17px; font: 600 28px/1.25 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.025em; }
body.gis-r7.gis-r7-legacy .cta p { color: #edf3ff; font-size: 16px; line-height: 1.75; }
body.gis-r7.gis-r7-legacy .cta a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; border: 1px solid #2456d9; border-radius: 5px; background: #2456d9; color: #132844; font-size: 15px; line-height: 1.5; font-weight: 650; text-decoration: none; }
body.gis-r7.gis-r7-legacy table { display: block; width: 100%; max-width: 100%; margin: 25px 0; overflow-x: auto; border-collapse: collapse; overscroll-behavior-inline: contain; font-size: 15px; line-height: 1.65; }
body.gis-r7.gis-r7-legacy :where(th, td) { padding: 13px 15px; min-width: 110px; border-bottom: 1px solid #dce5f1; vertical-align: top; text-align: left; }
body.gis-r7.gis-r7-legacy th { color: #132844; background: #edf3ff; font-weight: 650; }
body.gis-r7.gis-r7-legacy tbody tr:nth-child(even) { background: #edf3ff; }
body.gis-r7.gis-r7-legacy caption { text-align: left; padding-bottom: 12px; color: #51647c; font-size: 13px; }
body.gis-r7.gis-r7-legacy pre { max-width: 100%; overflow: auto; margin: 25px 0; padding: 21px; border-radius: 5px; color: #edf3ff; background: #132844; font: 400 14px/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
body.gis-r7.gis-r7-legacy pre code { color: inherit; background: transparent; font: inherit; }
body.gis-r7.gis-r7-legacy :not(pre) > code { padding: 2px 5px; border-radius: 3px; background: #edf3ff; color: #132844; font-size: .84em; }
body.gis-r7.gis-r7-legacy blockquote { margin: 26px 0; padding: 21px 24px; border-left: 3px solid #2456d9; background: #edf3ff; color: #51647c; }
body.gis-r7.gis-r7-legacy :where(img, video, iframe) { max-width: 100%; }
body.gis-r7.gis-r7-legacy img { height: auto; }
body.gis-r7.gis-r7-legacy form:not(.gis-form) { max-width: 100%; margin: 24px 0; padding: 26px; border: 1px solid #dce5f1; border-radius: 7px; color: #132844; background: #fff; text-align: left; }
body.gis-r7.gis-r7-legacy form :where(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([aria-hidden="true"]) { display: block; width: 100%; max-width: 100%; min-height: 48px; margin: 8px 0 16px; padding: 11px 12px; border: 1px solid #7d90ac; border-radius: 5px; background: #fff; color: #132844; font-size: 16px; line-height: 1.45; }
body.gis-r7.gis-r7-legacy form textarea { min-height: 108px; resize: vertical; }
body.gis-r7.gis-r7-legacy form :where(input, textarea)::placeholder { color: #51647c; opacity: 1; }
body.gis-r7.gis-r7-legacy form input[type="checkbox"] { width: 20px; height: 20px; accent-color: #2456d9; }
body.gis-r7.gis-r7-legacy form label { color: #51647c; font-size: 13px; line-height: 1.75; }
body.gis-r7.gis-r7-legacy form button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; padding: 11px 18px; border: 1px solid #2456d9; border-radius: 5px; background: #2456d9; color: #fff; font-size: 15px; line-height: 1.5; font-weight: 650; cursor: pointer; }
body.gis-r7.gis-r7-legacy form .lf-status { font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
body.gis-r7.gis-r7-legacy footer:not(.r7-footer) { padding: 28px 0; margin-top: 40px; border-top: 1px solid #dce5f1; color: #51647c; background: #f8faff; font-size: 13px; line-height: 1.75; }
body.gis-r7.gis-r7-legacy :focus-visible { outline: 3px solid #2456d9; outline-offset: 4px; }
body.gis-r7.gis-r7-legacy :where(.hero, .cta, .r7-footer, .r7-hero, .r7-article-next) :focus-visible { outline-color: #2456d9; }
@media (max-width: 960px) {
  body.gis-r7.gis-r7-legacy .wrap { width: calc(100% - 48px); }
  body.gis-r7.gis-r7-legacy main > article { width: min(800px, calc(100% - 48px)); }
  body.gis-r7.gis-r7-legacy .hero { padding-block: 43px; }
}
@media (max-width: 640px) {
  body.gis-r7.gis-r7-legacy .wrap { width: calc(100% - 32px); }
  body.gis-r7.gis-r7-legacy main > article { width: calc(100% - 32px); }
  body.gis-r7.gis-r7-legacy article { padding-block: 24px; }
  body.gis-r7.gis-r7-legacy article :where(p, li) { font-size: 17px; }
  body.gis-r7.gis-r7-legacy article h1 { font-size: clamp(32px, 8.9vw, 40px); }
  body.gis-r7.gis-r7-legacy article h2 { font-size: 27px; margin-top: 35px; }
  body.gis-r7.gis-r7-legacy article h3 { font-size: 21px; }
  body.gis-r7.gis-r7-legacy .hero { padding-block: 35px; }
  body.gis-r7.gis-r7-legacy .hero :where(h1, h2) { font-size: 35px; }
  body.gis-r7.gis-r7-legacy .hero p { font-size: 17px; }
  body.gis-r7.gis-r7-legacy .grid { grid-template-columns: 1fr; gap: 14px; }
  body.gis-r7.gis-r7-legacy :where(.c, .toc, .cta) { padding: 21px; }
  body.gis-r7.gis-r7-legacy .cta :where(h2, h3) { font-size: 25px; }
  body.gis-r7.gis-r7-legacy form:not(.gis-form) { padding: 22px; }
  body.gis-r7.gis-r7-legacy :where(th, td) { padding: 12px; min-width: 120px; }
}
@media (prefers-reduced-motion: reduce) { body.gis-r7.gis-r7-legacy * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) {
  body.gis-r7.gis-r7-legacy :focus-visible { outline-color: Highlight; }
  body.gis-r7.gis-r7-legacy form button { border-color: ButtonText; }
}
@media print {
  body.gis-r7.gis-r7-legacy { background: #fff; color: #111; }
  body.gis-r7.gis-r7-legacy .wrap, body.gis-r7.gis-r7-legacy main > article { width: 100%; }
  body.gis-r7.gis-r7-legacy .hero, body.gis-r7.gis-r7-legacy .cta { background: #fff; color: #111; padding: 15px 0; }
  body.gis-r7.gis-r7-legacy .hero :where(h1, h2, p), body.gis-r7.gis-r7-legacy .cta :where(h2, h3, p) { color: #111; }
  body.gis-r7.gis-r7-legacy form { display: none; }
  body.gis-r7.gis-r7-legacy table { display: table; overflow: visible; font-size: 9pt; }
  body.gis-r7.gis-r7-legacy pre { color: #111; background: #f8faff; white-space: pre-wrap; overflow-wrap: anywhere; }
}

/* Both classes are required. New builder components are not legacy pages. */
body.gis-r7.gis-r7-legacy { color: #132844; background: #f8faff; font: 400 17px/1.75 var(--r7-body-font, system-ui); }
body.gis-r7.gis-r7-legacy .wrap { width: min(1224px, calc(100% - 80px)); max-width: 1224px; }
body.gis-r7.gis-r7-legacy header.gis-header { display: none; }
body.gis-r7.gis-r7-legacy .r7-header .gis-logo { display: inline-flex; flex-direction: row; align-items: center; text-align: left; }
body.gis-r7.gis-r7-legacy .r7-header .gis-logo > span { display: block; }
body.gis-r7.gis-r7-legacy .r7-header .gis-logo > .r7-brand-mark { display: grid; }
body.gis-r7.gis-r7-legacy .hero { padding: 54px 0 44px; color: #132844; background: linear-gradient(125deg, #fff, #edf3ff); border-radius: 0; }
body.gis-r7.gis-r7-legacy .hero :where(h1,h2) { color: #132844; font-family: var(--r7-heading-font, system-ui); font-weight: 730; letter-spacing: -.045em; }
body.gis-r7.gis-r7-legacy .hero p { color: #51647c; }
body.gis-r7.gis-r7-legacy .hero a { color: #2456d9; }
body.gis-r7.gis-r7-legacy .hero :where(.btn,.button) { min-height: 52px; padding: 14px 26px; border-radius: 14px; border-color: #2456d9; color: #fff; background: linear-gradient(120deg,#315fe9,#234ec4); }
body.gis-r7.gis-r7-legacy article h1 { font-family: var(--r7-heading-font, system-ui); color: #132844; font-weight: 730; letter-spacing: -.04em; }
body.gis-r7.gis-r7-legacy article h2 { font-family: var(--r7-heading-font, system-ui); color: #132844; font-weight: 700; letter-spacing: -.03em; }
body.gis-r7.gis-r7-legacy article h3 { font-family: var(--r7-heading-font, system-ui); font-weight: 670; }
body.gis-r7.gis-r7-legacy .toc { border: 1px solid #dce5f1; border-radius: 22px; color: #132844; background: #edf3ff; padding: 25px; }
body.gis-r7.gis-r7-legacy .toc :where(h2,h3) { font-family: var(--r7-heading-font, system-ui); }
body.gis-r7.gis-r7-legacy .grid { gap: 20px; }
body.gis-r7.gis-r7-legacy .c { padding: 30px; border-radius: 24px; border-color: #dce5f1; color: #132844; background: #fff; box-shadow: 0 16px 48px rgba(22,53,95,.05); }
body.gis-r7.gis-r7-legacy .c :where(h2,h3) { font-family: var(--r7-heading-font,system-ui); }
body.gis-r7.gis-r7-legacy a.c:hover { border-color: #a5b8d8; background: #f8faff; }
body.gis-r7.gis-r7-legacy .cta { padding: 32px; border: 1px solid #dce5f1; border-radius: 24px; color: #132844; background: #edf3ff; }
body.gis-r7.gis-r7-legacy .cta :where(h2,h3) { color: #132844; font-family: var(--r7-heading-font,system-ui); font-weight: 700; }
body.gis-r7.gis-r7-legacy .cta p { color: #51647c; }
body.gis-r7.gis-r7-legacy .cta a { min-height: 52px; padding: 14px 26px; border-radius: 14px; border-color: #2456d9; color: #fff; background: linear-gradient(120deg,#315fe9,#234ec4); }
body.gis-r7.gis-r7-legacy :where(th,td) { border-color: #dce5f1; }
body.gis-r7.gis-r7-legacy th { color: #132844; background: #edf3ff; }
body.gis-r7.gis-r7-legacy tbody tr:nth-child(even) { background: #f8faff; }
body.gis-r7.gis-r7-legacy pre { border-radius: 18px; color: #edf3ff; background: #132844; font-family: var(--r7-mono-font,monospace); }
body.gis-r7.gis-r7-legacy :not(pre) > code { border-radius: 6px; color: #163eab; background: #edf3ff; font-family: var(--r7-mono-font,monospace); }
body.gis-r7.gis-r7-legacy blockquote { border: 1px solid #dce5f1; border-radius: 22px; color: #132844; background: #edf3ff; }
body.gis-r7.gis-r7-legacy form:not(.gis-form):not(.gis-assistant-form) { padding: 30px; border-color: #dce5f1; border-radius: 24px; box-shadow: 0 16px 48px rgba(22,53,95,.05); }
body.gis-r7.gis-r7-legacy form :where(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([aria-hidden="true"]) { border-radius: 14px; border-color: #7d90ac; color: #132844; background: #fff; }
body.gis-r7.gis-r7-legacy form :where(input,textarea)::placeholder { color: #51647c; }
body.gis-r7.gis-r7-legacy form button { border-radius: 14px; border-color: #2456d9; color: #fff; background: #2456d9; }
body.gis-r7.gis-r7-legacy form input[type="checkbox"] { accent-color: #2456d9; }
body.gis-r7.gis-r7-legacy :where(.hero,.cta,.r7-hero,.r7-article-next) :focus-visible { outline-color: #2456d9; }
body.gis-r7.gis-r7-legacy .r7-footer a { color: #cfdefb; }
body.gis-r7.gis-r7-legacy .r7-footer :focus-visible { outline-color: #cfdefb; }
body.gis-r7.gis-r7-legacy .r7-mobilebar a.gis-btn, body.gis-r7.gis-r7-legacy .r7-mobilebar a.gis-btn:hover { color: #fff; }
body.gis-r7.gis-r7-legacy main.bg-white { width: min(1000px,calc(100% - 80px)); margin-inline: auto; padding: 48px 0; background: transparent; }
body.gis-r7.gis-r7-legacy main.bg-white h1 { max-width:900px; font-size:clamp(32px,4vw,56px); line-height:1.15; }
body.gis-r7.gis-r7-legacy main.bg-white :where(ul,ol) { padding-left:24px; }
body.gis-r7.gis-r7-legacy .breadcrumbs { padding-block:18px; }
@media(max-width:960px) { body.gis-r7.gis-r7-legacy .wrap { width:calc(100% - 48px); } }
@media(max-width:640px) {
  body.gis-r7.gis-r7-legacy .wrap, body.gis-r7.gis-r7-legacy main > article { width:calc(100% - 36px); }
  body.gis-r7.gis-r7-legacy .hero { padding:26px 0 30px; }
  body.gis-r7.gis-r7-legacy .hero :where(h1,h2) { font-size:clamp(31px,9vw,43px); line-height:1.09; }
  body.gis-r7.gis-r7-legacy .c, body.gis-r7.gis-r7-legacy .cta, body.gis-r7.gis-r7-legacy .toc { padding:24px; border-radius:20px; }
  body.gis-r7.gis-r7-legacy main.bg-white { width:calc(100% - 36px); padding-block:30px; }
  body.gis-r7.gis-r7-legacy .r7-header .gis-logo { max-width:calc(100% - 85px); }
  body.gis-r7.gis-r7-legacy form:not(.gis-form):not(.gis-assistant-form) { padding:24px 22px; }
}
@media print { body.gis-r7.gis-r7-legacy .hero, body.gis-r7.gis-r7-legacy .cta { color:#111; background:#fff; } body.gis-r7.gis-r7-legacy .c { box-shadow:none; } }
