.ann-toggle {
  position: fixed;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 10040;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid #c9a227;
  border-radius: 8px;
  background: rgba(12, 14, 18, 0.92);
  color: #e8d5a3;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.ann-toggle:hover,
.ann-toggle.active {
  background: #c9a227;
  color: #1a140c;
}
.ann-bar {
  position: fixed;
  left: 3.4rem;
  bottom: 0.55rem;
  z-index: 10041;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid #c9a227;
  border-radius: 8px;
  background: rgba(12, 14, 18, 0.94);
  color: #d8e0d8;
  font-size: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.ann-bar[hidden] { display: none !important; }
.ann-bar button {
  appearance: none;
  border: 1px solid #4a5560;
  background: #12181e;
  color: #e8d5a3;
  padding: 0.22rem 0.45rem;
  cursor: pointer;
  font: inherit;
}
.ann-bar button.active { border-color: #c9a227; background: #2a2418; }
.ann-bar label { display: inline-flex; align-items: center; gap: 0.3rem; }
.ann-bar input[type="range"] { width: 6.5rem; }
.ann-bar input[type="color"] {
  width: 1.8rem;
  height: 1.5rem;
  padding: 0;
  border: 1px solid #4a5560;
  background: transparent;
  cursor: pointer;
}
.ann-canvas {
  position: fixed;
  inset: 0;
  z-index: 10030;
  width: 100%;
  height: 100%;
  pointer-events: none;
  touch-action: none;
}
body.ann-drawing .ann-canvas {
  pointer-events: auto;
  cursor: crosshair;
}
body.ann-erasing .ann-canvas { cursor: cell; }
