* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
       background: #0f1419; color: #e6e6e6; }
header { display: flex; align-items: center; gap: 16px; padding: 16px 20px;
         background: #161b22; border-bottom: 1px solid #2a313a; flex-wrap: wrap; }
header h1 { margin: 0; font-size: 20px; }
header .back { color: #58a6ff; text-decoration: none; }
.btn { background: #238636; color: white; padding: 8px 14px; border-radius: 8px;
       cursor: pointer; font-size: 14px; }
.btn:hover { background: #2ea043; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
         gap: 10px; padding: 16px; }
.card { background: #161b22; border: 1px solid #2a313a; border-radius: 10px; padding: 12px; }
.card .label { font-size: 11px; color: #8b949e; text-transform: uppercase; letter-spacing: .4px; }
.card .value { font-size: 20px; font-weight: 700; margin-top: 4px; }
.filters { display: flex; gap: 8px; padding: 0 16px 8px; flex-wrap: wrap; }
.filters button { background: #21262d; color: #e6e6e6; border: 1px solid #30363d;
                  border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.filters button.active { background: #1f6feb; border-color: #1f6feb; }
.trips { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
         gap: 12px; padding: 16px; }
.trip { display: block; background: #161b22; border: 1px solid #2a313a; border-radius: 10px;
        padding: 14px; color: inherit; text-decoration: none; transition: .15s; }
.trip:hover { border-color: #58a6ff; transform: translateY(-2px); }
.trip-date { font-size: 12px; color: #8b949e; }
.trip-name { font-size: 16px; font-weight: 600; margin: 4px 0 8px; }
.trip-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #8b949e; }
.empty { padding: 40px; text-align: center; color: #8b949e; }
#map { height: 460px; margin: 0 16px 16px; border-radius: 12px; overflow: hidden; }
.charts { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 16px 24px; }
@media (min-width: 900px) { .charts { grid-template-columns: 1fr 1fr 1fr; } }
.charts .card h3 { margin: 0 0 8px; font-size: 13px; color: #8b949e; text-transform: uppercase; }
canvas { max-height: 280px; }