/* The "?" help tips (src/Http/Help.php, public/assets/help-tip.js).
   One dark bubble on every page, light or dark, so it never needs the page's
   own tokens. The button is 18px across with a 32px touch area. */
.hlp{position:relative;display:inline-block;vertical-align:middle;margin-left:4px;line-height:1}
.hlp-b{position:relative;display:inline-grid;place-items:center;width:18px;height:18px;padding:0;border-radius:50%;
  border:1px solid currentColor;background:transparent;color:inherit;opacity:.7;font:600 11px/1 Inter,system-ui,sans-serif;cursor:pointer}
.hlp-b::before{content:"";position:absolute;inset:-7px}
.hlp-b:hover,.hlp-b:focus-visible,.hlp.open .hlp-b{opacity:1}
.hlp-b:focus-visible{outline:2px solid #7F77DD;outline-offset:2px}
.hlp-pop{display:none;position:absolute;z-index:60;left:50%;top:calc(100% + 8px);transform:translateX(-50%);
  width:max-content;max-width:min(300px,calc(100vw - 32px));padding:10px 12px;border-radius:10px;
  background:#1B1646;color:#F0EFFC;border:1px solid #3A3470;box-shadow:0 8px 24px rgba(0,0,0,.28);
  font:400 13px/1.5 Inter,system-ui,sans-serif;text-align:left;text-transform:none;letter-spacing:normal;white-space:normal}
.hlp.open .hlp-pop{display:block}
/* Opened by the script: fixed to the window where help-tip.js places it, so
   no card's overflow can clip it. */
html.hlp-js .hlp.open .hlp-pop{position:fixed;transform:none;margin:0}
html:not(.hlp-js) .hlp:hover .hlp-pop,html:not(.hlp-js) .hlp:focus-within .hlp-pop{display:block}
/* On a phone the bubble spans the screen's width, never off the side
   (the script still sets its top). */
@media (max-width:640px){
  .hlp{position:static}
  .hlp-pop{left:16px;right:16px;transform:none;width:auto;max-width:none;top:auto;margin-top:8px}
  html.hlp-js .hlp.open .hlp-pop{left:16px !important;right:16px}
}
@media print{.hlp{display:none}}
