/* Notice popup accessibility and touch-target contract. */
#noticePopupOverlay:focus {
    outline: none;
}

#noticePopupOverlay .notice-popup-close,
#noticePopupOverlay .notice-popup-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#noticePopupOverlay .notice-popup-hide-label {
    min-height: 44px;
    padding-block: 2px;
}

#noticePopupOverlay .notice-popup-hide-label input {
    width: 24px;
    height: 24px;
    margin: 0;
    flex: 0 0 24px;
}

#noticePopupOverlay .notice-popup-close:focus-visible,
#noticePopupOverlay .notice-popup-btn:focus-visible,
#noticePopupOverlay .notice-popup-hide-label:focus-within {
    outline: 3px solid #7dd3fc;
    outline-offset: 2px;
}

#noticePopupOverlay .notice-popup-content img {
    max-width: 100% !important;
    height: auto !important;
}

#noticePopupOverlay .notice-popup-content pre,
#noticePopupOverlay .notice-popup-content code {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

#noticePopupOverlay .notice-popup-content pre {
    max-width: 100% !important;
    white-space: pre-wrap !important;
}

#noticePopupOverlay .notice-popup-content table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
}

#noticePopupOverlay .notice-popup-content th,
#noticePopupOverlay .notice-popup-content td {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

#noticePopupOverlay .notice-popup-content iframe {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

@media (max-width: 767px) {
    #noticePopupOverlay .notice-popup-content a[href] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}
