html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #1e1e1e;
}

#toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  background: rgba(30, 30, 30, 0.85);
  color: #ddd;
  font-size: 12px;
  user-select: none;
}

#toolbar button {
  font-size: 12px;
  padding: 2px 8px;
  background: #3a3a3a;
  color: #eee;
  border: 1px solid #555;
  border-radius: 3px;
  cursor: pointer;
}

#toolbar button:hover {
  background: #4a4a4a;
}

#status {
  font-weight: bold;
  padding: 1px 6px;
  border-radius: 3px;
}

.status-pending { background: #8a6d00; color: #fff; }
.status-ready   { background: #1b7a1b; color: #fff; }
.status-error   { background: #a11212; color: #fff; }

#persist-status { color: #9cf; }

#view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

#view.dragging { cursor: grabbing; }

#help {
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  text-align: center;
  color: #888;
  font-size: 11px;
  pointer-events: none;
  user-select: none;
}
