/* ============================================================
   Tooltip — shared floating descriptor for instrument-panel
   titles + any other trigger element registered via
   `components/Tooltip.js`.

   Single .tooltip element attached to <body> at first use; the
   JS side positions it with fixed coordinates. This file owns
   all of its visual identity so the JS class stays styling-free.
   ============================================================ */

.tooltip {
  font-family: "DotGothic16", "Consolas", monospace;
  font-size: 12px;
  letter-spacing: 0.6px;
  line-height: 1.3;
  max-width: 340px;
  padding: 4px 8px;
  color: #e6e6e6;
  background: #0a0a0a;
  border: 1px solid #333333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  white-space: normal;
  /* pointer-events set to none in JS so the tooltip never
   * intercepts hover on the trigger below it. */
}

/* Panel-title main span carries this class when it has an
 * associated tooltip (see Tooltip.wirePanelTitles). Cursor is
 * the only affordance — no underline, no border, no visual
 * clutter on the nameplate. */
.panel-title .pt-main.has-tooltip {
  cursor: help;
}
