body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}
.site-header {
    background-color: #f5f5f5;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}
.logo {
    height: 50px;
    cursor: pointer;
}
.landing {
    margin-top: 80px;
}
.landing h1 {
    font-size: 2em;
    margin-bottom: 30px;
}
.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.btn {
    padding: 10px 20px;
    background-color: #004d99;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
.btn:hover {
    background-color: #0073e6;
}
.page.uploads { max-width: 640px; margin: 60px auto; text-align: left; }
.upload-form .field { margin-bottom: 16px; display: grid; gap: 8px; }
.upload-form input[type="file"] { padding: 8px; }
.btn.primary { padding: 10px 16px; border: 0; border-radius: 4px; color: #fff; background: #004d99; cursor: pointer; }
.btn.primary:hover { background: #0073e6; }
.hint { color: #666; font-size: 0.9rem; margin-top: 8px; }

.page.road-analysis { max-width: 1200px; margin: 40px auto; padding: 0 16px; }

.top {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.controls .filters { display: grid; gap: 12px; }
.controls select, .controls button { padding: 10px; }
.btn { padding: 10px 14px; border: 1px solid #ccc; background: #f7f7f7; cursor: pointer; border-radius: 4px; }
.btn.primary { background: #004d99; color: #fff; border: 0; }
.btn.primary:hover { background: #0073e6; }

.metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
}
.metric { background: #f5f7fa; padding: 12px; border-radius: 6px; text-align: center; }
.metric .label { font-size: 0.9rem; color: #555; }
.metric .value { font-size: 1.4rem; font-weight: 600; margin-top: 6px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border: 1px solid #e5e7eb; padding: 8px 10px; white-space: nowrap; }
.table thead th { background: #f0f2f5; text-align: left; }
