html, body {
  margin: 0; padding: 0; height: 100%;
  font-family: sans-serif;
  height: 100vh;
  display: flex;
}

#settings {
  width: 300px;
  padding: 10px;
  border-right: 1px solid #ccc;
  background: #f8f8f8;
  box-sizing: border-box;
  overflow-y: auto;
}

#canvas {
  flex-grow: 1;
  position: relative;
  background: #fff;
  height: 100vh;
}

svg {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, #eee 1px, transparent 1px),
    linear-gradient(to bottom, #eee 1px, transparent 1px);
  background-size: 20px 20px;
  display: block;
}


header {
  margin-bottom: 20px;
}

header h1 {
  margin: 0 0 10px 0;
}

nav a {
  text-decoration: none;
  color: #007bff;
  margin-right: 10px;
}

nav a:hover {
  text-decoration: underline;
}

main {
  background: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table, th, td {
  border: 1px solid #ccc;
}

th, td {
  padding: 8px;
  text-align: left;
}

button {
  cursor: pointer;
  padding: 6px 12px;
  margin: 3px 0;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  font-size: 14px;
}

button:hover {
  background-color: #0056b3;
}

label {
  margin-right: 10px;
  font-weight: bold;
}
