/* WordPress integration and progressive-loading states. */
.mgf-theme #wpadminbar{position:fixed}
.admin-bar .site-header{top:32px}
.mgf-calculator-data{display:none!important}
.calculator-loading .calculator-body{min-height:210px;display:grid;align-content:center;gap:14px}
.loading-line{height:48px;border-radius:10px;background:linear-gradient(90deg,#eef2f2 25%,#f8faf9 50%,#eef2f2 75%);background-size:200% 100%;animation:mgf-loading 1.4s infinite}
.loading-line.short{width:65%}
.calculator-noscript{max-width:720px;margin:18px auto;padding:16px;border-left:3px solid var(--gold);background:#fff8e8;color:var(--ink-2)}
.calculator-load-error{border:1px solid #e7c88d;border-radius:16px}
.not-found{min-height:65vh;display:grid;place-content:center;justify-items:start;max-width:760px;margin:auto;padding:80px 24px}
.not-found h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.8rem,6vw,5rem);line-height:1;margin:0}
.not-found>p:not(.eyebrow){color:var(--muted);font-size:1.05rem}
.not-found>div{display:flex;align-items:center;gap:24px;margin-top:20px}
.static-body .wp-block-image,.static-body figure{max-width:100%}
.static-body a:not(.primary-button){color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.static-body ul,.static-body ol{line-height:1.8;color:var(--ink-2)}
.article-body .callout{margin:0 0 48px}
.hub-country-method>a{display:inline-block}
.mgf-theme .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes mgf-loading{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:760px){
  .tool-first{padding-top:8px}
  .tool-first .tool-titlebar{padding-bottom:14px}
  .tool-first .tool-titlebar h1{font-size:1.85rem}
  .tool-first .calculator-card{margin-top:0}
  .calculator-loading .calculator-body{min-height:170px}
  .not-found>div{align-items:stretch;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){.loading-line{animation:none}}

