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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #111827;
  color: #f9fafb;
  min-height: 100vh;
}

header {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #1f2937;
}

main {
  max-width: 480px;
  margin: 0 auto;
  padding: 1rem;
}

h2 {
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
  color: #9ca3af;
}

button {
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 0.75rem;
  background: #374151;
  color: #f9fafb;
  cursor: pointer;
}

button.primary {
  background: #10b981;
  color: #06281d;
  font-weight: 700;
  width: 100%;
  padding: 1rem;
}

button.danger {
  background: #7f1d1d;
}

.exercise-list {
  list-style: none;
}

.exercise-list li {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: #1f2937;
  border-radius: 0.75rem;
}

.exercise-list .name {
  font-weight: 600;
}

.exercise-list .meta {
  font-size: 0.85rem;
  color: #9ca3af;
}

.muted {
  color: #6b7280;
}

/* Workout view */
#workout-view {
  text-align: center;
  padding-top: 2rem;
}

.phase-label {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9ca3af;
}

.phase-label.work { color: #10b981; }
.phase-label.rest { color: #60a5fa; }

.current-exercise {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.75rem 0;
  min-height: 2rem;
}

.timer-display {
  font-size: 6rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.controls {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

#done-view {
  text-align: center;
  padding-top: 3rem;
}

#done-view p {
  margin: 1rem 0 2rem;
}
