/* Approved MyEnviroLens palette: replace inherited emerald backgrounds globally on the theme only. */
.mel-site {
 --mel-green:#2d6694;
 --mel-green-dark:#153f65;
 --mel-green-soft:#eaf3fa;
 --mel-soft:#f2f7fb;
}
.mel-site .mel-home-domains-v23,.mel-site .mel-home-paths,.mel-site .mel-home-process-v23,
.mel-site .mel-home-pricing,.mel-site .mel-home-credentials {background:#fff !important;}
/* Refined Option B: crisp white cards; pale blue only as a section-level accent. */
.mel-site .mel-home-domain-grid article,.mel-site .mel-home-process-grid article,
.mel-site .mel-home-pricing-grid article,.mel-site .mel-home-path-card {
 background:#fff !important;border:1px solid #d8e1e8 !important;
 box-shadow:none !important;
}
.mel-site .mel-home-sample-refined {background:#eff5f9 !important;}
.mel-site .mel-home-domain-grid,.mel-site .mel-home-process-grid,
.mel-site .mel-home-pricing-grid {box-shadow:none !important;}
.mel-site .mel-home-credentials .mel-learning-grid article {
 background:#fff !important;border:1px solid #d8e1e8 !important;
}
.mel-site .mel-home-section .mel-card-eyebrow,.mel-site .mel-home-section .mel-eyebrow {
 color:#153f65 !important;
}
/* The professional-review band is navy, unlike the surrounding white sections. */
.mel-site .mel-home-section .mel-home-professional-inline .mel-card-eyebrow,
.mel-site .mel-home-section .mel-home-professional-inline .mel-text-link {
 color:#fff !important;
}
.mel-site .mel-home-professional-inline .mel-text-link {text-decoration:underline;text-underline-offset:.2em;}
.mel-site .mel-home-professional-inline .mel-text-link:hover {text-decoration-thickness:2px;}
.mel-site .mel-home-professional-inline .mel-text-link:focus-visible {
 outline:3px solid #fff;outline-offset:5px;border-radius:2px;
}
.mel-site .mel-button-primary,.mel-site .mel-header-cta {
 box-shadow:none !important;
}
/* Resources article grid and shared educational layout. */
.mel-resources-learning {padding-block:36px 56px;}
.mel-learning-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.mel-learning-grid article {background:#fff;border:1px solid #d5e4ed;border-radius:12px;padding:24px;}
.mel-learning-grid article>span {display:block;color:#214c70;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;}
.mel-learning-grid h3 {color:#082f53;font-size:23px;line-height:1.24;margin:10px 0;}
.mel-learning-grid h3 a {color:inherit;}
.mel-learning-grid p {color:#405c6f;line-height:1.58;}
.mel-learning-grid article>a:last-child {color:#153f65;font-weight:800;}
.mel-learning-notice,.mel-resource-disclaimer {background:#eff6fb;border-left:3px solid #2d6694;padding:14px 18px;color:#314e61;}
.mel-learning-article {max-width:860px;margin:auto;padding:26px 0 60px;line-height:1.7;color:#273d50;}
.mel-learning-article h2 {font-size:clamp(23px,2.5vw,31px);line-height:1.2;color:#082f53;margin:28px 0 10px;}
.mel-learning-article p {margin-bottom:17px;}
.mel-learning-article a {color:#164d79;font-weight:750;}
@media(max-width:760px){.mel-learning-grid{grid-template-columns:1fr}.mel-learning-grid article{padding:19px}}
/* Unified site accents: navy calls to action rather than legacy green. */
.mel-site .mel-header-cta, .mel-site .mel-header-cta:hover,
.mel-site .mel-button-primary, .mel-site .mel-button-primary:hover {
  background:#082f53 !important; border-color:#082f53 !important; color:#fff !important;
}
.mel-site .mel-header-cta:hover, .mel-site .mel-button-primary:hover {background:#154a75 !important;}
/* Review preference stays visible in its stable WordPress container. */
.mel-site label.mel-results-review-choice[data-mel-review-choice] {display:grid !important;}

/* Environmental Review closing panel: keep every normal and focus state legible
   on its existing navy surface without changing content or global colors. */
.mel-site .efc-report-review-page .efc-review-secure-next h2,
.mel-site .efc-report-review-page .efc-review-secure-next p {
  color:#fff !important;
}
.mel-site .efc-report-review-page .efc-review-secure-next .efc-kicker {
  color:#d7eaf7 !important;
}
.mel-site .efc-report-review-page .efc-review-secure-next a {
  color:#082f53 !important;
  text-decoration:underline;
  text-underline-offset:.2em;
}
.mel-site .efc-report-review-page .efc-review-secure-next a:focus-visible {
  outline:3px solid #fff;
  outline-offset:5px;
  border-radius:2px;
}

/* Staging presentation pass: use the current site's type, spacing and navy
   controls without changing conversation or commerce behavior. */
.mel-site .efc-guide-mode-full .efc-guide-conversation:empty {
  min-height:0;
  padding:0;
  margin:0;
}
.mel-site .efc-guide :is(.efc-guide-form > label,.efc-guide-consent,.efc-guide-starters button),
.mel-site .efc-guide-page .efc-guide-intro {
  font-family:var(--mel-sans,Arial,sans-serif);
}
.mel-site .efc-guide .efc-guide-form > label {font-size:16px;line-height:1.45;}
.mel-site .efc-guide .efc-guide-consent {font-size:14px;line-height:1.5;}
.mel-site .efc-guide .efc-guide-send {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:10px 18px;
}
.mel-site .efc-guide .efc-guide-starters button {border-color:#d5e4ed;background:#eff5f9;color:#082f53;}
.mel-site .efc-guide .efc-guide-starters button:hover,
.mel-site .efc-guide .efc-guide-starters button:focus-visible {border-color:#216ba5;background:#e5f1f8;}
.mel-site .efc-guide .efc-guide-form {border-top-color:#d5e4ed;}
.mel-site .efc-guide :is(button,a,textarea,input):focus-visible,
.mel-site .mel-review-access a:focus-visible,
.mel-site .mel-learning-article a:focus-visible {outline:3px solid #216ba5;outline-offset:3px;}

/* Review Access lives in the same bounded, branded surface as interior pages. */
.mel-site .mel-review-access {
  width:min(100%,920px);margin:clamp(24px,4vw,54px) auto;
  padding:clamp(24px,4vw,48px);
  border:1px solid #d5e4ed;border-top:4px solid #082f53;
  background:#fff;box-shadow:0 10px 28px rgba(8,47,83,.06);
}
.mel-site .mel-review-access h1 {max-width:800px;color:#082f53;font-size:clamp(36px,4vw,52px);line-height:1.12;}
.mel-site .mel-review-access p {max-width:760px;line-height:1.65;}
.mel-site .mel-review-access .mel-actions {display:flex;flex-wrap:wrap;gap:12px;}
.mel-site .mel-review-access .mel-button {min-height:44px;display:inline-flex;align-items:center;justify-content:center;}

/* Five resource articles use the same content width and card language. */
.mel-site .page-child.parent-pageid-79 .ef-page-hero .ef-shell,
.mel-site.page-child.parent-pageid-79 .ef-page-hero .ef-shell {max-width:980px;}
.mel-site.page-child.parent-pageid-79 .ef-page-hero h1 {font-size:clamp(36px,4vw,54px);line-height:1.12;}
.mel-site.page-child.parent-pageid-79 .ef-page-content {
  max-width:980px;padding-block:clamp(28px,4vw,54px) 70px;
  color:var(--mel-ink,#233846);font-family:var(--mel-sans,Arial,sans-serif);
  font-size:17px;line-height:1.7;
}
.mel-site.page-child.parent-pageid-79 .ef-page-content h2 {color:#082f53;font-size:clamp(25px,2.7vw,34px);line-height:1.2;margin-top:36px;}
.mel-site.page-child.parent-pageid-79 .ef-page-content a {color:#153f65;text-underline-offset:.18em;}

/* Interior headings remain subordinate to the larger homepage hero. */
.mel-site .mel-support-page .mel-public-hero h1,
.mel-site .mel-policy-page .mel-public-hero h1 {font-size:clamp(36px,4vw,52px);line-height:1.12;}
.mel-site .mel-support-page .mel-support-grid h2,
.mel-site .mel-policy-page .mel-policy-grid h2 {font-size:clamp(24px,2.5vw,30px);line-height:1.2;}
.mel-site .mel-service-status {border-left:4px solid #216ba5;background:#eff5f9;color:#082f53;}
@media(max-width:600px){
  .mel-site .mel-review-access {margin-block:18px;padding:22px;}
  .mel-site .mel-review-access .mel-actions .mel-button {width:100%;}
}
@media(max-width:820px){
  /* On narrow screens the optional situation map follows the composer. */
  .mel-site .efc-guide-mode-full .efc-case-map {order:0;}
}
