html,
body {
  margin: 0;
  padding: 0;
}

canvas {
  display: block;
}

:root {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.tabs {
  display: flex;
  gap: 8px;
  /* margin: 12px 0; */
  padding: 12px;
  background: rgba(245, 247, 250, 0.9);
  border-radius: 12px;
  align-items: center;
}

.tab-btn {
  padding: 8px 14px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #334155;
  font-weight: 500;
}

.tab-btn:hover {
  background: rgba(51, 65, 85, 0.06);
  transform: translateY(-1px);
}

.tab-btn.active {
  background: #ddd;
  font-weight: 600;
}

.tab-content {
  display: none;
  border: 1px solid #ccc;
}

.tab-content.active {
  display: block;
}

.sketch-container canvas {
  max-width: 100%;
  height: auto;
  display: block;
}
.tab-content {
  padding: 24px 16px;
  border: 1px solid #ccc;
  background: #fff;
}

.sketch-narrative,
.sketch-evolution {
  max-width: 920px;
  margin: 16px auto;
  color: #111827;
  line-height: 1.6;
}

.sketch-narrative h3 {
  margin: 0 0 10px 0;
}

.sketch-narrative ul {
  margin: 8px 0 16px 20px;
}

.sketch-container {
  max-width: 920px;
  margin: 16px auto;
  min-height: 520px;
  height: 70vh;
}

.sketch-evolution figure {
  max-width: 920px;
  margin: 14px auto;
}

.sketch-evolution img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
}
