/* Scoped acceptance fixes: existing design and ad geometry remain unchanged. */
.navbar .navbar-brand:focus-visible {
    outline: 2px solid #e1ae00;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    /* The existing script toggles .active; also respect Bootstrap states.
       Visibility hides closed links from Tab without changing geometry. */
    .navbar .navbar-collapse {
        transition-property: max-height;
    }
    .navbar .navbar-collapse:not(.active):not(.in):not(.collapsing) {
        visibility: hidden;
    }

}

/* Narrow tablet columns need the same containment as phones. The resting
   heading/icon layout stays unchanged; only the opened popup is repositioned. */
.number-redesign .details-heading {
    position: relative;
}
.number-redesign .details-heading .info-tip {
    position: static;
}
.number-redesign .details-heading .info-tip p {
    left: 0;
    right: auto;
    top: 100%;
    width: min(300px, 100%);
    box-sizing: border-box;
}
