.acc-annotation-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: calc(var(--acc-widget-z-index, 100000) + 5);
  pointer-events: none;
}

.acc-annotation-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-40%, -50%);
}

.acc-annotation-marker svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.acc-annotation-marker[data-impact="critical"] {
  background: #b71c1c;
}

.acc-annotation-marker[data-impact="serious"] {
  background: #d84315;
}

.acc-annotation-marker[data-impact="moderate"] {
  background: #ef6c00;
}

.acc-annotation-marker[data-impact="minor"] {
  background: #1565c0;
}

.acc-annotation-popup {
  position: absolute;
  width: min(320px, 92vw);
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  padding: 12px;
  pointer-events: auto;
}

.acc-annotation-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.acc-annotation-popup-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
}

.acc-annotation-popup-close {
  border: 0;
  background: transparent;
  padding: 2px;
  width: 24px;
  height: 24px;
  color: #444;
  cursor: pointer;
}

.acc-annotation-popup-close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.acc-annotation-popup p {
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.45;
}

.acc-annotation-popup a {
  color: #0d47a1;
  font-weight: 600;
  text-decoration: underline;
}
