/* ECC Patch 005-R2. Page-only refinements; shared header/footer have no selectors here. */

/* Return the calculator to a centered introduction, standalone tool and disclaimer. */
.eccr-page.eccr-calculator-clean .eccr-hero{
  padding:clamp(36px,4.4vw,62px) 0 24px;
  background:#fff;
}
.eccr-page.eccr-calculator-clean .eccr-calculator-intro{
  display:block;text-align:center;
}
.eccr-page.eccr-calculator-clean h1{
  font-size:clamp(2rem,3.2vw,3rem);
  line-height:1.2;max-width:none;margin:0 auto 24px;text-wrap:balance;
}
.eccr-page.eccr-calculator-clean .eccr-lead{
  max-width:920px;margin:0 auto;color:#536e82;
  font-size:clamp(1rem,1.3vw,1.15rem);line-height:1.8;
}
.eccr-page.eccr-calculator-clean .eccr-tool-section{
  padding:20px 0 44px;background:#fff;
}
.eccr-page.eccr-calculator-clean .eccr-calculator-embed{
  width:100%;min-width:0;min-height:300px;
}
.eccr-page.eccr-calculator-clean .eccr-disclosure{
  max-width:1120px;margin:0 auto;padding:36px 0 0;
  font-size:14px;line-height:1.8;text-align:center;color:#536e82;
}
.eccr-page.eccr-calculator-clean .eccr-disclosure h2{
  margin-bottom:16px;color:#29465d;font-size:15px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;
}
.eccr-page.eccr-calculator-clean .eccr-disclosure p{margin-bottom:14px}
.eccr-page.eccr-calculator-clean .eccr-calculator-resources{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px 36px;
  border-top:1px solid #e3ebf0;margin-top:30px;padding-top:26px;
}
.eccr-page.eccr-calculator-clean .eccr-calculator-resources a{
  display:inline-flex;align-items:center;gap:9px;min-height:44px;
  font:700 14px/1.5 "Manrope",sans-serif;color:#0b6da5;text-decoration:none;
}
.eccr-page.eccr-calculator-clean .eccr-calculator-resources a:hover{text-decoration:underline;text-underline-offset:5px}

/* Full document cover beside concise topics. The original hero/form remains primary. */
.eccr-guide .hg-guide-layout{
  display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:clamp(36px,6vw,80px);align-items:center;
}
.eccr-guide .hg-guide-cover{
  width:100%;max-width:360px;justify-self:center;
  padding:12px;margin:0;border:1px solid #dce6ee;border-radius:18px;
  background:#fff;box-shadow:0 18px 42px #06182815;
}
.eccr-guide .hg-guide-cover img{
  display:block;width:100%;height:auto;object-fit:contain;border-radius:8px;
}
.eccr-guide .hg-guide-content{min-width:0}
.eccr-guide .hg-guide-content .section-intro{
  text-align:left;max-width:none;margin:0 0 24px;
}
.eccr-guide .hg-guide-content .section-intro h2{
  font-size:clamp(1.7rem,2.5vw,2.5rem);max-width:26ch;
}
.eccr-guide .hg-guide-content .section-intro p{max-width:660px}
.eccr-guide .hg-guide-content .highlight-grid{
  display:grid;grid-template-columns:minmax(0,1fr);gap:14px;
}
.eccr-guide .hg-guide-content .highlight-card{
  display:flex;align-items:flex-start;gap:18px;min-height:0;padding:22px 24px;
}
.eccr-guide .hg-guide-content .highlight-icon{margin:0;flex:0 0 44px;width:44px;height:44px}
.eccr-guide .hg-guide-content .highlight-card h3{
  font-size:19px;line-height:1.4;text-wrap:pretty;max-width:none;margin:0 0 8px;
}
.eccr-guide .hg-guide-content .highlight-card p{font-size:15px;line-height:1.75;margin:0}
.eccr-page .eccr-program-note,.eccr-page .eccr-program-disclosure,
.x-page .eccr-program-disclosure{
  color:#536e82;font-size:14px;line-height:1.85;max-width:1050px;margin:24px 0 0;
}
.eccr-page .eccr-program-disclosure,.x-page .eccr-program-disclosure{
  border-top:1px solid #dce6ee;padding-top:22px;
}

/* No zoom/cropping of document covers, licensing text, or portrait card content. */
.ecc-custom-preview main .ecc-polish-card{
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease,opacity .4s ease;
}
.ecc-custom-preview main .ecc-polish-image{
  transition:filter .3s ease;
}
@media(hover:hover) and (pointer:fine){
  .ecc-custom-preview main .ecc-polish-card:hover,
  .ecc-custom-preview main .ecc-polish-card:focus-within{
    transform:translateY(-3px)!important;
    box-shadow:0 16px 38px rgba(6,24,40,.13);
    border-color:#9bcce6;
  }
  .ecc-custom-preview main .ecc-polish-image:hover,
  .ecc-custom-preview main .ecc-polish-card:hover .ecc-polish-image,
  .ecc-custom-preview main .ecc-polish-card:focus-within .ecc-polish-image{
    filter:brightness(1.025) saturate(1.015);
  }
}
@media(max-width:900px){
  .eccr-guide .hg-guide-layout{grid-template-columns:minmax(0,1fr);gap:34px}
  .eccr-guide .hg-guide-cover{max-width:320px}
  .eccr-guide .hg-guide-content .section-intro h2{max-width:none}
}
@media(max-width:520px){
  .eccr-page.eccr-calculator-clean .eccr-tool-section>.eccr-shell{width:calc(100% - 24px)}
  .eccr-page.eccr-calculator-clean .eccr-hero{padding-top:32px;padding-bottom:16px}
  .eccr-page.eccr-calculator-clean h1{font-size:clamp(1.9rem,6.5vw,2rem);margin-bottom:20px}
  .eccr-page.eccr-calculator-clean .eccr-disclosure{padding:26px 4px 0;text-align:left;font-size:14px}
  .eccr-page.eccr-calculator-clean .eccr-disclosure h2{text-align:center}
  .eccr-page.eccr-calculator-clean .eccr-calculator-resources{gap:6px;align-items:flex-start;flex-direction:column;padding-left:4px}
  .eccr-guide .hg-guide-cover{max-width:300px;padding:10px}
  .eccr-guide .hg-guide-content .highlight-card{padding:20px 18px;gap:14px}
  .eccr-guide .hg-guide-content .highlight-icon{flex-basis:36px;width:36px;height:36px}
  .eccr-guide .hg-guide-content .highlight-card h3{font-size:18px}
}
@media(prefers-reduced-motion:reduce){
  .ecc-custom-preview main .ecc-polish-card,
  .ecc-custom-preview main .ecc-polish-image{transition:none!important}
  .ecc-custom-preview main .ecc-polish-card:hover,
  .ecc-custom-preview main .ecc-polish-card:focus-within{transform:none!important}
  .ecc-custom-preview main .ecc-polish-image:hover,
  .ecc-custom-preview main .ecc-polish-card:hover .ecc-polish-image,
  .ecc-custom-preview main .ecc-polish-card:focus-within .ecc-polish-image{filter:none!important}
}
