.bug-report-fab {
  position: fixed;
  right: 20px;
  bottom: 76px; /* sits above assistant FAB */
  width: 44px;
  height: 44px;
  border-radius: 22px;
  border: none;
  background: #f59e0b; /* amber */
  color: #1f2937;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1001; /* just above assistant */
}

.bug-report-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10060;
}

.bug-report-modal {
  background: #fff;
  width: min(960px, 96vw);
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
}
.bug-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}
.bug-report-body {
  padding: 12px;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.bug-report-canvas-wrap {
  position: relative;
  width: 100%;
  background: #111;
  border-radius: 6px;
  overflow: hidden;
}
.bug-report-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
}
.bug-report-canvas-wrap canvas.overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
}
.bug-report-toolbar {
  display: flex; gap: 8px; align-items: center; margin-bottom: 6px;
}
.bug-report-footer {
  padding: 12px;
  border-top: 1px solid #e5e7eb;
  display: flex; gap: 8px; justify-content: flex-end;
}
.bug-btn { padding: 6px 10px; border-radius: 6px; border: 1px solid #d1d5db; background: #f3f4f6; cursor: pointer; }
.bug-btn.primary { background: #0b5ed7; border-color: #0b5ed7; color: #fff; }
.bug-btn.danger { background: #dc2626; border-color: #dc2626; color: #fff; }
.bug-report-textarea { width: 100%; min-height: 80px; border: 1px solid #d1d5db; border-radius: 6px; padding: 8px; font: inherit; }

@media (max-width: 480px) {
  .bug-report-fab { right: 10px; bottom: 70px; }
}
