/* G-Tank v0.3.1 interactive history UI */
.gt-explorer{margin-top:16px;border:1px solid #dce8ef;border-radius:15px;padding:16px;background:#fff}
.gt-heading,.gt-map-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gt-heading h3,.gt-map-title h3{margin:0;font-size:17px;color:#163a54}
.gt-heading p,.gt-map-title small{font-size:12px;color:#5d788c;margin:4px 0 0}
.gt-chip{background:#e8f3f5;color:#267083;border:1px solid #cbe6e8;border-radius:99px;padding:5px 9px;white-space:nowrap;font-size:11px;font-weight:700}
.gt-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:13px 0}
.gt-toggle{display:inline-flex;align-items:center;gap:7px;cursor:pointer;padding:8px 11px;border:1px solid #e1ebf1;border-radius:10px;background:#f9fcfe;font-size:12px;color:#345369}
.gt-toggle:has(input:checked){border-color:var(--track-color);background:#f3fbfb}
.gt-toggle input{accent-color:var(--track-color);width:15px;height:15px}
.gt-chart-controls{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#4a6b82;margin-bottom:8px;flex-wrap:wrap}
.gt-buttons{display:flex;gap:5px}.gt-buttons button{border:1px solid #d4e1e8;background:#fff;border-radius:8px;padding:8px 11px;color:#154363;cursor:pointer}.gt-buttons button:hover{background:#eaf3f8}
.gt-canvas-frame{border:1px solid #d9e5ec;border-radius:12px;background:#fff;padding:6px;overflow:hidden}
#gt-fuel-canvas{width:100%;height:360px;display:block;cursor:crosshair;touch-action:pan-y;outline-offset:2px}
.gt-hover{min-height:25px;border-top:1px solid #edf2f7;padding:6px 7px;color:#1c617c;font-size:12px;font-weight:600}
.gt-help,.gt-notice,.gt-map-credit{font-size:11px;color:#6d8190;line-height:1.5;margin:9px 0}
.gt-event-header{margin-top:17px}.gt-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,1fr);gap:14px;margin-top:13px}
.gt-map{height:340px;min-height:250px;border:1px solid #dce7ed;border-radius:11px;overflow:hidden;background:#eef3f1;margin-top:9px;z-index:0}
.gt-event-list{height:340px;max-height:340px;overflow:auto;border:1px solid #e0ebf0;border-radius:11px;margin-top:9px;background:#fbfdfe}
.gt-event-row{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;border-bottom:1px solid #edf1f4;background:transparent;padding:11px 10px;cursor:pointer;color:#1a435c}
.gt-event-row:hover{background:#eaf4f8}.gt-event-row span:nth-child(2){flex:1}.gt-event-row strong,.gt-event-row small{display:block}.gt-event-row small{color:#70879a;font-size:11px;margin-top:4px}
.gt-event-icon{height:11px;width:11px;border-radius:50%;flex-shrink:0}.gt-empty{font-size:13px;color:#667d91;padding:20px}
.gt-map .leaflet-control-attribution{font-size:10px}
@media(max-width:950px){.gt-split{grid-template-columns:1fr}}@media(max-width:600px){.gt-explorer{padding:10px}.gt-heading{align-items:flex-start}.gt-buttons{flex-wrap:wrap}.gt-map{height:285px}.gt-event-list{max-height:280px;height:280px}}

.gt-toggle-tank1{--track-color:#d3922c}.gt-toggle-tank2{--track-color:#387dc4}.gt-toggle-tank3{--track-color:#9569c8}.gt-toggle-total{--track-color:#079b94}
.gt-toggle-stop{--track-color:#e3a33a}.gt-toggle-parking{--track-color:#4476c0}.gt-toggle-possible_fill{--track-color:#16996d}.gt-toggle-possible_drain{--track-color:#ce5b58}
.gt-icon-stop{background:#e3a33a}.gt-icon-parking{background:#4476c0}.gt-icon-possible_fill{background:#16996d}.gt-icon-possible_drain{background:#ce5b58}
/* v0.3.2: readable fuel-view controls, difference tool, and proprietary palette over OSM tiles. */
.gt-tool-options{display:flex;gap:10px;flex-wrap:wrap;margin:13px 0 11px}
.gt-selector{display:flex;flex-direction:column;gap:5px;color:#426477;font-size:12px;font-weight:700;min-width:185px}
.gt-selector select,.gt-map-options select{border:1px solid #ccdfe8;background:#f9fcff;color:#164360;border-radius:9px;padding:9px 10px;font:inherit;max-width:100%}
.gt-selector select:focus-visible,.gt-map-options select:focus-visible{outline:2px solid #079b94;outline-offset:2px}
.gt-measure-result{border:1px dashed #a6cddd;background:#f1f9fc;border-radius:10px;padding:12px;margin-top:8px;font-size:12px;color:#285269;line-height:1.45}
.gt-measure-result>strong{display:block;font-size:14px;color:#1c455e;margin-bottom:8px}
.gt-measure-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.gt-measure-grid span{display:flex;flex-direction:column;gap:3px;border:1px solid #e0edf3;border-radius:8px;background:white;padding:9px}
.gt-measure-grid small{font-size:11px;color:#6d8597}.gt-measure-grid b,.gt-measure-grid strong{font-size:14px;color:#174764}
.gt-measure-grid .gt-negative{color:#be5d3b}.gt-measure-grid .gt-positive{color:#139772}
.gt-measure-result p{margin:9px 0 0;color:#547084}
.gt-map-options{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px;color:#627b8c;margin:10px 0 5px}
.gt-map-options label{display:flex;align-items:center;gap:8px;font-weight:700;color:#2d5871}
.gt-map{background:#f1f6f4;border:1px solid #cfe1e3;box-shadow:inset 0 0 0 1px #fff}
.gt-map.gt-theme-branded .leaflet-tile-pane img.leaflet-tile{filter:grayscale(.2) saturate(.72) hue-rotate(9deg) brightness(1.07) contrast(.91)}
.gt-map .leaflet-control-zoom a{color:#176078;border-color:#dce8ed}
.gt-map .leaflet-control-attribution{background:rgba(255,255,255,.85)!important}
.gt-map .leaflet-popup-content-wrapper{border-radius:12px}
@media(max-width:600px){.gt-tool-options{display:grid;grid-template-columns:1fr}.gt-measure-grid{grid-template-columns:1fr}.gt-map-options{display:block}.gt-map-options label{margin-bottom:7px}}
