#js-tool-container-otoplenie-gkal-calculator .ogk-app { --ogk-heat: #b91c1c; --ogk-money: #0f766e; display: flex; flex-direction: column; gap: 22px; color: var(--text-primary); }
html[data-theme="dark"] #js-tool-container-otoplenie-gkal-calculator .ogk-app { --ogk-heat: #f87171; --ogk-money: #2dd4bf; }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-fieldset { border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 16px 18px 18px; margin: 0 0 14px; }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-legend { padding: 0 6px; font-weight: 600; font-size: 0.95rem; color: var(--text-secondary); }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 20px; }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-field { display: flex; flex-direction: column; gap: 6px; }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-hint { font-size: 0.82rem; line-height: 1.35; color: var(--text-muted); }
#js-tool-container-otoplenie-gkal-calculator .ogk-hidden { display: none; }
#js-tool-container-otoplenie-gkal-calculator .ogk-out { display: flex; flex-direction: column; gap: 16px; }
#js-tool-container-otoplenie-gkal-calculator .ogk-hero { display: flex; align-items: flex-end; gap: 26px; border: 1px solid var(--border-color); border-left: 3px solid var(--ogk-heat); border-radius: var(--radius-md); background: var(--bg-tertiary); padding: 16px 20px 14px; min-height: 112px; }
#js-tool-container-otoplenie-gkal-calculator .ogk-hero-q { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#js-tool-container-otoplenie-gkal-calculator .ogk-hero-cost { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; padding-left: 22px; border-left: 1px dashed var(--border-color); text-align: right; }
#js-tool-container-otoplenie-gkal-calculator .ogk-hero-label { font-size: 0.84rem; color: var(--text-secondary); }
#js-tool-container-otoplenie-gkal-calculator .ogk-hero-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
#js-tool-container-otoplenie-gkal-calculator .ogk-hero-value { font-size: clamp(2.1rem, 6vw, 3rem); font-weight: 700; line-height: 1.02; color: var(--ogk-heat); }
#js-tool-container-otoplenie-gkal-calculator .ogk-cost-value { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; line-height: 1.05; color: var(--ogk-money); }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-unit { font-size: 1rem; color: var(--text-secondary); }
#js-tool-container-otoplenie-gkal-calculator .ogk-protocol { border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-secondary); padding: 12px 16px 13px; display: flex; flex-direction: column; gap: 8px; }
#js-tool-container-otoplenie-gkal-calculator .ogk-prot-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
#js-tool-container-otoplenie-gkal-calculator .ogk-prot-rows { display: flex; flex-direction: column; gap: 5px; font-family: var(--font-mono); font-size: 0.86rem; }
#js-tool-container-otoplenie-gkal-calculator .ogk-pl { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
#js-tool-container-otoplenie-gkal-calculator .ogk-pl-k { color: var(--text-secondary); overflow-wrap: anywhere; }
#js-tool-container-otoplenie-gkal-calculator .ogk-pl-dots { flex: 1 0 24px; border-bottom: 1px dotted var(--border-color); transform: translateY(-3px); }
#js-tool-container-otoplenie-gkal-calculator .ogk-pl-v { color: var(--text-primary); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
#js-tool-container-otoplenie-gkal-calculator .ogk-pl-res { border-top: 1px solid var(--border-color); margin-top: 4px; padding-top: 8px; }
#js-tool-container-otoplenie-gkal-calculator .ogk-pl-res .ogk-pl-k { color: var(--text-primary); font-weight: 700; }
#js-tool-container-otoplenie-gkal-calculator .ogk-pl-res .ogk-pl-v { color: var(--ogk-heat); }
#js-tool-container-otoplenie-gkal-calculator .ogk-equiv { margin: 0; padding: 0 2px; font-family: var(--font-mono); font-size: 0.86rem; color: var(--text-muted); }
#js-tool-container-otoplenie-gkal-calculator .ogk-equiv-val { font-weight: 600; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
#js-tool-container-otoplenie-gkal-calculator .ogk-equiv-sep { margin: 0 6px; }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-status { border: 1px solid var(--border-color); border-left: 4px solid var(--accent-primary); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.9rem; line-height: 1.4; color: var(--text-secondary); }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-status.warn { border-left-color: var(--warning); background: var(--warning-light); color: var(--text-primary); }
#js-tool-container-otoplenie-gkal-calculator .ogk-det { display: flex; flex-direction: column; gap: 12px; }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius-md); }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
#js-tool-container-otoplenie-gkal-calculator .ogk-table-caption { caption-side: top; text-align: left; padding: 10px 14px; font-size: 0.84rem; color: var(--text-secondary); }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-table th, #js-tool-container-otoplenie-gkal-calculator .tbcalc-table td { padding: 8px 14px; text-align: left; border-top: 1px solid var(--border-color); }
#js-tool-container-otoplenie-gkal-calculator .tbcalc-table td:nth-child(2), #js-tool-container-otoplenie-gkal-calculator .tbcalc-table th:nth-child(2) { text-align: right; }
#js-tool-container-otoplenie-gkal-calculator .ogk-limits { margin: 0; font-size: 0.84rem; line-height: 1.45; color: var(--text-muted); }
@media (max-width: 480px) { #js-tool-container-otoplenie-gkal-calculator .ogk-pl { flex-wrap: wrap; } #js-tool-container-otoplenie-gkal-calculator .ogk-pl-dots { display: none; } #js-tool-container-otoplenie-gkal-calculator .ogk-pl-v { margin-left: auto; } }
@media (max-width: 640px) { #js-tool-container-otoplenie-gkal-calculator .tbcalc-grid-2, #js-tool-container-otoplenie-gkal-calculator .tbcalc-grid-3 { grid-template-columns: 1fr; } #js-tool-container-otoplenie-gkal-calculator .ogk-hero { flex-direction: column; align-items: stretch; gap: 12px; } #js-tool-container-otoplenie-gkal-calculator .ogk-hero-cost { border-left: none; padding-left: 0; text-align: left; border-top: 1px dashed var(--border-color); padding-top: 10px; } }