.tt-calc{--tt-ink:#1d2329;--tt-mute:#5b6670;--tt-line:#d9dee3;--tt-bg:#f6f8f9;--tt-acc:#1f6f5c;--tt-ok:#1f7a45;--tt-bad:#b3261e;
  color-scheme:light;border:1px solid var(--tt-line);border-radius:10px;background:#fff;color:var(--tt-ink);padding:18px;margin:0 0 28px;font-size:16px;line-height:1.45;box-sizing:border-box;max-width:100%}
.tt-calc *{box-sizing:border-box}
.tt-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.tt-title{font-weight:700;font-size:18px}
.tt-units{display:inline-flex;border:1px solid var(--tt-line);border-radius:6px;overflow:hidden}
.tt-units button{border:0;background:#fff;color:var(--tt-ink);padding:6px 12px;font:inherit;font-size:14px;cursor:pointer}
.tt-units button[aria-pressed=true]{background:var(--tt-acc);color:#fff}
.tt-radio{border:0;padding:0;margin:0 0 12px;display:flex;flex-wrap:wrap;gap:8px 18px}
.tt-radio legend{font-weight:600;margin-bottom:6px;padding:0;width:100%}
.tt-radio label{display:flex;align-items:center;gap:6px;cursor:pointer;font-weight:400}
.tt-calc input[type=radio]{-webkit-appearance:radio!important;appearance:auto!important;width:16px;height:16px;margin:0;background:none!important;border:0!important;box-shadow:none!important;accent-color:var(--tt-acc)}
.tt-calc input[type=radio]::before,.tt-calc input[type=radio]::after{display:none!important}
.tt-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.tt-field{display:block;font-weight:600;margin-bottom:12px}
.tt-field em{font-weight:400;color:var(--tt-mute);font-style:normal}
.tt-field .tt-u{font-weight:400;color:var(--tt-mute)}
.tt-field input{display:block;width:100%;margin-top:4px;padding:10px 12px;font:inherit;border:1px solid var(--tt-line);border-radius:6px;background:#fff;color:var(--tt-ink)}
.tt-field input:focus{outline:2px solid var(--tt-acc);outline-offset:1px}
.tt-field small{display:block;font-weight:400;color:var(--tt-mute);font-size:13px;margin-top:3px}
.tt-go{background:var(--tt-acc);color:#fff;border:0;border-radius:6px;padding:11px 22px;font:inherit;font-weight:700;cursor:pointer}
.tt-go:hover{filter:brightness(1.08)}
.tt-result{margin-top:16px;border-top:1px solid var(--tt-line);padding-top:16px}
.tt-big{background:var(--tt-bg);border-radius:8px;padding:14px 16px;margin-bottom:12px}
.tt-big span,.tt-big small{display:block;color:var(--tt-mute);font-size:14px}
.tt-big strong{display:block;font-size:26px;line-height:1.2;margin:4px 0}
.tt-check{border-left:4px solid var(--tt-ok);background:#eef7f1;padding:10px 14px;border-radius:0 8px 8px 0;margin-bottom:12px}
.tt-check.bad{border-color:var(--tt-bad);background:#fbeeed}
.tt-check p{margin:4px 0 0}
.tt-table{width:100%;border-collapse:collapse;font-size:14px;margin-bottom:10px}
.tt-table th,.tt-table td{text-align:left;padding:7px 8px;border-bottom:1px solid var(--tt-line);vertical-align:top}
.tt-table td:last-child,.tt-table th:last-child{text-align:right;white-space:nowrap}
.tt-table tr.tt-min td{font-weight:700;background:#fff8e6}
.tt-small{font-size:14px;color:var(--tt-mute);margin:6px 0 0}
.tt-err{color:var(--tt-bad);font-weight:600;margin:0}
.tt-note{font-size:12.5px;color:var(--tt-mute);margin:14px 0 0}
.tt-related{list-style:none;padding:0;margin:0 0 24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.tt-related li{list-style:none!important;border:1px solid #d9dee3;border-radius:8px;padding:12px 14px;margin:0!important;background:#fff;color-scheme:light}
.tt-related li::before,.tt-related li::marker{content:none!important;display:none!important}
.tt-related a{text-decoration:none;color:#1f6f5c!important}
.tt-related span{display:block;font-size:14px;color:#5b6670;margin-top:4px}
@media (max-width:600px){.tt-grid{grid-template-columns:1fr}.tt-calc{padding:14px}.tt-big strong{font-size:22px}}
.tt-calc [hidden]{display:none!important}
.tt-field select{display:block;width:100%;margin-top:4px;padding:10px 12px;font:inherit;font-weight:400;border:1px solid var(--tt-line);border-radius:6px;background:#fff;color:var(--tt-ink)}
.tt-check.warn{border-color:#b7791f;background:#fdf6e7}
.tt-bar{height:10px;background:var(--tt-bg);border-radius:5px;overflow:hidden;margin:0 0 12px}
.tt-bar i{display:block;height:100%;background:var(--tt-ok)}
.tt-bar i.warn{background:#b7791f}.tt-bar i.bad{background:var(--tt-bad)}
