.thfin-calc{--thfin-petrol:#153e41;--thfin-sage:#287267;--thfin-sand:#f4ebe0;--thfin-surface:#fbf8f3;box-sizing:border-box;max-width:100%;padding:clamp(17px,3vw,31px);margin:2rem auto 2.7rem;border:1px solid #d8e1d9;border-radius:17px;background:#fbfaf6;box-shadow:0 12px 36px rgba(18,61,57,.055);font-family:inherit;color:var(--thfin-petrol)}
.thfin-calc *{box-sizing:border-box}
.thfin-calc header{margin:0 0 1.3rem}
.thfin-calc .thfin-kicker{font-size:.78rem;letter-spacing:.12em;font-weight:800;color:#287267;margin:0 0 .45rem}
.thfin-calc h3{font-family:Georgia,serif;font-weight:500;font-size:clamp(1.45rem,3vw,2rem);line-height:1.22;margin:.1rem 0 .6rem;color:#153e41}
.thfin-calc header p:not(.thfin-kicker){font-size:.94rem;line-height:1.65;margin:.15rem 0 0;color:#355a57}
.thfin-calc form{margin:0}
.thfin-calc .thfin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}
.thfin-calc .thfin-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:17px}
.thfin-calc fieldset{border:1px solid #d4e1dc;border-radius:12px;padding:15px;min-width:0;margin:0;background:#fffdfa}
.thfin-calc fieldset legend{padding:0 7px;font-size:.95rem;font-weight:700;color:#153e41}
.thfin-calc fieldset .thfin-fields{grid-template-columns:1fr}
.thfin-calc .thfin-field{display:flex;min-width:0;flex-direction:column;gap:5px;line-height:1.35;font-size:.9rem;font-weight:650;color:#173f40}
.thfin-calc .thfin-field span small{font-size:.83em;font-weight:450;color:#436a65}
.thfin-calc input{appearance:auto;width:100%;min-width:0;max-width:100%;font:inherit;font-size:1rem;line-height:1.4;font-weight:600;color:#153e41;background:#fff;border:1px solid #bbcfc8;border-radius:8px;padding:10px 11px;box-shadow:none}
.thfin-calc input:focus-visible,.thfin-calc button:focus-visible{outline:3px solid #b18b54;outline-offset:2px}
.thfin-calc input:invalid{border-color:#bd6b4e}
.thfin-calc .thfin-reset{margin:15px 0 0;padding:9px 13px;background:transparent;border:1px solid #b2c9bc;color:#153e41;border-radius:8px;font-weight:700;cursor:pointer;font-size:.85rem}
.thfin-calc .thfin-reset:hover{background:#eaf2ec}
.thfin-calc .thfin-feedback{margin:12px 0 0;padding:10px 12px;border-left:3px solid #bb6747;background:#fff1e9;color:#87381d;font-size:.88rem;line-height:1.5}
.thfin-calc .thfin-feedback[hidden]{display:none}
.thfin-calc .thfin-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:22px 0 14px}
.thfin-calc .thfin-stat{background:#e8f0eb;border:1px solid #dde9e0;border-radius:11px;padding:14px 15px;min-width:0;display:flex;flex-direction:column;gap:7px}
.thfin-calc .thfin-stat-main{background:#dcece4}
.thfin-calc .thfin-stat span{font-weight:650;font-size:.82rem;line-height:1.4;color:#315d55}
.thfin-calc .thfin-stat output{font-size:clamp(1.18rem,3vw,1.8rem);line-height:1.2;font-weight:800;color:#153e41;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.thfin-calc .thfin-decision{padding:15px 17px;border-left:4px solid #287267;background:#f2f6ef;border-radius:0 8px 8px 0;font-size:.95rem;font-weight:600;line-height:1.65;margin:15px 0}
.thfin-calc .thfin-fine{font-size:.8rem!important;font-weight:400;line-height:1.62!important;color:#4b675e!important;margin:15px 0 0!important}
@media(max-width:680px){.thfin-calc .thfin-columns,.thfin-calc .thfin-fields,.thfin-calc .thfin-results{grid-template-columns:1fr}.thfin-calc{padding:15px}.thfin-calc fieldset{padding:12px}.thfin-calc .thfin-stat output{font-size:1.52rem}}
@media(prefers-reduced-motion:no-preference){.thfin-calc button{transition:background-color .15s ease}}

.thfin-hub{margin:2.5rem auto;color:#153e41}.thfin-hub-header p{font-size:.76rem;font-weight:800;letter-spacing:.13em;color:#287267;margin:0 0 .4rem}.thfin-hub-header h2{font:500 clamp(1.6rem,3vw,2.35rem)/1.2 Georgia,serif;color:#153e41;margin:.2rem 0 .6rem}.thfin-hub-header>div{font-size:.98rem;color:#45645e}.thfin-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:20px}.thfin-hub-card{display:flex;flex-direction:column;gap:8px;padding:22px;border:1px solid #d4e1da;border-radius:14px;background:#fbf8f3;text-decoration:none!important;color:#153e41!important;min-width:0}.thfin-hub-card:hover{border-color:#287267;background:#f1f5ed}.thfin-hub-card span{color:#287267;font-size:.72rem;font-weight:800;letter-spacing:.11em}.thfin-hub-card strong{color:#153e41;font-size:1.11rem;line-height:1.4}.thfin-hub-card small{font-size:.9rem;line-height:1.6;color:#42655c}.thfin-hub-card em{font-size:.83rem;font-style:normal;font-weight:700;color:#17665c;margin-top:auto;padding-top:7px}@media(max-width:680px){.thfin-hub-grid{grid-template-columns:1fr}.thfin-hub-card{padding:18px}}
