/* All resource presentation stays inside main. No body/html overflow rules. */
.eccr-page{
  --eccr-navy:#061828;--eccr-blue:#7dd1fb;--eccr-link:#0b6da5;
  --eccr-ink:#112237;--eccr-muted:#607588;--eccr-line:#dce6ee;--eccr-soft:#f4f8fb;
  --eccr-gradient:linear-gradient(110deg,#030f1b 0%,#051b2d 58%,#07283e 100%);
  color:var(--eccr-ink);background:#fff;font:400 1rem/1.75 "DM Sans",Arial,sans-serif;
  min-width:0;isolation:isolate;
}
.eccr-page *,.eccr-page *::before,.eccr-page *::after{box-sizing:border-box}
.eccr-page [hidden]{display:none!important}
.eccr-page h1,.eccr-page h2,.eccr-page h3{font-family:"Manrope",Arial,sans-serif;font-weight:700;letter-spacing:-.038em;line-height:1.18;text-wrap:balance;margin:0 0 20px}
.eccr-page h1{font-size:clamp(2.25rem,4.1vw,4rem);max-width:22ch}
.eccr-page h2{font-size:clamp(1.65rem,2.7vw,2.65rem)}
.eccr-page h3{font-size:clamp(1.1rem,1.5vw,1.4rem)}
.eccr-page p{margin:0 0 18px}
.eccr-page img{display:block;max-width:100%;height:auto}
.eccr-page svg{max-width:100%}
.eccr-page a{color:var(--eccr-link);text-underline-offset:4px}
.eccr-page a:focus-visible,.eccr-page summary:focus-visible,.eccr-page button:focus-visible{outline:3px solid #43addd;outline-offset:5px}
.eccr-page :is([id],section){scroll-margin-top:calc(var(--ecc-header-height,112px) + 24px)}
.eccr-page .reveal,.eccr-page [data-reveal]{opacity:1;transform:none}
.eccr-page .eccr-shell{width:min(1280px,calc(100% - 80px));margin-inline:auto}
.eccr-page .eccr-section{padding:clamp(48px,6vw,88px) 0}
.eccr-page .eccr-soft{background:var(--eccr-soft)}
.eccr-page .eccr-section-heading{max-width:920px;margin-bottom:32px}
.eccr-page .eccr-section-heading p{color:var(--eccr-muted)}
.eccr-page .eccr-eyebrow{font-family:"Manrope",sans-serif;font-size:12px;font-weight:800;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;color:var(--eccr-link);margin:0 0 16px}
.eccr-page .eccr-hero{padding:clamp(44px,5vw,76px) 0;background:linear-gradient(115deg,#fff 48%,#f4f8fb 100%)}
.eccr-page .eccr-hero p:not(.eccr-eyebrow){max-width:900px;color:var(--eccr-muted)}
.eccr-page .eccr-hero h1 span{color:var(--eccr-link)}
.eccr-page .eccr-lead{font-size:clamp(1.05rem,1.4vw,1.2rem);line-height:1.8}
.eccr-page .eccr-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:12px;overflow:hidden;isolation:isolate;min-height:48px;padding:14px 25px;border:1px solid transparent;border-radius:999px;color:#fff;background:#0b6da5;font:700 15px/1.45 "Manrope",sans-serif;text-decoration:none;transition:transform .2s,box-shadow .2s}
.eccr-page .eccr-button::before{content:"";position:absolute;top:-80%;left:-70%;width:30%;height:260%;background:linear-gradient(90deg,transparent,#ffffff5e,transparent);transform:skewX(-20deg);transition:left .6s;pointer-events:none}
.eccr-page .eccr-button:hover::before{left:140%}
.eccr-page .eccr-button:hover{transform:translateY(-2px);box-shadow:0 10px 24px #0618281a}
.eccr-page .eccr-text-link{font-family:"Manrope",sans-serif;font-size:15px;font-weight:700;text-decoration:none;display:inline-flex;gap:10px;align-items:center;line-height:1.5}
.eccr-page .eccr-text-link:hover{text-decoration:underline}

/* Calculator: generous tool area, compact supporting copy, no replacement logic. */
.eccr-calculator .eccr-calculator-intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:50px;align-items:center}
.eccr-calculator .eccr-calculator-intro h1{margin-bottom:0}
.eccr-calculator .eccr-tool-section{padding:10px 0 64px;background:linear-gradient(#f8fbfd,#fff 220px)}
.eccr-page .eccr-tool-card{padding:clamp(20px,3.5vw,48px);border:1px solid var(--eccr-line);border-radius:24px;background:#fff;box-shadow:0 18px 55px #0618280d}
.eccr-page .eccr-tool-heading{margin-bottom:28px;max-width:750px}
.eccr-page .eccr-tool-heading h2{font-size:clamp(1.55rem,2.2vw,2rem);margin-bottom:12px}
.eccr-page .eccr-tool-heading p:last-child{color:var(--eccr-muted)}
.eccr-page .eccr-embed{min-height:180px}
.eccr-page .eccr-loading{color:var(--eccr-muted);padding:16px 18px;background:#f4f9fc;border:1px dashed #d1e3ed;border-radius:12px;font-size:14px}
.eccr-page .eccr-widget-help{margin-top:12px;font-size:14px;color:var(--eccr-muted)}
.eccr-page .eccr-disclosure{max-width:1060px;padding-top:30px;color:var(--eccr-muted);font-size:14px;line-height:1.8}
.eccr-page .eccr-disclosure h2{font-size:16px;letter-spacing:-.015em;margin-bottom:10px}
.eccr-page .eccr-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.eccr-page .eccr-link-card{position:relative;display:block;text-decoration:none;color:var(--eccr-ink);padding:30px 26px 56px;border:1px solid var(--eccr-line);border-radius:18px;background:#fff;transition:transform .25s,box-shadow .25s,border-color .25s}
.eccr-page .eccr-link-card>span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--eccr-link);font-weight:700;margin-bottom:20px}
.eccr-page .eccr-link-card h3{margin-bottom:13px}
.eccr-page .eccr-link-card p{font-size:15px;line-height:1.8;color:var(--eccr-muted);margin:0}
.eccr-page .eccr-link-card b{position:absolute;bottom:22px;right:26px;color:var(--eccr-link);font-size:24px;font-weight:400}
.eccr-page .eccr-link-card:hover,.eccr-page .eccr-link-card:focus-visible{transform:translateY(-4px);box-shadow:0 15px 35px #0618280e;border-color:#9fdcf9}

/* Supplied rates design: compact mobile provider variant replaces sideways dragging. */
.eccr-page.eccr-rates{--navy:#061828;--sky:#7dd1fb;--ink:#112237;--body:#607588;--container:1280px}
.eccr-rates .container{width:min(1280px,calc(100% - 80px))}
.eccr-rates .hero-layout{grid-template-columns:minmax(0,1fr) 760px;gap:46px}
.eccr-rates .widget-shell,.eccr-guide .form-panel{transform:none!important}
.eccr-rates .widget-shell{align-self:start;width:100%;min-width:0}
.eccr-rates .widget-frame{overflow:hidden;display:grid;place-items:center;background:#fff;height:330px}
.eccr-rates .widget-frame iframe{display:block;border:0;max-width:none;width:716px;min-width:0;height:330px;transform:none}
.eccr-rates .widget-frame .eccr-rates-mobile{display:none;width:290px;height:485px}
.eccr-rates .widget-source{font-size:12px}
.eccr-rates .widget-kicker{font-size:11px;line-height:1.6;letter-spacing:.06em}
.eccr-rates .widget-disclosure{font-size:13px;line-height:1.8}
.eccr-rates .intro .lead{font-size:17px}
.eccr-rates .insight-panel li{font-size:14px;line-height:1.75}
.eccr-rates .btn,.eccr-guide .btn{font-size:14px;border-radius:999px;min-height:48px;line-height:1.5;padding:13px 20px}
.eccr-rates .section-heading{gap:30px;align-items:flex-start}
.eccr-rates .section-heading h2{max-width:30ch}
.eccr-rates .section-heading p{font-size:16px}
.eccr-rates .factor p,.eccr-rates .resource p{font-size:15px;line-height:1.8}
.eccr-rates .factor h3{font-size:20px}
.eccr-rates .faq-item summary{font-size:16px;line-height:1.6}
.eccr-rates .faq-item p{font-size:15px;line-height:1.8}
.eccr-rates .cta-inner{background:var(--eccr-gradient)}
.eccr-rates .cta-inner h2{color:#fff}
.eccr-rates .cta-inner p{color:#c5dbe8}
.eccr-rates .cta-inner .btn{flex-shrink:0}

/* Supplied guide body, shared typography, header-height opening measured by existing JS. */
.eccr-page.eccr-guide{--navy:#061828;--blue:#7dd1fb;--ink:#112237;--gray:#607588;--max:1280px}
.eccr-guide .container{width:min(1280px,calc(100% - 80px))}
.eccr-guide .hero{background:var(--eccr-gradient)}
.eccr-guide .hero-grid{padding-top:calc(var(--ecc-header-height,112px) + 50px);padding-bottom:70px}
.eccr-guide .hero h1{color:#fff;font-size:clamp(2.4rem,4.5vw,4.2rem);max-width:15ch}
.eccr-guide .hero h1 .accent{color:#7dd1fb}
.eccr-guide .hero-lead{color:#c6dbe7;font-size:17px;line-height:1.8}
.eccr-guide .hero .eyebrow{color:#c6e9fc;font-size:11px;white-space:normal}
.eccr-guide .hero .btn-sky{color:#061828;background:#7dd1fb}
.eccr-guide .hero .btn-transparent{color:#fff}
.eccr-guide .step strong{font-size:14px}
.eccr-guide .step small{font-size:13px;color:#c0d6e4}
.eccr-guide .form-panel{min-width:0}
.eccr-guide .form-title{font-size:clamp(1.25rem,1.8vw,1.65rem);color:#061828;line-height:1.3}
.eccr-guide .form-desc{font-size:14px}
.eccr-guide .form-label{font-size:11px;line-height:1.4}
.eccr-guide .form-fineprint{font-size:12px;line-height:1.8}
.eccr-guide .form-fineprint a{color:#0b6da5}
.eccr-guide .embed-note{font-size:14px}
.eccr-guide .highlight-card p{font-size:16px;line-height:1.8}
.eccr-guide .highlight-card h3{font-size:21px;max-width:22ch}
.eccr-guide .section-intro p,.eccr-guide .next-shell p{font-size:16px;line-height:1.8}
.eccr-guide .faq summary{font-size:16px;line-height:1.6}
.eccr-guide .faq details p{font-size:15px;line-height:1.8}
.eccr-guide .next-actions{display:flex;flex-direction:column;align-items:stretch;gap:14px;min-width:220px}

/* Existing-resource carryovers. Content and provider IDs remain intact. */
.eccr-page .eccr-guide-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,6vw,80px);align-items:start}
.eccr-page .eccr-guide-cover{margin:0;justify-self:center;max-width:350px;width:100%}
.eccr-page .eccr-guide-cover img{border-radius:10px;box-shadow:0 20px 45px #0618281c}
.eccr-page .eccr-form-card{border:1px solid var(--eccr-line);padding:clamp(22px,3vw,36px);border-radius:20px;background:#fff;min-width:0;box-shadow:0 14px 40px #06182809}
.eccr-page .eccr-form-card h2{font-size:24px}
.eccr-page .eccr-checklist{padding:0;list-style:none;margin:22px 0}
.eccr-page .eccr-checklist li{display:flex;gap:12px;align-items:baseline;margin:8px 0}
.eccr-page .eccr-checklist li::before{content:"✓";color:#0b6da5;font-weight:700}
.eccr-page .eccr-guide-topics{padding-left:24px;margin:28px 0 0}
.eccr-page .eccr-guide-topics li{padding-left:10px;margin-bottom:26px}
.eccr-page .eccr-guide-topics li::marker{color:#0b6da5;font-weight:700}
.eccr-page .eccr-guide-topics h3{margin-bottom:10px}
.eccr-page .eccr-guide-topics p{color:var(--eccr-muted)}
.eccr-page .eccr-faq-wrap{max-width:980px}
.eccr-page .eccr-faq-item{border:1px solid var(--eccr-line);border-radius:14px;margin-bottom:14px;background:#fff;overflow:hidden}
.eccr-page .eccr-faq-item summary{padding:22px 26px;cursor:pointer;font:700 17px/1.6 "Manrope",sans-serif;color:var(--eccr-ink)}
.eccr-page .eccr-faq-item summary::marker{color:#0b6da5}
.eccr-page .eccr-faq-item>div{padding:0 26px 22px}
.eccr-page .eccr-faq-item>div p{max-width:820px}
.eccr-page .eccr-faq-item[open]{border-color:#8ccdee}
.eccr-page .eccr-loan-nav{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}
.eccr-page .eccr-loan-nav a{display:inline-flex;align-items:center;min-height:44px;line-height:1.5;padding:10px 18px;border:1px solid var(--eccr-line);border-radius:999px;font:700 14px/1.5 "Manrope",sans-serif;text-decoration:none;background:#fff}
.eccr-page .eccr-loan-nav a:hover,.eccr-page .eccr-loan-nav a.is-active{background:#061828;color:#fff;border-color:#061828}
.eccr-page .eccr-loan-panel{padding:clamp(24px,4vw,46px);border:1px solid var(--eccr-line);border-radius:20px;margin-bottom:30px;display:flow-root}
.eccr-page .eccr-loan-panel h2{padding-top:8px}
.eccr-page .eccr-loan-panel h3{font-size:20px;line-height:1.5;margin:26px 0 14px}
.eccr-page .eccr-loan-panel img{width:min(38%,420px);float:right;margin:14px 0 28px 36px;border-radius:16px;object-fit:cover}
.eccr-page .eccr-loan-panel li{margin-bottom:9px}
.eccr-page .eccr-loan-panel p{max-width:1080px}
.eccr-page .eccr-loan-panel blockquote{border-left:3px solid #7dd1fb;padding:12px 22px;margin:28px 0;background:#f4f9fc;font-size:14px;clear:both}
.eccr-page .eccr-anchor-alias{display:block;scroll-margin-top:calc(var(--ecc-header-height,112px) + 24px)}
.eccr-page .eccr-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.eccr-page .eccr-post-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--eccr-line);border-radius:18px;overflow:hidden;transition:box-shadow .2s,transform .2s}
.eccr-page .eccr-post-card:hover{transform:translateY(-3px);box-shadow:0 14px 35px #0618280c}
.eccr-page .eccr-post-image{overflow:hidden;display:block;aspect-ratio:870/570;background:#f1f6f9}
.eccr-page .eccr-post-image img{height:100%;width:100%;object-fit:cover;transition:transform .35s}
.eccr-page .eccr-post-card:hover .eccr-post-image img{transform:scale(1.025)}
.eccr-page .eccr-post-copy{padding:24px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.eccr-page .eccr-post-copy h3{font-size:20px;line-height:1.5;text-wrap:pretty;margin-bottom:14px;overflow-wrap:anywhere}
.eccr-page .eccr-post-copy h3 a{color:#112237;text-decoration:none}
.eccr-page .eccr-post-copy h3 a:hover{color:#0b6da5}
.eccr-page .eccr-post-copy>p{font-size:15px;color:var(--eccr-muted)}
.eccr-page .eccr-post-copy .eccr-post-meta{font-size:13px;line-height:1.7;margin-top:auto;padding-top:12px}
.eccr-page .eccr-post-categories{display:flex;flex-wrap:wrap;gap:6px 12px;margin-bottom:15px}
.eccr-page .eccr-post-categories a{font-size:11px;letter-spacing:.03em;text-transform:uppercase;font-weight:700;text-decoration:none}
.eccr-page .eccr-pagination{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:36px}
.eccr-page .eccr-pagination a,.eccr-page .eccr-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:9px 15px;border-radius:999px;text-decoration:none;font-weight:700;font-size:14px}
.eccr-page .eccr-pagination a{border:1px solid var(--eccr-line)}
.eccr-page .eccr-pagination a:hover,.eccr-page .eccr-pagination .current{background:#061828;color:#fff}
.eccr-page .eccr-blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:45px}
.eccr-page .eccr-blog-layout .eccr-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.eccr-page .eccr-blog-sidebar{font-size:14px;min-width:0}
.eccr-page .eccr-blog-sidebar h2{font-size:21px;margin:0 0 20px}
.eccr-page .eccr-blog-sidebar ul{list-style:none;padding:0;margin:0 0 36px}
.eccr-page .eccr-blog-sidebar li{border-bottom:1px solid var(--eccr-line);padding:10px 0}
.eccr-page .eccr-blog-sidebar li a{text-decoration:none;display:flex;justify-content:space-between;gap:12px}
.eccr-page .eccr-blog-sidebar li span{color:#607588}
.eccr-page .eccr-sidebar-note{padding:24px;background:#f4f8fb;border-radius:14px}
.eccr-page .eccr-sidebar-note h3{font-size:20px;line-height:1.4}
.eccr-page .eccr-empty{padding:28px;border:1px solid var(--eccr-line);border-radius:16px}

@media(max-width:1350px){
 .eccr-rates .hero-layout{grid-template-columns:1fr;gap:38px}
 .eccr-rates .intro{max-width:850px}
 .eccr-rates .widget-shell{width:min(100%,820px);justify-self:center}
 .eccr-rates .intro h1{max-width:22ch}
}
@media(max-width:1030px){
 .eccr-page .eccr-blog-layout{grid-template-columns:minmax(0,1fr) 210px;gap:24px}
 .eccr-page .eccr-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eccr-guide .hero-grid{grid-template-columns:1fr;padding-top:calc(var(--ecc-header-height,112px) + 40px);gap:38px}
 .eccr-guide .hero-copy{max-width:750px}
 .eccr-guide .hero h1{max-width:20ch}
 .eccr-guide .form-panel{justify-self:start;max-width:750px}
 .eccr-guide .hero-lead{max-width:680px}
}
@media(max-width:900px){
 .eccr-rates .widget-frame .eccr-rates-desktop{display:none}
 .eccr-rates .widget-frame .eccr-rates-mobile{display:block}
 .eccr-rates .widget-frame{height:485px;border:0}
 .eccr-rates .widget-shell{max-width:540px}
 .eccr-rates .factors-grid,.eccr-rates .resource-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:800px){
 .eccr-page .eccr-shell,.eccr-guide .container,.eccr-rates .container{width:calc(100% - 40px)}
 .eccr-calculator .eccr-calculator-intro{grid-template-columns:minmax(0,1fr);gap:24px}
 .eccr-page .eccr-link-grid{grid-template-columns:minmax(0,1fr)}
 .eccr-page .eccr-guide-layout{grid-template-columns:minmax(0,1fr);gap:34px}
 .eccr-page .eccr-guide-cover{max-width:300px}
 .eccr-page .eccr-blog-layout{grid-template-columns:minmax(0,1fr)}
 .eccr-page .eccr-blog-sidebar{border-top:1px solid var(--eccr-line);padding-top:35px}
 .eccr-guide .next-shell{grid-template-columns:minmax(0,1fr);gap:24px}
 .eccr-guide .next-actions{max-width:340px;min-width:0}
 .eccr-rates .hero-layout{gap:30px}
 .eccr-rates .widget-frame .eccr-rates-desktop{display:none}
 .eccr-rates .widget-frame .eccr-rates-mobile{display:block}
 .eccr-rates .widget-frame{height:485px;border:0}
 .eccr-rates .widget-shell{max-width:540px}
 .eccr-rates .widget-frame{overflow:hidden}
 .eccr-rates .widget-topline{flex-direction:column;align-items:flex-start;gap:5px}
 .eccr-rates .widget-disclosure{padding:14px 6px 8px}
 .eccr-rates .section-heading{flex-direction:column;align-items:flex-start;gap:12px}
 .eccr-rates .section-heading h2{max-width:none}
 .eccr-rates .cta-inner{align-items:flex-start;flex-direction:column;gap:24px}
}
@media(max-width:520px){
 .eccr-page .eccr-shell,.eccr-guide .container,.eccr-rates .container{width:calc(100% - 32px)}
 .eccr-page .eccr-post-grid,.eccr-page .eccr-blog-layout .eccr-post-grid{grid-template-columns:minmax(0,1fr)}
 .eccr-page .eccr-tool-card{padding:22px 16px;border-radius:18px}
 .eccr-page .eccr-tool-section>.eccr-shell{width:calc(100% - 24px)}
 .eccr-page .eccr-faq-item summary{padding:18px;font-size:16px}
 .eccr-page .eccr-faq-item>div{padding:0 18px 18px}
 .eccr-page .eccr-loan-panel{padding:22px 18px}
 .eccr-page .eccr-loan-panel img{float:none;width:100%;margin:20px 0}
 .eccr-page .eccr-loan-nav{gap:8px}
 .eccr-page .eccr-loan-nav a{font-size:13px;padding:10px 14px}
 .eccr-guide .hero-grid{padding-bottom:46px;gap:30px}
 .eccr-guide .hero .eyebrow{border-radius:12px;font-size:10px;letter-spacing:.05em}
 .eccr-guide .hero-buttons{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:28px}
 .eccr-guide .hero-steps{grid-template-columns:1fr;gap:12px}
 .eccr-guide .step:not(:first-child){border:0;padding-left:0}
 .eccr-guide .form-head{gap:10px}
 .eccr-guide .form-icon{display:none}
 .eccr-guide .form-panel{padding:22px 18px}
 .eccr-rates .widget-shell{padding:4px;border-radius:14px}
 .eccr-rates .widget-topline{padding:12px 10px}
 .eccr-rates .widget-frame .eccr-rates-mobile{width:290px;max-width:100%}
 .eccr-rates .widget-bar{font-size:16px;line-height:1.6;min-height:46px}
 .eccr-rates .hero-actions{flex-direction:column;align-items:stretch;gap:12px}
 .eccr-rates .factor,.eccr-rates .resource{padding:24px}
 .eccr-rates .cta-inner{padding:30px 22px}
}
@media(prefers-reduced-motion:reduce){
 .eccr-page *,.eccr-page *::before,.eccr-page *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .eccr-page .eccr-link-card:hover,.eccr-page .eccr-post-card:hover,.eccr-page .eccr-button:hover{transform:none}
}
