/* AGENT_TARGET: touch-audit-styles — overlay panel, markers, and summary for touch target audit */
.touch-audit-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
}

.touch-audit-summary {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font: 600 13px/1.5 monospace;
  padding: 6px 18px;
  border-radius: 20px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 100001;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.touch-audit-marker {
  position: absolute;
  box-sizing: border-box;
  pointer-events: none;
}

.touch-audit-marker.pass {
  border: 2px solid rgba(0, 210, 110, 0.75);
  background: rgba(0, 210, 110, 0.08);
}

.touch-audit-marker.fail {
  border: 2px solid rgba(255, 55, 55, 0.9);
  background: rgba(255, 55, 55, 0.15);
}

.touch-audit-close {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font: 14px/1 sans-serif;
  cursor: pointer;
  pointer-events: all;
  z-index: 100001;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.touch-audit-close:hover {
  background: #444;
}

.touch-audit-fail-list {
  position: fixed;
  bottom: 64px;
  right: 16px;
  max-width: 320px;
  background: rgba(0, 0, 0, 0.88);
  color: #fca;
  font: 12px/1.5 monospace;
  padding: 8px 12px;
  border-radius: 8px;
  pointer-events: none;
  z-index: 100001;
}

.touch-audit-fail-list span {
  display: inline-block;
  margin: 2px 4px 2px 0;
  background: rgba(255, 80, 80, 0.25);
  border-radius: 4px;
  padding: 1px 5px;
}
