/* ==========================================================================
   "?" help button and its pop-down help box (2026-11-27)
   Shared by verify.php and the home page's Check a Citation band (includes/home-verify.php).
   Markup:  <div class="me-help-row"><label for="...">Label</label>
              <button type="button" class="me-help" aria-expanded="false" aria-controls="box-id">?</button></div>
            <div class="me-helpbox" id="box-id" hidden>...</div>
   The button is wired by js/help-tip.js (click to open/close, Esc to close).
   ========================================================================== */

/* Label + button on one line, centred on each other. The 5px gap under the label belongs to the row,
   not the label: a label margin made the row taller and left the "?" sitting about 2.5px low. */
.me-help-row { display: flex; align-items: center; gap: 8px; margin: 0 0 5px; }
.me-help-row label { margin: 0; line-height: 22px; }

.me-help {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    margin: 0;   /* the site's base button style adds margins, which push the "?" off centre (2026-11-27) */
    width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%;
    background: #009EE3; color: #fff; cursor: pointer;
    font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1;   /* was "font: 700 14px/1 inherit", which browsers reject, so the "?" was not bold and sat low */
}
.me-help:hover, .me-help:focus-visible, .me-help[aria-expanded="true"] { background: #006FA6; }
.me-help:focus-visible { outline: 3px solid rgba(0, 158, 227, .35); outline-offset: 2px; }

.me-helpbox { margin: 4px 0 8px; padding: 14px 16px; background: #EEF4FF; border-radius: 12px;
    color: #1F2F47; font-size: 15px; line-height: 1.6; text-align: left; }
.me-helpbox p { margin: 0 0 8px !important; padding: 0 !important; }   /* !important: the home page's section styles set paragraph spacing */
.me-helpbox dl { margin: 0; }
.me-helpbox dt { font-weight: 700; margin-top: 10px; }
.me-helpbox dt span { font-weight: 400; color: #5A6A82; }
.me-helpbox dd { margin: 2px 0 0; }
.me-helpbox .ex { color: #42526B; font-size: 14px; }
.me-helpbox code { padding: 1px 6px; border-radius: 6px; background: #fff; border: 1px solid #DCE3EE;
    font-size: 13px; color: #0F1B2D; overflow-wrap: anywhere; }

/* Screen-reader-only text inside the button */
.me-help__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
