/* Help affordance: a small outlined "?" that fills in on hover, plus a dark bubble carrying the
   explanation. The bubble deliberately mirrors the collapsed sidebar's flyout (.dd-sidebar-flyout)
   so hover help reads the same wherever it appears. */

.dd-help-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    color: #0b6b6b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    cursor: help;
    user-select: none;
    opacity: 0.55;
    transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.dd-help-tip:hover,
.dd-help-tip:focus-visible {
    opacity: 1;
    background-color: #0b6b6b;
    color: #fff;
    transform: scale(1.12);
    outline: none;
}

.dd-help-tip-bubble {
    position: fixed;
    max-width: 320px;
    padding: 9px 13px;
    background: #0b6b6b;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    /* Callers pass "\n"-joined lines for list-style content (e.g. a summary of pending changes). */
    white-space: pre-line;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    z-index: 1200;
    transition: opacity 0.13s ease, transform 0.13s ease;
}

.dd-help-tip-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}
