/* TarifHorizont - brand-aware isolated calculator design */
.thlw-calc{background:#fbf8f3;border:1px solid #d2ddd5;border-radius:18px;padding:clamp(18px,3vw,32px);margin:30px 0 34px;color:#153e41;box-shadow:0 10px 34px rgba(21,62,65,.06);font-family:inherit;scroll-margin-top:95px}
.thlw-calc *{box-sizing:border-box}
.thlw-calc header{margin:0 0 20px}
.thlw-calc .thlw-eyebrow{margin:0;color:#287267;font-size:.79rem;letter-spacing:.1em;font-weight:750}
.thlw-calc header h3{font-family:Georgia,serif;font-weight:400;font-size:clamp(1.45rem,3vw,2rem);line-height:1.2;margin:8px 0 10px;color:#153e41}
.thlw-calc header>p:last-child{font-size:.93rem;color:#43665e;line-height:1.55;margin:0}
.thlw-calc .thlw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:16px 0}
.thlw-calc fieldset.thlw-group{border:1px solid #cbdcd2;border-radius:13px;margin:0;padding:18px;min-width:0;background:rgba(255,255,255,.42)}
.thlw-calc fieldset.thlw-group legend{color:#153e41;font-weight:760;font-size:1rem;padding:0 7px}
.thlw-calc .thlw-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.thlw-calc .thlw-global{max-width:370px}
.thlw-calc .thlw-field{display:block;font-size:.9rem;line-height:1.4;font-weight:660;color:#153e41;min-width:0}
.thlw-calc .thlw-field>span{display:block;margin-bottom:6px}
.thlw-calc .thlw-field .thlw-unit{display:inline;color:#527268;font-weight:400;font-size:.82rem}
.thlw-calc input[type=number]{width:100%;max-width:100%;min-width:0;min-height:46px;margin:0;padding:10px 12px;border:1px solid #a9c3b5;border-radius:9px;background:#fff;color:#153e41;font:inherit;line-height:1.2}
.thlw-calc input:focus-visible{outline:3px solid rgba(40,114,103,.25);outline-offset:2px;border-color:#287267}
.thlw-calc input[aria-invalid=true]{border-color:#a32f30;background:#fff8f7}
.thlw-calc .thlw-advanced{border-top:1px solid #cbdcd2;margin-top:17px;padding-top:14px}
.thlw-calc .thlw-breakdown{margin-top:12px;border-top:1px solid #d2ddd5;padding-top:12px}
.thlw-calc .thlw-breakdown summary{cursor:pointer;color:#287267;font-weight:700;font-size:.92rem;line-height:1.55}
.thlw-calc .thlw-advanced summary{cursor:pointer;font-weight:740;color:#287267;line-height:1.55}
.thlw-calc .thlw-advanced summary:focus-visible{outline:3px solid rgba(40,114,103,.25);outline-offset:4px}
.thlw-calc .thlw-form-error{border:1px solid #d8a8a6;background:#fff7f6;border-radius:8px;color:#8a2f30;padding:11px 13px;margin:15px 0;font-weight:650;font-size:.9rem}
.thlw-calc .thlw-form-error[hidden]{display:none}
.thlw-calc .thlw-reset{margin-top:14px;min-height:44px;border:1px solid #9cb7aa;border-radius:8px;padding:10px 14px;background:transparent;color:#153e41;font:inherit;font-size:.88rem;font-weight:700;cursor:pointer}
.thlw-calc .thlw-reset:hover,.thlw-calc .thlw-reset:focus-visible{background:#e8f0e9}
.thlw-calc .thlw-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:22px 0 14px}
.thlw-calc .thlw-stat{padding:16px;border-radius:10px;border:1px solid #d7e5dc;background:#eaf1ec;min-width:0}
.thlw-calc .thlw-stat:nth-child(even){background:#f3ece2;border-color:#e8dac8}
.thlw-calc .thlw-stat.accent{background:#e0eee6;border-color:#c9ddd0}
.thlw-calc .thlw-stat span{display:block;color:#42675c;font-size:.84rem;line-height:1.35;margin-bottom:6px}
.thlw-calc .thlw-stat output{display:block;font-size:clamp(1.13rem,2.3vw,1.48rem);font-weight:790;color:#153e41;overflow-wrap:anywhere}
.thlw-calc .thlw-conclusion{border-left:4px solid #287267;padding:12px 15px;background:#f4ebe0;border-radius:0 8px 8px 0;margin:16px 0;font-weight:660;color:#153e41}
.thlw-calc .thlw-fineprint{font-size:.83rem;color:#526b62;line-height:1.65;margin:16px 0 0}
.thlw-calc .thlw-bars{border-top:1px solid #d2ddd5;padding-top:18px;margin-top:20px}
.thlw-calc .thlw-bars>div{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:12px;margin:8px 0;font-size:.85rem}
.thlw-calc .thlw-bars i{display:block;height:12px;background:#e9e6df;border-radius:99px;overflow:hidden}
.thlw-calc .thlw-bars b{display:block;height:100%;width:0;background:#287267;border-radius:99px;transition:width .2s ease}
.thlw-calc .thlw-bars>div:nth-child(2) b{background:#d8a36f}
@media (max-width:740px){.thlw-calc .thlw-grid{grid-template-columns:1fr}.thlw-calc fieldset.thlw-group{padding:15px}.thlw-calc .thlw-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.thlw-calc .thlw-bars>div{grid-template-columns:100px minmax(0,1fr)}}
@media (max-width:420px){.thlw-calc .thlw-fields,.thlw-calc .thlw-result-grid{grid-template-columns:1fr}.thlw-calc fieldset.thlw-group{padding:15px}.thlw-calc .thlw-bars>div{grid-template-columns:86px minmax(0,1fr)}.thlw-calc{padding:17px}}
@media (prefers-reduced-motion:reduce){.thlw-calc .thlw-bars b{transition:none}}
