/* Šildymo kreivės skaičiuoklė (papildo ../radiator/ui.css) */
.ewc-curve { max-width: 640px; margin: 0 auto 1.5rem; }
.ewc-points { border: 1px solid #dde2e6; border-radius: 8px; padding: .8rem; margin: 0; display: grid; gap: .5rem; }
.ewc-points legend { font-weight: 700; padding: 0 .4rem; }
.ewc-point-head, .ewc-point { display: grid; grid-template-columns: 1fr 1fr 1fr 2rem; gap: .4rem; align-items: center; }
.ewc-point-head { font-size: .75rem; color: #55657a; font-weight: 600; }
.ewc-point-rows { display: grid; gap: .4rem; }
.ewc-point input { width: 100%; box-sizing: border-box; padding: .55rem; font-size: 1rem; border: 1px solid #b8c0c8; border-radius: 6px; }
.ewc-point input.ewc-invalid { border-color: #c0392b; background: #fdecea; }
.ewc-del { border: 0; background: transparent; font-size: 1.4rem; line-height: 1; color: #55657a; cursor: pointer; }
.ewc-add { justify-self: start; border: 1px dashed #16794a; background: transparent; color: #16794a; font-weight: 700; padding: .45rem .8rem; border-radius: 6px; cursor: pointer; }
.ewc-scroll { overflow-x: auto; }
.ewc-curve-table th, .ewc-curve-table td { white-space: nowrap; padding: .45rem .5rem; font-size: .92rem; }
.ewc-up { color: #16794a; font-weight: 700; }
.ewc-chart { margin: 1rem 0 0; }
.ewc-chart figcaption { font-weight: 700; margin-bottom: .25rem; }
.ewc-chart svg { width: 100%; height: auto; display: block; }
.ewc-grid { stroke: #e3e8ed; stroke-width: 1; }
.ewc-axis { fill: #55657a; font-size: 11px; }
.ewc-line-old { stroke: #6b7785; stroke-width: 2.5; }
.ewc-line-old-dot { fill: #6b7785; }
.ewc-ext { stroke-dasharray: 5 5; opacity: .7; stroke-width: 2; }
.ewc-line-new { stroke: #16794a; stroke-width: 2.5; }
.ewc-line-new-dot { fill: #16794a; }
.ewc-legend { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: #55657a; flex-wrap: wrap; }
.ewc-key-old, .ewc-key-new { display: inline-block; width: 1.4rem; height: 4px; border-radius: 2px; margin-left: .5rem; }
.ewc-interactive { margin: .25rem 0 0; }
.ewc-svg { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ewc-handle { cursor: grab; outline: none; touch-action: none; }
.ewc-handle:active { cursor: grabbing; }
.ewc-hit { fill: transparent; touch-action: none; }
.ewc-line-old-dot { stroke: #fff; stroke-width: 2; }
.ewc-handle:hover .ewc-line-old-dot, .ewc-handle:focus .ewc-line-old-dot, .ewc-active-handle .ewc-line-old-dot { fill: #12263a; r: 9; }
.ewc-handle:focus-visible .ewc-hit { stroke: #16794a; stroke-width: 2; }
.ewc-guide { stroke: #9aa7b4; stroke-dasharray: 4 4; pointer-events: none; }
.ewc-readout { min-height: 2.6em; margin: .4rem 0 0; padding: .5rem .7rem; background: #f6f8fa; border-radius: 8px; font-size: .9rem; color: #12263a; }
.ewc-details { margin-top: .5rem; }
.ewc-details > summary { cursor: pointer; font-weight: 600; color: #16794a; }
.ewc-key-old { background: #6b7785; }
.ewc-key-new { background: #16794a; }
