/* Inspection is explicitly opt-in. Never disable touch scrolling in idle CSS. */
#team-lab #mirage-map-clip {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
}
#team-lab #mirage-pan-surface {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
#team-lab #mirage-pan-surface > #mirage-svg { display: block; }
#team-lab[data-inspect="true"] #mirage-pan-surface { will-change: transform; }
#team-lab[data-map-dragging="true"] #mirage-pan-surface { cursor: grabbing !important; }
#team-lab .mirage-inspect-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(225, 199, 220, 0.16);
}
#team-lab .mirage-inspect-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
#team-lab .mirage-inspect-tools button {
  min-height: 40px;
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(225, 199, 220, 0.26);
  border-radius: 7px;
  background: rgba(19, 17, 24, 0.7);
  color: #e7dfe8;
  font: inherit;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}
#team-lab .mirage-inspect-tools button:hover:not(:disabled) {
  border-color: #e3accb;
  background: rgba(227, 172, 203, 0.12);
}
#team-lab .mirage-inspect-tools button[aria-pressed="true"] {
  border-color: #e3accb;
  background: #e3accb;
  color: #251c2b;
}
#team-lab .mirage-inspect-tools button:focus-visible {
  outline: 2px solid #b5e2ea;
  outline-offset: 3px;
}
#team-lab .mirage-inspect-tools button:disabled { opacity: 0.38; cursor: default; }
#team-lab #mirage-zoom-level {
  min-width: 48px;
  text-align: center;
  color: #e8d7e4;
  font: 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
#team-lab #mirage-tool-status {
  margin: 0;
  color: #b8acbf;
  font-size: 11px;
  line-height: 1.65;
  flex: 1 1 240px;
  text-align: right;
}
@media (max-width: 640px) {
  #team-lab .mirage-inspect-tools { align-items: flex-start; }
  #team-lab .mirage-inspect-tools button { min-height: 44px; min-width: 44px; }
  #team-lab #mirage-tool-status { flex-basis: 100%; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  #team-lab .mirage-inspect-tools button { transition: none; }
}
