html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000000;
}

#sketch-holder {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  min-height: 100vh;
}

canvas {
  display: block;
}

.zona-botones {
  position: fixed;
  top: 20px;
  left: 30px;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  z-index: 100;
}

.grupo-titulo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.titulo-botonera {
  color: #1b4f72;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.texto-intro {
  color: #1b4f72;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0px;
  margin: 0;
}

.etiqueta-control {
  color: #1b4f72;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0px;
  margin: 0;
}

.fila-etiqueta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.fila-etiqueta .etiqueta-control {
  flex: 0 0 auto;
}

.fila-etiqueta .boton,
.fila-etiqueta select {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  padding: 4px 10px;
  font-size: 12px;
}

.separador-zona {
  width: 100%;
  height: 1px;
  background: #1b4f72;
  margin: 8px 0;
}

.fila-acciones {
  display: flex;
  gap: 12px;
  width: 100%;
}

.boton {
  --color-boton: #1b4f72;
  width: 100%;
  box-sizing: border-box;
  color: var(--color-boton);
  background: transparent;
  border: 1px solid var(--color-boton);
  border-radius: 8px;
  padding: 10px 16px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.boton:hover {
  background: #1b4f72;
  color: white;
}

.boton:active {
  background: #0f2e47;
}

.boton.boton-reset {
  width: auto;
  flex: 1 1 0;
  padding: 8px 12px;
  font-size: 13px;
}

.boton.boton-reset.activo {
  background: #1b4f72;
  color: white;
}

.boton.boton-reset.processing {
  opacity: 0.6;
  cursor: not-allowed;
}

.input-file {
  display: none;
}

.boton-archivo {
  text-align: center;
}

.deslizador {
  width: 100%;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 24px;
}

.deslizador::-webkit-slider-runnable-track {
  height: 2px;
  background: #1b4f72;
}

.deslizador::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1b4f72;
  margin-top: -6px;
  cursor: pointer;
}

.deslizador::-moz-range-track {
  height: 2px;
  background: #1b4f72;
  border: none;
}

.deslizador::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1b4f72;
  border: none;
  cursor: pointer;
}

.container-sliders {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.valor-slider {
  font-size: 12px;
  color: #1b4f72;
}

.info-procesamiento {
  color: #1b4f72;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0px;
  margin: 0;
  padding: 0;
}

.explicacion-metodo {
  color: #1b4f72;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0px;
  margin: 0;
  padding: 0;
}

.pie-version {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #ecf0f1;
  color: #1b4f72;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10px;
  line-height: 1.3;
  width: 100%;
}
