.statistics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.statistics-card{padding:14px;border:1px solid var(--border);border-radius:12px}.statistics-card strong{display:block;font-size:1.8rem;margin:8px 0}.statistics-card small{line-height:1.4}.statistics-chart{width:100%;height:auto;display:block;min-width:600px}.statistics-chart-wrap{overflow:auto}.statistics-legend{display:flex;gap:14px;flex-wrap:wrap}.statistics-dot{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:5px}.statistics-table{overflow:auto}.statistics-table th,.statistics-table td{white-space:nowrap}#statistics-error{color:#b82025}body.dark #statistics-error{color:#ffb4a8}#gps-settings{margin-bottom:24px}#gps-settings-status{margin-left:12px}

.gps-selection{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.gps-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.gps-result label{display:flex;align-items:center;gap:10px;flex:1;cursor:pointer}.gps-result input{width:20px;height:20px;flex-shrink:0}.gps-result .statistics-dot{flex-shrink:0}.gps-result button{flex-shrink:0}#gps-results{max-height:420px;overflow:auto;margin-bottom:12px}#gps-route-map{height:540px;max-height:70vh}

.statistics-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 20px;border-bottom:1px solid var(--border);padding-bottom:8px}.statistics-tabs [role=tab]{background:transparent;color:inherit;border:1px solid var(--border);border-radius:8px;padding:9px 13px;max-width:100%;white-space:normal;text-align:left}.statistics-tabs [aria-selected=true]{background:var(--accent,#327653);color:white;border-color:var(--accent,#327653);font-weight:700}.statistics-tabs [role=tab]:focus-visible{outline:3px solid #457ec4;outline-offset:2px}[role=tabpanel][hidden],#statistics-filters[hidden]{display:none!important}

#gps-results .gps-result{display:table-row;padding:0}#gps-results .gps-result td{vertical-align:middle}#gps-results .gps-result input{display:inline-block;vertical-align:middle;margin:0 8px 0 0;width:20px;height:20px}#gps-results .gps-result .statistics-dot{vertical-align:middle}#gps-results .gps-result button{width:auto;margin:0}#gps-results table{min-width:900px;font-size:14px}#gps-results th{position:sticky;top:0;z-index:1;background:#e7eee8}body.dark #gps-results th{background:#293d31}#gps-results th button{padding:4px 6px;background:transparent;color:inherit;border:0;font-weight:700;white-space:nowrap}#gps-results td{white-space:nowrap;padding:9px 10px}.gps-row-actions{display:flex;gap:6px}.gps-row-actions button{padding:6px 9px}.gps-point-count{text-align:right;font-variant-numeric:tabular-nums}.gps-delete-action,#gps-delete{border-color:#a7372c;color:#a7372c;background:transparent}body.dark .gps-delete-action,body.dark #gps-delete{border-color:#ffb4a8;color:#ffb4a8}

#gps-results .gps-delete-action{color:#a7372c;border-color:#a7372c}body.dark #gps-results .gps-delete-action{color:#ffb4a8;border-color:#ffb4a8}
