:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background: #f5f6f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

.dashboard {
  width: min(100% - 2rem, 70rem);
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.page-header {
  margin-bottom: 1.5rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
}

.page-header p,
.camera-card p {
  color: #52606d;
  line-height: 1.5;
}

.camera-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.camera-card {
  padding: 1.25rem;
  border: 1px solid #d9e2ec;
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 1px 3px rgb(31 41 51 / 8%);
}

.camera-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.button {
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.button:focus-visible {
  outline: 3px solid #7cc4fa;
  outline-offset: 2px;
}

.button-primary {
  color: #ffffff;
  background: #1f5f8b;
}

.button-primary:hover {
  background: #174968;
}

.button-secondary {
  color: #1f2933;
  border-color: #9fb3c8;
  background: #ffffff;
}

.button-secondary:hover {
  background: #f0f4f8;
}
