
.th-calc{--coral:#F36E62;max-width:960px;margin:32px auto;color:#333;font-family:inherit;line-height:1.5;padding:0 16px;box-sizing:border-box}
.th-calc *{box-sizing:border-box}.th-calc h1{font-size:var(--th-type-32,32px);line-height:1.2;margin:0 0 16px}.th-calc h2{font-size:var(--th-type-24,24px);margin:0 0 12px}
.th-calc p{margin:0 0 20px}.th-calc__row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(110px,1fr) auto;gap:14px;align-items:end;background:#f7f7f7;padding:20px;border-radius:10px;margin-bottom:12px}
.th-calc label{display:block;font-size:var(--th-type-16,16px)}.th-calc input{display:block;width:100%;background:white;color:#333;border:1px solid #bbb;border-radius:5px;font:inherit;padding:11px 12px;margin-top:6px;min-width:0}
.th-calc input:focus-visible,.th-calc button:focus-visible{outline:3px solid #4a7393;outline-offset:3px}.th-site .th-calc input:focus,.th-site .th-calc input:focus-visible{outline:none!important;box-shadow:none!important}.th-site .th-calc input::placeholder{color:#b4b4b4!important;opacity:1!important;font-weight:400!important}.th-calc button{transition:background-color .18s ease,border-color .18s ease,color .18s ease}@media(hover:hover) and (pointer:fine){@media (min-width:768px) and (hover:hover) and (pointer:fine){.th-site .th-calc button:not(:disabled):hover{background-color:#f8e8e3;border-color:#e58b7e;color:#333;cursor:pointer}}}.th-calc input[aria-invalid=true]{border-color:#b53125}
.th-calc button{font:inherit;cursor:pointer;border:1px solid #b9b9b9;background:#fff;color:#333;border-radius:8px;padding:11px 15px}.th-calc button:disabled{opacity:.4;cursor:default}
.th-calc__result{margin-top:28px;background:#fff2ef;border-radius:10px;padding:24px}.th-calc__number{font-size:var(--th-type-32,32px);font-weight:600;display:block;margin:6px 0 20px}
.th-calc__weight{max-width:280px;margin-top:20px}.th-calc table{width:100%;border-collapse:collapse;margin-top:18px;text-align:left}.th-calc th,.th-calc td{padding:10px 8px;border-bottom:1px solid #e4d7d4}.th-calc th{font-weight:500;font-size:var(--th-type-16,16px)}
.th-calc__hint{color:#737373;font-size:var(--th-type-16,16px)}.th-calc__error{color:#a92d23;margin-top:16px!important}.th-calc [hidden]{display:none!important}
@media(max-width:640px){.th-calc__row{grid-template-columns:1fr 1fr;padding:16px;gap:12px}.th-calc__name{grid-column:1/-1}.th-calc__remove{grid-column:1/-1;justify-self:end}.th-calc__result{padding:18px}.th-calc th,.th-calc td{padding:9px 4px;font-size:var(--th-type-12,12px)}}

/* Use the main theme font, including controls and headings. */
.th-calc,
.th-calc p,.th-calc label,.th-calc strong,.th-calc span,
.th-calc h1,.th-calc h2,.th-calc input,.th-calc button,
.th-calc table,.th-calc th,.th-calc td,
body:has([data-th-calculator]) h1 {
  font-family:var(--font-family, 'Golos Text'), Arial, sans-serif !important;
}
.th-calc{max-width:800px;margin:24px auto;font-size:var(--th-type-16,16px)}
.th-calc__row{grid-template-columns:180px 160px auto;justify-content:start;gap:10px 16px;padding:14px 16px;margin-bottom:10px}
.th-calc input{height:38px;padding:7px 10px;margin-top:4px;font-size:var(--th-type-16,16px);line-height:22px}
.th-calc button{min-height:38px;padding:7px 12px;font-size:var(--th-type-16,16px);line-height:22px}
.th-calc__weight{max-width:180px;margin-top:16px}
.th-calc__result{margin-top:22px;padding:20px}
.th-calc__number{font-size:var(--th-type-32,32px);margin:4px 0 14px}
.th-calc__result h2{font-size:var(--th-type-24,24px)}
@media(max-width:640px){
 .th-calc__row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;padding:14px}
 .th-calc__remove{grid-column:1/-1;justify-self:end}
 .th-calc__result{padding:16px}
 .th-calc__number{font-size:var(--th-type-28,28px)}
}
