:root {
  --bg: #f7f8fa;
  --card: #ffffff;
  --border: #e1e4e8;
  --text: #1a1a1a;
  --text-dim: #6a737d;
  --green: #0d9e6f;
  --red: #d73a49;
  --yellow: #e0a800;
  --blue: #0366d6;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); font-size: 14px; }
nav { background: var(--card); border-bottom: 1px solid var(--border); padding: 12px 20px; display: flex; gap: 20px; align-items: center; }
nav a { color: var(--text); text-decoration: none; font-weight: 500; }
nav a.active { color: var(--blue); }
main { max-width: 1200px; margin: 0 auto; padding: 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 16px; margin-bottom: 12px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--text-dim); font-weight: 500; font-size: 12px; text-transform: uppercase; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.badge-green { background: #d4f4e0; color: var(--green); }
.badge-red { background: #ffd8d8; color: var(--red); }
.badge-yellow { background: #fff3cd; color: var(--yellow); }
button { background: var(--blue); color: white; border: 0; padding: 8px 14px; border-radius: 4px; cursor: pointer; font-size: 14px; }
button.secondary { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
button.danger { background: var(--red); }
input, select { padding: 6px 10px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; width: 100%; }
.traffic-light { width: 60px; height: 60px; border-radius: 50%; display: inline-block; }
.traffic-green { background: var(--green); }
.traffic-red { background: var(--red); }
.traffic-yellow { background: var(--yellow); }
