#js-tool-container-ves-drevesiny-calculator .vdc-app { --vdc-dry: #a06a34; --vdc-water: #3b82a6; --vdc-bark: #6b5648; display: flex; flex-direction: column; gap: 22px; color: var(--text-primary); }
html[data-theme="dark"] #js-tool-container-ves-drevesiny-calculator .vdc-app { --vdc-dry: #d99a52; --vdc-water: #58aed3; --vdc-bark: #a08776; }
#js-tool-container-ves-drevesiny-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-ves-drevesiny-calculator .tbcalc-legend { padding: 0 6px; font-weight: 600; font-size: 0.95rem; color: var(--text-secondary); }
#js-tool-container-ves-drevesiny-calculator .tbcalc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
#js-tool-container-ves-drevesiny-calculator .tbcalc-field { display: flex; flex-direction: column; gap: 6px; }
#js-tool-container-ves-drevesiny-calculator .tbcalc-field.is-off { opacity: 0.55; }
#js-tool-container-ves-drevesiny-calculator .tbcalc-hint { font-size: 0.82rem; line-height: 1.35; color: var(--text-muted); }
#js-tool-container-ves-drevesiny-calculator .vdc-outcome { display: flex; flex-direction: column; gap: 18px; }
#js-tool-container-ves-drevesiny-calculator .vdc-hero { border: 1px solid var(--border-color); border-left: 4px solid var(--vdc-dry); border-radius: var(--radius-md); background: var(--bg-tertiary); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-height: 132px; }
#js-tool-container-ves-drevesiny-calculator .vdc-hero-label { font-size: 0.9rem; color: var(--text-secondary); }
#js-tool-container-ves-drevesiny-calculator .vdc-hero-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
#js-tool-container-ves-drevesiny-calculator .vdc-hero-value { font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 700; line-height: 1.05; color: var(--vdc-dry); font-variant-numeric: tabular-nums; }
#js-tool-container-ves-drevesiny-calculator .vdc-hero-note { margin: 0; font-size: 0.86rem; line-height: 1.4; color: var(--text-secondary); }
#js-tool-container-ves-drevesiny-calculator .vdc-scale { border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
#js-tool-container-ves-drevesiny-calculator .vdc-scale-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9rem; gap: 12px; }
#js-tool-container-ves-drevesiny-calculator .vdc-scale-cap { color: var(--text-secondary); }
#js-tool-container-ves-drevesiny-calculator .vdc-scale-sum { font-weight: 700; font-variant-numeric: tabular-nums; }
#js-tool-container-ves-drevesiny-calculator .vdc-scale-bar { display: flex; height: 22px; border-radius: 5px; overflow: hidden; background: var(--bg-secondary); }
#js-tool-container-ves-drevesiny-calculator .vdc-scale-seg { display: block; height: 100%; width: 0; transition: width 0.25s ease; }
#js-tool-container-ves-drevesiny-calculator .vdc-seg-dry { background: var(--vdc-dry); }
#js-tool-container-ves-drevesiny-calculator .vdc-seg-water { background: var(--vdc-water); }
#js-tool-container-ves-drevesiny-calculator .vdc-seg-bark { background: var(--vdc-bark); }
#js-tool-container-ves-drevesiny-calculator .vdc-scale-keys { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.86rem; color: var(--text-secondary); }
#js-tool-container-ves-drevesiny-calculator .vdc-k::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 7px; background: var(--vdc-dry); }
#js-tool-container-ves-drevesiny-calculator .vdc-k-water::before { background: var(--vdc-water); }
#js-tool-container-ves-drevesiny-calculator .vdc-k-bark::before { background: var(--vdc-bark); }
#js-tool-container-ves-drevesiny-calculator .vdc-k strong { color: var(--text-primary); font-variant-numeric: tabular-nums; }
#js-tool-container-ves-drevesiny-calculator .vdc-cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
#js-tool-container-ves-drevesiny-calculator .vdc-cell { border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
#js-tool-container-ves-drevesiny-calculator .vdc-cell-val { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
#js-tool-container-ves-drevesiny-calculator .vdc-cell-cap { font-size: 0.78rem; color: var(--text-muted); line-height: 1.3; }
#js-tool-container-ves-drevesiny-calculator .tbcalc-status { margin: 0; font-size: 0.86rem; color: var(--text-secondary); border-left: 3px solid var(--accent-primary); padding: 8px 12px; border-radius: var(--radius-sm); background: var(--accent-light); }
#js-tool-container-ves-drevesiny-calculator .tbcalc-status.is-warn { border-left-color: var(--warning); background: var(--warning-light); }
#js-tool-container-ves-drevesiny-calculator .vdc-table-wrap { overflow-x: auto; }
#js-tool-container-ves-drevesiny-calculator .vdc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
#js-tool-container-ves-drevesiny-calculator .vdc-caption { text-align: left; font-size: 0.82rem; color: var(--text-muted); padding-bottom: 8px; }
#js-tool-container-ves-drevesiny-calculator .vdc-table th { text-align: left; font-weight: 600; color: var(--text-secondary); border-bottom: 1px solid var(--border-color); padding: 8px 10px; }
#js-tool-container-ves-drevesiny-calculator .vdc-table td { border-bottom: 1px solid var(--border-color); padding: 8px 10px; font-variant-numeric: tabular-nums; }
#js-tool-container-ves-drevesiny-calculator .vdc-table td:last-child { color: var(--text-muted); font-size: 0.84rem; }
#js-tool-container-ves-drevesiny-calculator .vdc-btn { border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 10px 18px; background: var(--bg-tertiary); color: var(--text-primary); cursor: pointer; font-size: 0.92rem; min-height: 44px; }
#js-tool-container-ves-drevesiny-calculator .vdc-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
@media (max-width: 640px) { #js-tool-container-ves-drevesiny-calculator .tbcalc-grid-2 { grid-template-columns: 1fr; } #js-tool-container-ves-drevesiny-calculator .vdc-cells { grid-template-columns: 1fr 1fr; } }