/*
 * Info Panel — floating panel toggled by CoordsInfoControl.
 *
 * Sits in the top-right area below the controls, semi-
 * transparent dark surface, monospace body to keep numeric
 * columns aligned. Hidden by default until the operator taps
 * the info-toggle button.
 */
.tms-info-panel {
  position: absolute;
  top: 12px;
  right: 60px;          /* clear of the right-side control stack */
  width: min(420px, 80vw);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  background: rgba(28, 28, 30, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  color: #e5e5e5;
  font: 11px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  z-index: 700;
  user-select: text;
}

.tms-info-panel[aria-hidden="true"] {
  display: none;
}

.tms-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tms-info-header h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.tms-info-close {
  background: transparent;
  border: 0;
  color: #e5e5e5;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.tms-info-close:hover { color: #fff; }

.tms-info-body {
  padding: 10px 14px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.5;
  word-wrap: break-word;
}

.tms-info-body hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 8px 0;
}
