body {
  margin: 0;
  padding: 0;
  width: 400px;
  height: 100px;
  background-color: #ccc;
  color: #000;
  font-family: sans-serif;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
}

#browserSizeValue,
#mousePosValue {
  font-size: 10px;
  padding: 0;
  white-space: nowrap;
}

.label {
  font-size: 10px;
  font-weight: bold;
}

#pageflip {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#prevBtn,
#nextBtn {
  width: 16px;
  height: 16px;
  font-size: 10px;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  display: block;
}

#pageLabel {
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* ----------------------------- */
/* Toolbox slider (self-contained) */
/* ----------------------------- */

.toolbox-slider {
  width: 70px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  height: 14px;
}

.toolbox-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: grey;
  border-radius: 2px;
}

.toolbox-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: grey;
  border-radius: 50%;
  margin-top: -5px;
}

.toolbox-slider::-moz-range-track {
  height: 4px;
  background: grey;
  border-radius: 2px;
}

.toolbox-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: grey;
  border-radius: 50%;
}

/* ----------------------------- */
/* Preset table (unchanged) */
/* ----------------------------- */

button[id^="PRESET"] {
  width: 20px;
  height: 16px;
  font-size: 10px;
  font-weight: bold;
  padding: 0;
  margin: 0;
}

.presetTable {
  margin: 0 auto;
}

.presetTable td {
  text-align: center;
  vertical-align: middle;
  padding: 2px;
}

/* ----------------------------- */
/* Pointer‑events restoration */
/* ----------------------------- */

table, #pageContent {
}
