/* Kept outside the header so sticky headers and mobile drawers cannot clip it. */
.sbsb-email-popover {
    position: fixed;
    z-index: 100001;
    box-sizing: border-box;
    width: 360px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 24px 20px 12px;
    border: 1px solid #e9e3d9;
    border-top: 3px solid #dea033;
    border-radius: 12px;
    background: #fff;
    color: #222;
    box-shadow: 0 12px 48px rgba(24, 20, 14, .2);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}
.sbsb-email-popover[hidden] { display: none !important; }
.sbsb-email-popover .sbsb-email-title {
    margin: 0 30px 6px 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    color: #222;
}
.sbsb-email-popover .sbsb-email-intro { margin: 0 0 16px; color: #666; font-size: 13px; }
.sbsb-email-popover .sbsb-email-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #777;
    box-shadow: none;
    cursor: pointer;
}
.sbsb-email-popover svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sbsb-email-popover .sbsb-email-address {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #eee6d9;
    border-radius: 6px;
    background: #fbfaf8;
    color: #222;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
    box-shadow: none;
}
.sbsb-email-popover .sbsb-email-action {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    margin: 4px 0 0;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #222;
    font: inherit;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    text-transform: none;
    text-decoration: none;
    letter-spacing: normal;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
.sbsb-email-popover .sbsb-email-copy { background: #fbf4e7; border-color: #f0dfbd; }
.sbsb-email-popover .sbsb-email-action:hover,
.sbsb-email-popover .sbsb-email-close:hover { background: #f8f3e9; color: #222; }
.sbsb-email-popover .sbsb-email-action:focus-visible,
.sbsb-email-popover .sbsb-email-close:focus-visible,
.sbsb-email-popover .sbsb-email-address:focus-visible { outline: 2px solid #ad7518; outline-offset: 2px; }
.sbsb-email-icon { display: flex; flex: 0 0 24px; color: #ad7518; }
.sbsb-email-action-text { flex: 1; min-width: 0; }
.sbsb-email-action-text > span { display: block; }
.sbsb-email-action-text small { display: block; margin-top: 3px; color: #777; font-size: 11px; font-weight: 400; }
.sbsb-email-arrow { color: #ad7518; font-size: 18px; font-weight: 400; }
.sbsb-email-popover .sbsb-email-status { min-height: 18px; margin: 8px 0 0; color: #695020; font-size: 12px; }
