/* ---- the ⓘ bubble (shared/tip.js; Terry msgs 994, 1476, 1480 "readable and positioned well"): 13px on a comfortable line, at most 280px wide,
   the theme's raised surface with its own text colour (well over 4.5:1 in Light, Dark and Navy), a soft shadow, and a small arrow at the ⓘ.
   It sits on <body> above everything (or inside the open modal dialog its ⓘ is in, since a modal covers the page under it) (the side panel, dialogs, the phone's bottom bar), never catching the pointer. */
.info-bubble { position: fixed; z-index: 2147483000; max-width: min(280px, calc(100vw - 16px)); pointer-events: none; text-align: left; text-transform: none; letter-spacing: normal; }
.info-bubble-t { display: block; padding: 10px 12px; border-radius: 10px; border: 1px solid rgb(var(--v3-line-2, 218 218 225)); background: rgb(var(--v3-surface-2, 248 248 250));
  color: rgb(var(--v3-fg, 12 12 15)); font: 400 13px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; white-space: pre-line; overflow-wrap: anywhere;
  box-shadow: 0 10px 28px -6px rgb(0 0 0 / .28), 0 2px 6px rgb(0 0 0 / .12); }
.info-bubble-t b { font-weight: 600; }
/* a smaller second line (a shop's data source under its team) and a link (where to assign someone); a bubble with a link takes the pointer */
.info-bubble-s { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.45; color: rgb(var(--v3-fg-2, 82 82 91)); }
.info-bubble-l { display: inline-block; margin-top: 4px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; color: inherit; }
.info-bubble.has-link { pointer-events: auto; }
/* a long explanation with no room either side (tip.js): wider first, then capped to the room it has and scrollable (it takes the pointer only then) */
.info-bubble.is-wide { max-width: min(440px, calc(100vw - 16px)); }
.info-bubble.is-capped { display: flex; flex-direction: column; pointer-events: auto; }
.info-bubble.is-capped .info-bubble-t { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
/* ---- the ⓘ itself, never hidden (Terry msg 1723 "not hiding behind things"): */
/* a tile's ⓘ (c.tile) is a real one: hover, keyboard or tap, inside a link tile too (tip.js keeps the tap for the bubble) */
.tile-tip { display: inline-flex; align-items: center; flex: none; margin-left: 2px; color: rgb(var(--v3-fg-3)); cursor: help; border-radius: 999px; }
.tile-tip:hover, .tile-tip:focus-visible { color: rgb(var(--v3-fg)); }
.tile-tip:focus-visible { outline: 2px solid rgb(var(--v3-accent, 254 44 85)); outline-offset: 1px; }
/* on a phone a card's buttons, tabs and pickers go under its title rather than sitting on top of it and its ⓘ */
@media (max-width: 767px) { .card-h { flex-wrap: wrap; row-gap: 8px; } }
/* a stat card's title wraps word by word with its ⓘ after the last word, so a long title on a narrow card never pushes the ⓘ under the % chip */
.fc-head > .fc-label { flex: 1 1 0; }
.fc.sc .fc-label { display: block; }
.fc.sc .fc-label .info-tip { display: inline-flex; vertical-align: -2px; margin-left: 2px; }
.info-bubble-a { position: absolute; width: 10px; height: 10px; margin-left: -5px; transform: rotate(45deg); background: rgb(var(--v3-surface-2, 248 248 250)); border: 1px solid rgb(var(--v3-line-2, 218 218 225)); }
.info-bubble[data-side="top"] .info-bubble-a { bottom: -5px; border-top: 0; border-left: 0; }
.info-bubble[data-side="bottom"] .info-bubble-a { top: -5px; border-bottom: 0; border-right: 0; }
