/* Bootstrap appends a tooltip to `<body>`, so no template can carry these as utilities. */

/* Its default is sized for a one-line label: a real explanation came out a ribbon one word high. */
.ce-tip {
  --bs-tooltip-max-width: 22rem; /* allow-length: a readable measure, not a ribbon */
  --bs-tooltip-bg: var(--tw-color-navy);
  --bs-tooltip-opacity: 1;
  --bs-tooltip-padding-x: 0.7rem; /* allow-length: reading padding for a paragraph */
  --bs-tooltip-border-radius: var(--tw-radius-control);
  font-size: var(--tw-text-aside);
}

/* MDB writes width, ground and size onto `.tooltip-inner`, so the variables above never apply. */
.ce-tip .tooltip-inner {
  max-width: 22rem; /* allow-length: the same measure, where MDB actually applies it */
  background-color: var(--tw-color-navy);
  font-size: var(--tw-text-aside);
  text-align: left;
  line-height: 1.45; /* allow-length: a paragraph read at rest, not a label */
  padding: 0.5rem 0.7rem; /* allow-length: paragraph padding inside the bubble */
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.22); /* allow-length: the lift of a floating card */
}
