.hot-tool.chart-tool { display:grid; grid-template-columns:minmax(250px, .8fr) minmax(0,1.2fr); gap:1.25rem; align-items:start; margin:1.25rem 0; }
.hot-tool .chart-controls,.hot-tool .preview-wrap { min-width:0; padding:1rem; border:1px solid #d7dde5; border-radius:12px; background:#fff; }
.hot-tool .chart-controls label { display:block; margin:.7rem 0 .3rem; font-weight:600; }
.hot-tool .chart-controls input,.hot-tool .chart-controls select { box-sizing:border-box; width:100%; min-height:42px; padding:.55rem .65rem; border:1px solid #9ba7b5; border-radius:6px; font:inherit; }
.hot-tool .chart-controls input:focus,.hot-tool .chart-controls select:focus,.hot-tool button:focus-visible { outline:3px solid #93c5fd; outline-offset:2px; }
.hot-tool .data-heading,.hot-tool .control-actions { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-top:1rem; }
.hot-tool .data-heading span { color:#586575; font-size:.9rem; }
.hot-tool .data-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(5rem,.6fr) auto; gap:.4rem; margin-top:.45rem; }
.hot-tool button { min-height:40px; padding:.45rem .7rem; border:1px solid #627084; border-radius:6px; background:#f7f9fc; color:#17212e; font:inherit; cursor:pointer; }
.hot-tool #make-chart,.hot-tool .print-button { border-color:#173c68; background:#173c68; color:#fff; font-weight:650; }
.hot-tool .remove-row { padding-inline:.5rem; }
.hot-tool .chart-message { min-height:1.4em; margin:.65rem 0 0; color:#344256; }
.hot-tool .chart-output { width:100%; }
.hot-tool .chart-output svg { display:block; width:100%; height:auto; overflow:visible; }
.hot-tool .chart-data-table { width:100%; margin-top:.75rem; border-collapse:collapse; table-layout:fixed; font-size:.9rem; }
.hot-tool .chart-data-table caption { padding:.35rem; text-align:left; font-weight:650; }
.hot-tool .chart-data-table th,.hot-tool .chart-data-table td { padding:.35rem .5rem; border:1px solid #d7dde5; text-align:left; overflow-wrap:anywhere; }
.hot-tool .chart-data-table th { background:#f3f6fa; }
.hot-tool .svg-title { font:700 22px sans-serif; fill:#17212e; }
.hot-tool .svg-label { font:14px sans-serif; fill:#27364a; }
.hot-tool .svg-value,.hot-tool .svg-axis-title { font:13px sans-serif; fill:#27364a; }
.hot-tool .axis-line { stroke:#657487; stroke-width:1.5; }
.hot-tool .bar-shape { fill:#3478b8; }
.hot-tool .line-shape { fill:none; stroke:#24649e; stroke-width:3; stroke-linejoin:round; stroke-linecap:round; }
.hot-tool .point-shape { fill:#fff; stroke:#24649e; stroke-width:3; }
.hot-tool .print-button { width:100%; margin-top:.6rem; }
@media (max-width:680px) { .hot-tool.chart-tool { grid-template-columns:minmax(0,1fr); gap:.7rem; } .hot-tool .chart-controls,.hot-tool .preview-wrap { padding:.8rem; } .hot-tool .data-row { grid-template-columns:minmax(0,1fr) 5.5rem auto; } }
@media print { .hot-tool.chart-tool { display:block; margin:0; } .hot-tool .chart-controls,.hot-tool .print-button,.hot-tool .chart-message { display:none !important; } .hot-tool .preview-wrap { border:0; padding:0; } .hot-tool .chart-output svg { width:100%; max-height:75vh; } .hot-tool .chart-data-table { font-size:10pt; } }
