.tbt-calculator,.tbt-hub{--tbt-accent:#176b58;--tbt-text:#202a27;--tbt-muted:#63706b;--tbt-border:#dce5e0;box-sizing:border-box;max-width:900px;margin:2rem auto;color:var(--tbt-text)}
.tbt-calculator{max-width:720px;padding:clamp(1.1rem,3vw,2rem);border:1px solid var(--tbt-border);border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(20,45,35,.06)}
.tbt-calculator *,.tbt-calculator *::before,.tbt-calculator *::after,.tbt-hub *,.tbt-hub *::before,.tbt-hub *::after{box-sizing:border-box}
.tbt-calculator__header h2,.tbt-hub__header h2{margin:0 0 .6rem;font-size:clamp(1.4rem,3vw,2rem);line-height:1.2}
.tbt-calculator__header p,.tbt-hub__header p{margin:0 0 1.5rem;color:var(--tbt-muted);line-height:1.55}
.tbt-calculator__form{display:grid;gap:1rem}.tbt-field{display:grid;gap:.45rem}.tbt-field label{font-weight:600;font-size:.96rem}
.tbt-field input{width:100%;min-height:48px;padding:.7rem .8rem;border:1px solid #cbd6d0;border-radius:8px;background:#fff;color:inherit;font:inherit}
.tbt-field input:focus{outline:3px solid rgba(23,107,88,.18);border-color:var(--tbt-accent)}
.tbt-calculator__button{min-height:50px;margin-top:.25rem;padding:.8rem 1rem;border:0;border-radius:8px;background:var(--tbt-accent);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.tbt-calculator__button:hover{filter:brightness(.94)}.tbt-calculator__error{margin:0;color:#a32121;font-weight:600}
.tbt-calculator__result{margin-top:1.5rem;padding:1.25rem;border-radius:12px;background:#f2f8f5}.tbt-result-label{margin:0 0 .35rem;color:var(--tbt-muted)}
.tbt-result-amount{margin:0 0 1rem;color:var(--tbt-accent);font-size:clamp(1.8rem,5vw,2.5rem);font-weight:800;line-height:1.2;overflow-wrap:anywhere}
.tbt-result-amount small{font-size:.95rem;font-weight:600}.tbt-progress{height:12px;margin:.8rem 0;overflow:hidden;border-radius:999px;background:#dce8e1}
.tbt-progress__bar{width:0;height:100%;border-radius:inherit;background:var(--tbt-accent);transition:width .25s ease}.tbt-result-summary{margin:.7rem 0;line-height:1.55}
.tbt-result-note{margin:.8rem 0 0;color:var(--tbt-muted);font-size:.85rem;line-height:1.5}.tbt-calculator__footer{margin-top:1.25rem;color:var(--tbt-muted);font-size:.82rem}
.tbt-hub__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.tbt-hub-card{display:flex;flex-direction:column;min-height:210px;padding:1.25rem;border:1px solid var(--tbt-border);border-radius:14px;background:#fff;color:var(--tbt-text);text-decoration:none;box-shadow:0 5px 18px rgba(20,45,35,.04);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.tbt-hub-card:hover,.tbt-hub-card:focus{transform:translateY(-2px);border-color:var(--tbt-accent);box-shadow:0 8px 22px rgba(20,45,35,.09);color:var(--tbt-text)}
.tbt-hub-card:focus{outline:3px solid rgba(23,107,88,.2);outline-offset:2px}.tbt-hub-card__status{align-self:flex-start;margin-bottom:.75rem;padding:.25rem .55rem;border-radius:999px;background:#edf5f0;color:var(--tbt-accent);font-size:.75rem;font-weight:700}
.tbt-hub-card h3{margin:0 0 .55rem;font-size:1.15rem;line-height:1.3}.tbt-hub-card p{margin:0 0 1.1rem;color:var(--tbt-muted);line-height:1.5;font-size:.94rem}
.tbt-hub-card__link{margin-top:auto;color:var(--tbt-accent);font-weight:700}.tbt-hub-card__link span{margin-left:.25rem}
@media(max-width:600px){.tbt-hub__grid{grid-template-columns:1fr}.tbt-hub-card{min-height:0}.tbt-calculator{margin:1rem 0;border-radius:12px}}
.tbt-tools-back{max-width:900px;margin:1.25rem auto;font-size:.95rem}
.tbt-tools-back a{display:inline-flex;align-items:center;gap:.45rem;color:#176b58;font-weight:700;text-decoration:none}
.tbt-tools-back a:hover,.tbt-tools-back a:focus{text-decoration:underline;text-underline-offset:3px}
.tbt-tools-back a:focus{outline:3px solid rgba(23,107,88,.2);outline-offset:3px;border-radius:4px}
