* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  min-height: 100vh;
  padding: 20px;
}

header {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

#last-updated {
  font-size: 0.9rem;
  opacity: 0.9;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  main {
    grid-template-columns: repeat(2, 1fr);
  }

  #current-status {
    grid-column: 1 / -1;
  }
}

.card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #667eea;
}

#status-content {
  text-align: center;
  padding: 20px;
}

.status-display {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.status-percent {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.status-message {
  font-size: 1.2rem;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
}

.status-quiet {
  background: #d4edda;
  color: #155724;
}

.status-moderate {
  background: #fff3cd;
  color: #856404;
}

.status-busy {
  background: #f8d7da;
  color: #721c24;
}

.status-full {
  background: #d6d6d6;
  color: #1a1a1a;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #999;
}

footer {
  text-align: center;
  color: white;
  margin-top: 40px;
  font-size: 0.9rem;
}

footer a {
  color: white;
  text-decoration: underline;
}

canvas {
  max-height: 300px;
}

#heatmap-container {
  overflow-x: auto;
}

#heatmap {
  display: block;
  margin: 0 auto;
  max-height: 400px;
}
