/* G-Tank 0.3: historical telemetry */
.history-panel{scroll-margin-top:14px}.history-hint{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#677b8d;font-size:12px;margin:12px 0}
.history-profile{background:#f8fbfd;border:1px solid #e1eaf0;border-radius:12px;padding:16px;margin:12px 0}
.history-profile summary,.history-results summary{cursor:pointer;color:#17384f}
.history-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.history-query{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-top:20px}
.history-query .field{min-width:210px;flex:1}
.history-query button{height:42px}
.history-presets{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.history-loading{display:flex;align-items:center;gap:12px;padding:20px;background:#f7fbfc;border-radius:10px;color:#306479}
.history-kpis{margin-top:18px;margin-bottom:18px}
.history-kpis .num{font-size:21px}
.history-chart-wrap{overflow:hidden;border:1px solid #e2ebf0;border-radius:12px;padding:8px;background:white}
.history-chart{display:block;width:100%;height:auto;min-height:220px}
.history-legend{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin:11px 0 14px;font-size:12px;color:#536b7a}
.history-legend span{display:flex;align-items:center;gap:7px}.history-line{display:inline-block;width:25px;height:3px;border-radius:2px}
.history-results .table-scroll{max-height:360px;overflow:auto}
@media(max-width:980px){.history-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.history-form-grid{grid-template-columns:1fr}.history-query{display:block}.history-query .field,.history-query button{width:100%;margin-bottom:10px}.history-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.history-kpis .num{font-size:18px}}

.history-line-tank1{background:#d99b40}.history-line-tank2{background:#377bb9}.history-line-total{background:#0d9690}
