#js-tool-container-bellows-compensator-calculator .bpc-app { display: flex; flex-direction: column; gap: 22px; color: var(--text-primary); } #js-tool-container-bellows-compensator-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-bellows-compensator-calculator .tbcalc-legend { padding: 0 6px; font-weight: 600; font-size: 0.95rem; color: var(--text-secondary); } #js-tool-container-bellows-compensator-calculator .tbcalc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; } #js-tool-container-bellows-compensator-calculator .bpc-field-wide { grid-column: 1 / -1; max-width: 440px; } #js-tool-container-bellows-compensator-calculator .tbcalc-field { display: flex; flex-direction: column; gap: 6px; } #js-tool-container-bellows-compensator-calculator .tbcalc-hint { font-size: 0.82rem; line-height: 1.35; color: var(--text-muted); } #js-tool-container-bellows-compensator-calculator .tbcalc-unit { font-size: 1rem; color: var(--text-secondary); } #js-tool-container-bellows-compensator-calculator .tbcalc-result-label { font-size: 0.84rem; color: var(--text-secondary); } #js-tool-container-bellows-compensator-calculator .tbcalc-result-row { display: flex; align-items: baseline; gap: 8px; } #js-tool-container-bellows-compensator-calculator .tbcalc-result-value { font-size: clamp(1.1rem, 3vw, 1.45rem); font-weight: 650; } #js-tool-container-bellows-compensator-calculator .bpc-details { display: flex; flex-direction: column; gap: 12px; } #js-tool-container-bellows-compensator-calculator .tbcalc-table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius-md); } #js-tool-container-bellows-compensator-calculator .tbcalc-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; } #js-tool-container-bellows-compensator-calculator .bpc-table-caption { caption-side: top; text-align: left; padding: 10px 14px; font-size: 0.84rem; color: var(--text-secondary); } #js-tool-container-bellows-compensator-calculator .tbcalc-table th, #js-tool-container-bellows-compensator-calculator .tbcalc-table td { padding: 8px 14px; text-align: right; border-top: 1px solid var(--border-color); white-space: nowrap; } #js-tool-container-bellows-compensator-calculator .tbcalc-table thead th { text-align: right; color: var(--text-secondary); font-weight: 600; border-top: 0; } #js-tool-container-bellows-compensator-calculator .tbcalc-table th[scope="row"], #js-tool-container-bellows-compensator-calculator .tbcalc-table thead th:first-child { text-align: left; } #js-tool-container-bellows-compensator-calculator .bpc-row-active { background: var(--accent-light); } #js-tool-container-bellows-compensator-calculator .bpc-row-active th { color: var(--accent-primary); font-weight: 700; } #js-tool-container-bellows-compensator-calculator .tbcalc-note { margin: 0; font-size: 0.84rem; line-height: 1.45; color: var(--text-muted); } @media (max-width: 600px) { #js-tool-container-bellows-compensator-calculator .tbcalc-grid-2 { grid-template-columns: 1fr; } #js-tool-container-bellows-compensator-calculator .bpc-field-wide { max-width: none; } } 
#js-tool-container-bellows-compensator-calculator .bpc-outcome { display: flex; flex-direction: column; gap: 18px; }
#js-tool-container-bellows-compensator-calculator .bpc-answer { display: flex; flex-direction: column; gap: 4px; padding: 4px 2px 0; }
#js-tool-container-bellows-compensator-calculator .bpc-ans-label { font-size: 0.9rem; color: var(--text-secondary); letter-spacing: 0.01em; }
#js-tool-container-bellows-compensator-calculator .bpc-dim { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 10px 0; }
#js-tool-container-bellows-compensator-calculator .bpc-dim-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line2); }
#js-tool-container-bellows-compensator-calculator .bpc-dim-line::before, #js-tool-container-bellows-compensator-calculator .bpc-dim-line::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--line2); }
#js-tool-container-bellows-compensator-calculator .bpc-dim-line::before { left: 0; }
#js-tool-container-bellows-compensator-calculator .bpc-dim-line::after { right: 0; }
#js-tool-container-bellows-compensator-calculator .bpc-dim-value { position: relative; font-family: var(--mono); font-size: clamp(1.9rem, 5vw, 2.7rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; padding: 0 12px; background: var(--bg1, #fff); }
#js-tool-container-bellows-compensator-calculator .bpc-dim-unit { position: relative; font-size: 1rem; color: var(--text-secondary); background: var(--bg1, #fff); padding-right: 12px; }
#js-tool-container-bellows-compensator-calculator .bpc-formula { margin: 0; font-family: var(--mono); font-size: 0.82rem; line-height: 1.5; color: var(--text-muted); overflow-wrap: anywhere; }
#js-tool-container-bellows-compensator-calculator .bpc-hero-note { margin: 2px 0 0; font-size: 0.86rem; line-height: 1.45; color: var(--text-secondary); }
#js-tool-container-bellows-compensator-calculator .tbcalc-status { display: flex; align-items: center; border: 1px solid var(--border-color); border-left: 3px solid var(--accent-primary); border-radius: 10px; background: var(--bg-tertiary); padding: 11px 14px; font-size: 0.9rem; line-height: 1.45; color: var(--text-secondary); min-height: 48px; box-sizing: border-box; }
#js-tool-container-bellows-compensator-calculator .tbcalc-status::before { content: "Вывод"; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-right: 10px; flex: none; }
#js-tool-container-bellows-compensator-calculator .tbcalc-status.warn { border-left-color: var(--warning); background: var(--warning-light); color: var(--text-primary); }
#js-tool-container-bellows-compensator-calculator .tbcalc-status.danger { border-left-color: var(--danger); background: var(--danger-light); color: var(--text-primary); }
#js-tool-container-bellows-compensator-calculator .bpc-scale { border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-tertiary); padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 12px; }
#js-tool-container-bellows-compensator-calculator .bpc-pipe { position: relative; height: 22px; margin: 0 4px; }
#js-tool-container-bellows-compensator-calculator .bpc-pipe-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--text-muted); opacity: 0.55; }
#js-tool-container-bellows-compensator-calculator .bpc-pipe-bellows { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 18px; background: repeating-linear-gradient(90deg, var(--text-primary) 0 2px, transparent 2px 7px); opacity: 0.75; }
#js-tool-container-bellows-compensator-calculator .bpc-pipe-flange { position: absolute; top: 50%; transform: translateY(-50%); width: 3px; height: 16px; background: var(--text-primary); opacity: 0.6; }
#js-tool-container-bellows-compensator-calculator .bpc-flange-l { left: 0; }
#js-tool-container-bellows-compensator-calculator .bpc-flange-r { right: 0; }
#js-tool-container-bellows-compensator-calculator .bpc-pipe-tag { position: absolute; left: 50%; top: calc(50% + 12px); transform: translateX(-50%); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
#js-tool-container-bellows-compensator-calculator .bpc-track { position: relative; height: 12px; margin: 14px 0 2px; }
#js-tool-container-bellows-compensator-calculator .bpc-track-base { position: absolute; inset: 0; border-radius: 999px; background: var(--bg3, #e9eaf0); border: 1px solid var(--border-color); overflow: hidden; }
#js-tool-container-bellows-compensator-calculator .bpc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; border-radius: 999px; transition: width 160ms ease-out; }
#js-tool-container-bellows-compensator-calculator .bpc-fill-avail { background: var(--ink3, #5a6270); opacity: 0.4; }
#js-tool-container-bellows-compensator-calculator .bpc-fill-avail::after, #js-tool-container-bellows-compensator-calculator .bpc-fill-req::after { content: ""; position: absolute; right: -1px; top: -4px; bottom: -4px; width: 2px; background: var(--text-primary); }
#js-tool-container-bellows-compensator-calculator .bpc-fill-req { background: var(--accent-primary); }
#js-tool-container-bellows-compensator-calculator .bpc-fill-req.bpc-gauge-deficit { background: var(--warning); }
#js-tool-container-bellows-compensator-calculator .bpc-fill-req.bpc-gauge-deficit::after { background: var(--warning); }
#js-tool-container-bellows-compensator-calculator .bpc-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; }
#js-tool-container-bellows-compensator-calculator .bpc-leg { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; color: var(--text-secondary); }
#js-tool-container-bellows-compensator-calculator .bpc-dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
#js-tool-container-bellows-compensator-calculator .bpc-dot-req { background: var(--accent-primary); }
#js-tool-container-bellows-compensator-calculator .bpc-dot-avail { background: var(--ink3, #5a6270); opacity: 0.55; }
#js-tool-container-bellows-compensator-calculator .bpc-leg-val { font-family: var(--mono); font-size: 0.84rem; color: var(--text-primary); }
#js-tool-container-bellows-compensator-calculator .bpc-spec { border-top: 1px solid var(--border-color); padding-top: 4px; }
#js-tool-container-bellows-compensator-calculator .bpc-spec-row { display: flex; align-items: baseline; gap: 10px; padding: 11px 2px; border-bottom: 1px dashed var(--border-color); }
#js-tool-container-bellows-compensator-calculator .bpc-spec-row-last { border-bottom: 0; }
#js-tool-container-bellows-compensator-calculator .bpc-spec-label { font-size: 0.9rem; color: var(--text-secondary); flex: none; }
#js-tool-container-bellows-compensator-calculator .bpc-spec-dots { flex: 1 1 24px; min-width: 16px; border-bottom: 1px dotted var(--line2, rgba(16,17,22,.22)); transform: translateY(-3px); }
#js-tool-container-bellows-compensator-calculator .bpc-spec-val { font-family: var(--mono); font-size: 1.15rem; font-weight: 650; color: var(--text-primary); text-align: right; font-variant-numeric: tabular-nums; }
#js-tool-container-bellows-compensator-calculator .bpc-spec-val-text { font-family: var(--font); font-weight: 700; font-size: 1.02rem; }
#js-tool-container-bellows-compensator-calculator .bpc-spec-unit { font-size: 0.84rem; color: var(--text-muted); min-width: 26px; text-align: left; }
#js-tool-container-bellows-compensator-calculator .bpc-stroke-wide { max-width: none; }
:where(.bpc-controls):not(.tb-zone), :where(.bpc-outcome):not(.tb-zone), :where(.bpc-details):not(.tb-zone) { background: var(--bg1, #fff); border: 1px solid var(--line, rgba(16,17,22,.09)); border-radius: 20px; padding: 24px 26px; box-shadow: 0 1px 2px rgba(16,17,22,.04), 0 2px 10px -4px rgba(16,17,22,.06); }
@media (max-width: 600px) { :where(.bpc-controls):not(.tb-zone), :where(.bpc-outcome):not(.tb-zone), :where(.bpc-details):not(.tb-zone) { padding: 18px 16px; } }
@media (max-width: 600px) { #js-tool-container-bellows-compensator-calculator .bpc-legend { gap: 6px 14px; } #js-tool-container-bellows-compensator-calculator .bpc-dim-value { padding: 0 8px; } }
