.message-box.boardeva-tip-box {
    width: min(360px, calc(100vw - 28px));
    max-width: min(360px, calc(100vw - 28px));
    /* A tip is auxiliary chrome: it must never steal clicks from the board
       underneath. Tip navigation is informational and is advanced by the
       guided-tour controller, not by intercepting board pointer input. */
    pointer-events: none;
    border: 1px solid rgba(142, 203, 255, .32);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .34);
}

/* EnhancedBox chooses some size defaults when a notice is created. A tip can
   remain open while its window crosses responsive breakpoints, so keep its
   width capped by the viewport at all times instead of inheriting the generic
   percentage width. */

/* Tips live above ordinary page content, but they must never sit above a
   modal's controls. Keep the tip visually out of the way and non-interactive
   while a modal is active; it becomes available again when the modal closes. */
body.modal-open .boardeva-tip-box,
body:has(.modal.show, #automationInboxModal.show, #askEvaModal.show) .boardeva-tip-box {
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.boardeva-tip-box .message-header {
    align-items: flex-start;
    gap: 10px;
}

.boardeva-tip-box .message-title {
    font-size: .96rem;
    line-height: 1.2;
}

.boardeva-tip-box .message-text p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .8rem;
    line-height: 1.48;
}

.boardeva-tip-box .message-custom-button {
    min-width: 112px;
    text-align: center;
}

.boardeva-tip-box * {
    pointer-events: none !important;
}

/* Frameless desktop notices can contain long greeting or focus copy. Keep the
   notice icon in its own row so it never sits beside or wraps into the text. */
html.desktop-frameless .message-box:not(.tooltip-mode) .message-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

html.desktop-frameless .message-box:not(.tooltip-mode) .message-icon {
    flex: 0 0 auto;
    margin: 0;
}

html.desktop-frameless .message-box:not(.tooltip-mode) .message-content {
    width: 100%;
    min-width: 0;
    text-align: center;
}

.boardeva-tip-disable {
    display: inline-block;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .52);
    font-size: .68rem;
    cursor: pointer;
}

.boardeva-tip-disable:hover,
.boardeva-tip-disable:focus-visible {
    color: #fff;
    text-decoration: underline;
    outline: none;
}

@media (max-width: 767px) {
    .boardeva-tip-box {
        bottom: 14px !important;
        right: 14px !important;
    }
}
