/* Shared by the homepage, server content renderer and React content pages. */
.shared-site-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:68px;padding-top:0;padding-bottom:0;flex-wrap:nowrap}
.shared-brand-mark{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0}.shared-brand-mark img{width:38px;height:38px;object-fit:contain}
.shared-brand-copy{display:grid;gap:4px;line-height:1.2}.shared-brand-copy strong{font-size:16px}.shared-brand-copy small{font-size:12px;color:#607269;letter-spacing:0}
.shared-desktop-nav{display:flex;align-items:center;gap:20px;font-size:14px}.shared-desktop-nav a,.shared-mobile-menu a{text-decoration:none;font-size:14px;font-weight:700;color:#40564d}
.shared-mobile-menu{display:none}.shared-site-footer{font-size:12px;line-height:1.7}.shared-site-footer>div{display:grid;gap:5px}.shared-site-footer nav{display:flex;flex-wrap:wrap;gap:12px}.shared-site-footer a{font-size:14px;text-decoration:none;color:#40564d}
@media(max-width:820px){.shared-desktop-nav{display:none}.shared-mobile-menu{display:block}.shared-mobile-menu>summary{display:grid;place-items:center;min-height:44px;min-width:64px;padding:8px 12px;border:1px solid #dce7e1;border-radius:9px;background:#fff;cursor:pointer;list-style:none;font-size:14px;font-weight:700}.shared-mobile-menu>summary::-webkit-details-marker{display:none}.shared-mobile-menu>nav{position:absolute;top:calc(100% + 2px);left:0;right:0;display:grid;gap:5px;padding:12px;border:1px solid #dce7e1;border-radius:12px;background:#fff;box-shadow:0 8px 24px #173c2417;max-height:calc(100dvh - 88px);overflow:auto;z-index:60}.shared-mobile-menu>nav>a{padding:12px}.shared-mobile-menu .header-menu-panel{position:static;width:auto;border:0;box-shadow:none;background:#edf7f1}.shared-mobile-menu .content-nav-cta{position:static!important;text-align:center;padding:12px!important}.shared-site-header{min-height:64px}.shared-site-footer{flex-direction:column}.shared-brand-copy small{display:none}}
.shared-mobile-menu>summary:focus-visible,.shared-site-header a:focus-visible{outline:2px solid #127b55;outline-offset:3px}
.header-menu{position:relative;color:#65746f}
.header-menu>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;font-size:inherit;font-weight:700;padding:10px 0;min-height:24px;box-sizing:content-box;white-space:nowrap}
.header-menu>summary::-webkit-details-marker{display:none}
.header-menu>summary::after{content:'';display:block;flex:0 0 6px;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.header-menu[open]>summary::after{transform:translateY(2px) rotate(225deg)}
.header-menu[open]>summary,.header-menu>summary:hover{color:#127b55}
.header-menu-panel{position:absolute;right:0;top:100%;width:190px;display:grid;gap:3px;padding:8px;border:1px solid #dce7e1;border-radius:12px;background:#fff;box-shadow:0 8px 24px #173c2417;z-index:60}
.header-menu-panel a.header-link{display:flex!important;padding:11px 12px;border-radius:7px;color:#40564d;text-decoration:none;font-size:13px}
.header-menu-panel a:hover{background:#edf7f1;color:#127b55}
.header-menu>summary:focus-visible,.header-menu-panel a:focus-visible{outline:2px solid #127b55;outline-offset:3px;border-radius:4px}
@media(max-width:760px){.site-header .header-menu>summary{padding:10px}.site-header .header-menu-panel{position:static;width:auto;min-width:170px;box-shadow:none;border:0;background:#edf7f1;padding:3px}.content-nav .header-menu:first-child .header-menu-panel{left:0;right:auto}}

/* Authoritative calculator references: shared primary navigation. */
body .shared-site-header{width:100%;height:56px;min-height:56px;max-width:1320px;margin:0 auto;padding:0 24px;gap:28px;box-sizing:border-box}
body .shared-brand-mark,body .shared-brand-mark img{width:28px;height:28px}body .shared-brand-copy strong{font-size:15px;font-weight:700}body .shared-brand-copy small{display:none}
body .shared-desktop-nav{align-self:stretch;align-items:stretch;gap:22px;flex:1;font-size:13px}
body .shared-desktop-nav .header-primary-link{display:flex;align-items:center;font-size:13px;font-weight:400;color:#5f6964;text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
body .shared-desktop-nav .header-primary-link[aria-current=page]{border-bottom-color:#117a55;color:#171b19;font-weight:600}
body .shared-desktop-nav>.header-menu{margin-left:auto;align-self:center}body .shared-desktop-nav>.header-menu>summary{font-size:13px;font-weight:400}
@media(max-width:820px){body .site-header,body .content-header{position:sticky;top:0;z-index:45;background:#fff;border-bottom:1px solid #e1e4e2}body .shared-site-header{height:52px;min-height:52px;padding:0 16px;gap:12px}body .shared-brand-mark,body .shared-brand-mark img{width:26px;height:26px}body .shared-mobile-menu>summary{height:36px;min-height:36px;padding:0 12px;border-radius:6px;font-size:13px;box-sizing:border-box;display:flex;align-items:center}body .shared-mobile-menu .header-primary-link[aria-current=page]{color:#095e40;border-bottom:2px solid #117a55}body .shared-desktop-nav{display:none}}

/* One border-box header height across analysis and calculators. */
body .site-header,body .content-header{height:56px;min-height:56px;box-sizing:border-box}
body .shared-site-header{height:55px;min-height:55px}
body .shared-site-header .header-primary-link{border-radius:0;font-weight:400}
body .shared-site-header .header-primary-link[aria-current=page]{font-weight:600}

/* UI296: consistent user-facing surfaces. */

:root{--bg:#f4f5f4;--surface:#ffffff;--surface-soft:#f7f8f7;--line:#e1e4e2;--line-soft:#e8eeeb;--text:#171b19;--muted:#5f6964;--green:#117a55;--green-dark:#095e40;--green-soft:#e9f3ee}
.shared-site-footer nav{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center}
.shared-site-footer :is(a,button){font-size:12px;font-weight:400!important;line-height:1.6;text-decoration:none}
.shared-site-footer a:hover{text-decoration:underline}

