/* Mortgage calculator: scoped additions to the established Moneyo article shell. */
.mh-page [hidden]{display:none!important}.mh-page .mh-rate-selected{outline:2px solid #087c70;background:#edf8f3}.mh-page input:focus-visible,.mh-page select:focus-visible,.mh-page summary:focus-visible,.mh-page button:focus-visible{outline:3px solid #1a7ac9;outline-offset:3px}
.mh-page{--mh-teal:#087c70;--mh-amber:#b97527}.mh-page [id]{scroll-margin-top:100px}.mh-page .rp-shell{max-width:1220px}.mh-page .mh-hero{max-width:100%;padding:30px 0 18px}.mh-hero h1{font-size:clamp(34px,4.4vw,54px);margin:14px 0}.mh-hero .rp-lead{font-size:19px;line-height:1.65;margin:14px 0;max-width:920px}.mh-jumps{display:flex;gap:10px 24px;flex-wrap:wrap;font-size:14px;font-weight:700;padding:8px 0}.mh-jumps a{color:#1761a1;text-decoration:none}.mh-section-title{font-size:28px;margin:20px 0 12px}.mh-rate-note{font-size:14px;color:#405e73;line-height:1.75;margin:0 0 24px;max-width:970px}.mh-calc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.mh-panel{border:1px solid #d4e1ec;border-radius:14px;background:#fff;padding:28px;min-width:0}.mh-panel h3{font-size:23px;margin:5px 0 22px}.mh-panel .rp-kicker{margin-top:0}.mh-field{display:block;margin:19px 0;color:#183a53}.mh-field>span{font-size:14px;font-weight:750;display:block;margin-bottom:8px}.mh-field input,.mh-field select{width:100%;min-width:0;min-height:50px;font:inherit;font-size:18px;background:#fff;border:1px solid #9fbace;border-radius:8px;padding:11px 13px;color:#143650}.mh-field select{font-size:15px}.mh-field small{display:block;color:#566f81;font-size:12px;line-height:1.65;margin-top:7px}.mh-field input[aria-invalid=true]{border:2px solid #b04436}.mh-presets{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:4px 0 28px;font-size:12px;color:#526c7e}.mh-presets span{margin-right:5px}.mh-presets button{border:1px solid #b5ccd9;background:#fff;color:#244d68;padding:9px 12px;min-height:40px;border-radius:7px;font:inherit;font-size:13px;cursor:pointer}.mh-presets button[aria-pressed=true]{background:#e7f4ef;border-color:#087c70;color:#07695e}.mh-optional-intro{border-top:1px solid #dce5ec;padding-top:21px}.mh-options{border:1px solid #d4e1ec;border-radius:9px;margin:12px 0;background:#f7fafc}.mh-options>summary{padding:17px 18px;cursor:pointer;font-size:16px;font-weight:750;line-height:1.4;color:#183c55}.mh-options>summary>span{display:block;font-size:12px;font-weight:400;color:#597183;margin:6px 0 0 19px}.mh-options[open]{background:#fff;border-color:#9cbccf}.mh-option-body{padding:0 18px 16px}.mh-options .mh-field{margin:16px 0}.mh-options .mh-field input{font-size:16px;min-height:46px}.mh-error{padding:14px;background:#fff1e4;border-left:3px solid #b04436;border-radius:5px;color:#7b3525;line-height:1.7}.mh-result-column{min-width:0;position:sticky;top:98px}.mh-result{border-radius:14px;padding:30px;background:#102f4c;color:#d8e8f2}.mh-result .rp-kicker{color:#8de0cd!important;margin:0 0 10px}.mh-result h3{font-size:17px;color:#d8e8f2;font-weight:500;margin:0 0 12px}.mh-payment{font-size:clamp(36px,4.2vw,57px);letter-spacing:-.035em;color:#fff;display:block;line-height:1.2;white-space:nowrap}.mh-result>p{font-size:13px;line-height:1.75}.mh-result-facts{display:grid;grid-template-columns:1fr 1fr;gap:22px 18px;border-top:1px solid #3f5c72;padding-top:22px;margin-top:24px}.mh-result-facts span{display:block;font-size:12px;color:#b8cddd;margin-bottom:8px}.mh-result-facts strong{font-size:20px;color:#fff;line-height:1.4}.mh-result-scope{color:#bdd1de;margin-bottom:0}.mh-result-extra{margin-top:16px;padding:22px}.mh-result-extra h3{font-size:19px;line-height:1.45;margin-bottom:12px}.mh-result-extra p{font-size:13px;line-height:1.75}.mh-secondary-number{font-size:30px;line-height:1.25;color:#087c70}.mh-fact-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-top:1px solid #e1e9ef;padding:13px 0;font-size:13px;line-height:1.6}.mh-fact-row strong{white-space:nowrap}.mh-callout{border-left:3px solid #bf872f;background:#fff8ed;padding:14px 17px;border-radius:0 7px 7px 0;font-size:14px;line-height:1.75;color:#654922}.mh-partner{margin-top:16px;background:#edf5fa;padding:22px}.mh-partner p{font-size:14px;line-height:1.75;margin:0 0 16px}.mh-partner .rp-btn{width:100%}.mh-partner p:last-child{margin:12px 0 0}.mh-disclaimer{max-width:1050px;margin:24px 0 32px}.mh-page #mh-analysis{display:grid;gap:24px;margin-top:26px}.mh-section-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.mh-section-head h2{margin-bottom:8px}.mh-section-head .rp-btn{flex-shrink:0}.mh-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:22px 0}.mh-chart-grid figure{margin:0;min-width:0;padding:18px;border:1px solid #d9e4ec;border-radius:10px;background:#fbfdfe}.mh-chart-grid h3{font-size:18px;margin:0 0 18px}.mh-chart-grid svg{width:100%;height:auto;display:block}.mh-chart-grid figcaption{font-size:12px;color:#516d80;line-height:1.65;margin-top:12px}.mh-dot{display:inline-block;width:10px;height:10px;margin:0 3px 0 7px;border-radius:2px}.mh-teal{background:#087c70}.mh-amber{background:#b97527}.mh-table-actions{display:flex;justify-content:space-between;gap:20px;align-items:end;flex-wrap:wrap}.mh-table-actions label{display:grid;gap:7px;font-size:13px;font-weight:650}.mh-table-actions select{min-height:46px;border:1px solid #a8becd;border-radius:6px;background:white;padding:10px;font:inherit}.mh-table-details{margin:20px 0;border:1px solid #d5e2eb;border-radius:8px;padding:17px}.mh-table-details>summary{cursor:pointer;font-weight:750}.mh-page .rp-table{max-width:100%;scrollbar-width:thin}.mh-page .rp-table td{font-variant-numeric:tabular-nums}.mh-rate-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0}.mh-rate-cards>div{padding:18px;background:#f1f6fa;border-radius:9px}.mh-rate-cards span{display:block;font-size:14px;color:#426279}.mh-rate-cards strong{font-size:24px;display:block;margin:12px 0 8px}.mh-rate-cards small{font-size:12px;color:#5c7281}.mh-extra-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.mh-extra-cards article{border:1px solid #c5ddd3;background:#f2f9f5;border-radius:10px;padding:24px}.mh-extra-cards h3{margin-top:0;font-size:21px}.mh-extra-cards p{font-size:14px}.mh-extra-cards strong.mh-extra-value{font-size:29px;display:block;color:#087c70;margin:14px 0}.mh-article-layout{margin-top:35px}.mh-page .rp-section{border-radius:12px}.mh-page .rp-sidebar{top:100px}.mh-page .rp-section figure{margin:24px 0}.mh-page .mh-static-figure img{display:block;width:100%;height:auto;border:1px solid #d4e1ec;border-radius:10px}.mh-static-figure figcaption{font-size:12px;line-height:1.7;color:#506b7e;margin-top:12px}.mh-static-figure>a{font-size:12px}.mh-page #faq details{border-top:1px solid #d5e2eb;padding:17px 0}.mh-page #faq summary{cursor:pointer;font-weight:750;line-height:1.6}.mh-page #faq details:last-child{padding-bottom:0}.mh-page .mh-mobile-chart{display:none}.mh-page .rp-request p{display:block}.mh-page .moneyo-article-authors{margin-top:0}.mh-page .rp-section code{white-space:normal;overflow-wrap:anywhere}.mh-page .mh-error-field{font-size:12px;color:#9f3123;margin-top:5px}
@media(max-width:1020px){.mh-page{padding-bottom:0}.mh-page .rp-request{position:static;display:block;padding:16px;max-width:100%;transform:none;margin:0}.mh-page .rp-request p{margin-top:10px}.mh-page .rp-layout{grid-template-columns:1fr}.mh-page .rp-sidebar{position:static;display:grid;grid-template-columns:1.2fr 1fr;max-height:none;align-items:start}.mh-page .rp-toc ol{columns:2}.mh-page .mh-result-column{position:static}.mh-rate-cards{grid-template-columns:1fr 1fr}html:has(.mh-page){scroll-padding-bottom:0}}
@media(max-width:760px){.mh-calc-grid,.mh-chart-grid{grid-template-columns:1fr}.mh-page .rp-shell{width:calc(100% - 30px)}.mh-page .rp-hero{padding-top:22px}.mh-hero .rp-lead{font-size:17px}.mh-jumps{gap:12px 20px;font-size:13px}.mh-section-title{font-size:25px}.mh-panel,.mh-result{padding:23px}.mh-result-column{display:block}.mh-result-facts strong{font-size:21px}.mh-result-facts{gap:22px 15px}.mh-payment{font-size:44px}.mh-page [id]{scroll-margin-top:85px}.mh-page .rp-sidebar{display:block}.mh-page .rp-toc{margin-bottom:14px}.mh-page .rp-toc ol{columns:2}.mh-section-head{display:block}.mh-section-head .rp-btn{margin:12px 0 4px}.mh-chart-grid figure{padding:15px}.mh-page .mh-desktop-chart{display:none}.mh-page .mh-mobile-chart{display:block}.mh-extra-cards{grid-template-columns:1fr}.mh-result-column .mh-partner{margin-bottom:0}.mh-page .rp-section{padding:24px 20px}.mh-page .rp-section h2{font-size:26px}.mh-page .rp-section p,.mh-page .rp-section li{font-size:16px}.mh-page .rp-table th,.mh-page .rp-table td{padding:11px;white-space:nowrap}.mh-page #pravidla .rp-table td{min-width:170px;white-space:normal}.mh-page #pravidla .rp-table th{min-width:170px;white-space:normal}.mh-page .mh-table-details{padding:14px}.mh-field input{font-size:18px}.mh-field select{font-size:15px}.mh-rate-note{font-size:13px}.mh-page .mh-result-facts span{font-size:12px}.mh-page .rp-section figcaption{font-size:12px}}
@media(max-width:380px){.mh-page .rp-shell{width:calc(100% - 22px)}.mh-panel,.mh-result{padding:19px}.mh-payment{font-size:36px}.mh-result-facts{grid-template-columns:1fr}.mh-result-facts>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.mh-result-facts strong{font-size:18px}.mh-result-facts span{margin:0;max-width:44%}.mh-presets{gap:6px}.mh-page .rp-toc ol{columns:1}.mh-rate-cards{gap:10px}.mh-rate-cards>div{padding:13px}.mh-rate-cards strong{font-size:20px}.mh-page .rp-section{padding:22px 16px}}
@media(prefers-reduced-motion:reduce){.mh-page *{scroll-behavior:auto!important}}
@media print{.mh-page .site-header,.mh-page .site-footer,.mh-page .rp-sidebar,.mh-page .mh-partner,.mh-page #mh-form,.mh-page button{display:none!important}.mh-page .mh-calc-grid,.mh-page .rp-layout{display:block}.mh-page .mh-result{background:white;color:#12324d;border:1px solid #b5c9d8}.mh-page .mh-result *{color:#12324d!important}.mh-page .mh-result-column{position:static}.mh-page .rp-section{break-inside:avoid}.mh-page .rp-shell{width:100%}}
.mh-mobile-summary{display:none}@media(max-width:760px){.mh-mobile-summary{display:grid;gap:9px;padding:18px;background:#eef8f4;border:1px solid #bfded3;border-radius:9px}.mh-mobile-summary span{font-size:12px;color:#426455}.mh-mobile-summary strong{font-size:25px;color:#075f54}.mh-mobile-summary a{font-size:13px;font-weight:750}}
@media(max-width:380px){.mh-chart-grid figure{padding:10px 0;border:0}.mh-mobile-summary strong{font-size:22px}}
@media(min-width:1021px){.mh-result-column:has(.mh-result-extra:not([hidden])){position:static}}
