/* JP Cost Estimation v0.8 · shared site shell; domain styles stay separate */
:root{
  --jp-forest:#173f35;--jp-forest-deep:#102d28;--jp-copper:#ad733b;
  --jp-paper:#f7f5ef;--jp-surface:#fffdf9;--jp-edge:#d9dfd5;
  --jp-max-width:1440px;
  --bg:var(--jp-paper);--panel:var(--jp-surface);--ink:#23352f;
  --muted:#63736c;--line:var(--jp-edge);--nav:var(--jp-forest-deep);
  --nav2:#285c4c;--accent:#267052;--soft:#edf3e9;
  --cream:var(--jp-paper);--paper:var(--jp-surface);
}
body{background-color:var(--jp-paper)}
#jp-site-masthead,#jp-site-masthead *{box-sizing:border-box}
#jp-site-masthead{position:relative;z-index:100;display:flex;align-items:center;justify-content:space-between;
  gap:18px;min-height:70px;padding:11px max(18px,calc((100vw - var(--jp-max-width))/2));
  background:linear-gradient(110deg,var(--jp-forest-deep),var(--jp-forest) 64%,#315d4a);
  border-bottom:3px solid var(--jp-copper);color:#f7f6ef;
  font:500 14px/1.4 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
#jp-site-masthead .jp-identity{display:flex;align-items:center;gap:12px;flex:0 0 auto;text-decoration:none;color:inherit}
#jp-site-masthead .jp-seal{display:grid;place-items:center;width:43px;height:43px;background:#f2e6ce;
  border:1px solid #d2b483;border-radius:12px;color:#244636;font-size:16px;font-weight:900}
#jp-site-masthead .jp-identity strong{display:block;font-size:14px;letter-spacing:.055em}
#jp-site-masthead .jp-identity small{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#c9dfd3}
#jp-site-masthead .jp-global-nav{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;
  gap:5px;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:thin}
#jp-site-masthead .jp-global-nav a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  padding:9px 12px;min-height:38px;border-radius:10px;text-decoration:none;
  color:#e3eee6;font-size:12px;font-weight:700;white-space:nowrap;border:1px solid transparent}
#jp-site-masthead .jp-global-nav a:hover,#jp-site-masthead .jp-global-nav a:focus-visible{
  background:#ffffff22;color:#fff;border-color:#ffffff55}
#jp-site-masthead .jp-global-nav a[aria-current]{background:#f3e5cc;color:#183c30;border-color:#e1c38b}
.jp-skip{position:absolute;left:16px;top:-70px;z-index:150;padding:9px 12px;background:#fff;color:#16392e}
.jp-skip:focus{top:7px}
#jp-site-footer{padding:21px clamp(18px,4vw,65px);background:#16392f;color:#cddfd3;
  font:500 12px/1.65 Inter,ui-sans-serif,system-ui,sans-serif;display:flex;
  justify-content:space-between;gap:12px;flex-wrap:wrap}
#jp-site-footer strong{color:#f7f3e9;letter-spacing:.09em}
#jp-site-footer a{color:#f3d5a9;text-underline-offset:3px}
body .sidebar{background:linear-gradient(112deg,#163b30,#21523f 60%,#2d6049);border-bottom-color:#bc955d}
body .sidebar .nav-item.active{background:#e7e8d7;color:#183c30}
body .sidebar .nav-item:hover{background:#d9e6d6;color:#173f35}
body .landscape-hero{border-bottom-color:#c7a26c}
body .landscape-hero::before{background:linear-gradient(90deg,rgba(11,42,33,.96),rgba(25,74,50,.84) 43%,rgba(19,74,42,.18))}
body .landscape-hero h2 em,body .hero h1 em{color:#f3d8a8}
body .source-header{border-bottom:2px solid #c7a26c}
body .metric,body .panel,body .source-card,body .known-rate-card{border-color:var(--jp-edge)}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #d4a25c;outline-offset:3px}
@media(max-width:960px){
 #jp-site-masthead{display:block;padding:10px 14px}
 #jp-site-masthead .jp-identity{margin-bottom:8px}
 #jp-site-masthead .jp-global-nav{justify-content:flex-start;padding-bottom:2px}
 #jp-site-masthead .jp-global-nav a{font-size:12px;padding:8px 11px}
}
@media(max-width:620px){
 #jp-site-masthead .jp-identity strong{font-size:12px}
 #jp-site-masthead .jp-identity small{font-size:9px}
 #jp-site-footer{display:block}#jp-site-footer span{display:block;margin-top:7px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
html[data-theme="dark"] #jp-site-footer{background:#0d261f}

/* Three equal-size department controls with an accessible More menu.
   Colors, backgrounds, page-specific styles and typography family remain unchanged. */
#jp-site-masthead .jp-global-nav{overflow:visible;flex-wrap:wrap;gap:7px}
#jp-site-masthead .jp-global-nav > a,
#jp-site-masthead .jp-global-nav .jp-more-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  box-sizing:border-box;min-width:118px;min-height:42px;padding:9px 13px;
  border:1px solid transparent;border-radius:10px;
  color:#e3eee6;background:transparent;text-decoration:none;
  font:700 13px/1.3 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  white-space:nowrap;cursor:pointer
}
#jp-site-masthead .jp-more{position:relative;flex:0 0 auto}
#jp-site-masthead .jp-more-toggle{list-style:none;gap:7px}
#jp-site-masthead .jp-more-toggle::-webkit-details-marker{display:none}
#jp-site-masthead .jp-more-toggle::after{content:"▾";font-size:12px;opacity:.9}
#jp-site-masthead .jp-more[open] .jp-more-toggle::after{transform:rotate(180deg)}
#jp-site-masthead .jp-global-nav .jp-more-toggle:hover,
#jp-site-masthead .jp-global-nav .jp-more-toggle:focus-visible{
  background:#ffffff22;color:#fff;border-color:#ffffff55
}
#jp-site-masthead .jp-global-nav .jp-more-toggle[aria-current],
#jp-site-masthead .jp-more[open] .jp-more-toggle{
  background:#f3e5cc;color:#183c30;border-color:#e1c38b
}
#jp-site-masthead .jp-more-panel{
  position:absolute;right:0;top:calc(100% + 8px);z-index:300;
  display:grid;gap:3px;width:max-content;min-width:235px;max-width:calc(100vw - 28px);
  padding:7px;border:1px solid #cbd8cb;border-radius:13px;
  background:#fffdf9;box-shadow:0 16px 34px #102d283d
}
#jp-site-masthead .jp-more-panel a{
  display:flex;justify-content:flex-start;min-height:42px;padding:11px 13px;
  border:1px solid transparent;border-radius:8px;color:#173f35;
  font-size:13px;line-height:1.4;text-align:left
}
#jp-site-masthead .jp-more-panel a:hover,
#jp-site-masthead .jp-more-panel a:focus-visible{
  background:#edf3e9;color:#173f35;border-color:#cbd8cb
}
#jp-site-masthead .jp-more-panel a[aria-current="page"]{
  background:#f3e5cc;color:#183c30;border-color:#e1c38b
}
@media(max-width:960px){
 #jp-site-masthead .jp-global-nav{overflow:visible;justify-content:flex-start}
 #jp-site-masthead .jp-global-nav > a,
 #jp-site-masthead .jp-global-nav .jp-more-toggle{min-height:42px;font-size:13px;padding:9px 13px}
}
@media(max-width:620px){
 #jp-site-masthead .jp-global-nav > a,
 #jp-site-masthead .jp-global-nav .jp-more{flex:1 1 calc(50% - 7px);min-width:0}
 #jp-site-masthead .jp-global-nav .jp-more-toggle{width:100%;min-width:0}
 #jp-site-masthead .jp-more-panel{right:0}
}


/* A9 functional navigation — compact responsive six-control menu. */
#jp-site-masthead{gap:12px}
#jp-site-masthead .jp-global-nav{flex-wrap:wrap;justify-content:flex-end;gap:5px}
#jp-site-masthead .jp-global-nav>a,#jp-site-masthead .jp-global-nav .jp-more-toggle{
  min-width:0;min-height:42px;padding:10px 12px;font-size:12px;white-space:nowrap;
}
.jp-functional-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:10px max(15px,calc((100vw - 1440px)/2));background:#e8f0e6;border-bottom:1px solid #c8dacd;font:700 13px/1.4 Inter,system-ui,sans-serif}
.jp-functional-tabs a{color:#1d4f38;padding:8px 12px;text-decoration:none;border-radius:9px}
.jp-functional-tabs a[aria-current]{background:#174936;color:white}
@media(max-width:880px){
#jp-site-masthead .jp-global-nav{justify-content:flex-start;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
#jp-site-masthead .jp-global-nav>a,#jp-site-masthead .jp-global-nav .jp-more-toggle{width:100%;font-size:12px;min-width:0;min-height:42px;padding:8px 5px;white-space:normal;text-align:center}
#jp-site-masthead .jp-more{min-width:0}
#jp-site-masthead .jp-more-panel{right:0}
}
@media(max-width:440px){
#jp-site-masthead .jp-global-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
#jp-site-masthead .jp-global-nav>a,#jp-site-masthead .jp-global-nav .jp-more-toggle{font-size:11px}
.jp-functional-tabs{gap:4px}.jp-functional-tabs a{font-size:12px;padding:7px 9px}
}

/* Shared global navigation supersedes duplicated legacy finance headers.
   The underlying historic markup remains retained for restoration. */
.jp-finance-page > .sidebar,
.jp-finance-dashboard-page > .site-header{display:none!important}
