/* Public announcement cards. Scoped independently of tenant/theme typography. */
.sendgo-notices { position: fixed; inset: auto; margin: 0; padding: 0; right: 28px; bottom: 96px; z-index: 99999; width: 440px; max-width: calc(100vw - 32px); overflow: hidden; border: 1px solid #e5e2f5; border-radius: 24px; background: #fff; color: #252239; box-shadow: 0 24px 80px -20px #19113c40, 0 4px 16px #19113c0a; font-family: Pretendard, -apple-system, BlinkMacSystemFont, sans-serif; }
.sendgo-notices[hidden], .sendgo-notices [hidden] { display: none !important; }
.sendgo-notices *, .sendgo-notices *::before, .sendgo-notices *::after { box-sizing: border-box; }
.sendgo-notice { display: flex; flex-direction: column; max-height: min(680px, calc(100vh - 204px)); max-height: min(680px, calc(100dvh - 204px)); }
.sendgo-notice-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; padding: 20px 22px 14px; background: linear-gradient(120deg, #f3f0ff, #f9faff 70%, #fff); }
.sendgo-notice-label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: -.01em; color: #5146f0; }
.sendgo-notice-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #e4dfff; border-radius: 12px; background: #fff; }
.sendgo-notice-icon svg { width: 20px; height: 20px; }
.sendgo-notice-icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: #79758d; cursor: pointer; transition: background .15s, color .15s; }
.sendgo-notice-icon-button svg { width: 20px; height: 20px; }
.sendgo-notice-icon-button:hover { background: #ebe8ff; color: #5146f0; }
.sendgo-notice-scroll { padding: 8px 28px 28px; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d4cfed transparent; }
.sendgo-notice-title { margin: 0 0 20px; font-size: 23px; line-height: 1.45; font-weight: 750; letter-spacing: -.045em; color: #252239; overflow-wrap: anywhere; word-break: keep-all; text-wrap: pretty; }
.sendgo-notice-content { font-size: 15px; line-height: 1.85; color: #625e74; overflow-wrap: anywhere; word-break: keep-all; }
.sendgo-notice-content > :first-child { margin-top: 0; }
.sendgo-notice-content > :last-child { margin-bottom: 0; }
.sendgo-notice-content p { margin: 0 0 16px; color: inherit; font-size: inherit; line-height: inherit; }
.sendgo-notice-content strong { font-weight: 700; color: #332e4b; }
.sendgo-notice-content a { color: #5146f0; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #c4bcff; font-weight: 600; }
.sendgo-notice-content a:hover { color: #3e32c6; text-decoration-color: currentColor; }
.sendgo-notice-content img, .sendgo-notice-content video { max-width: 100%; height: auto; border-radius: 12px; }
.sendgo-notice-content ul, .sendgo-notice-content ol { padding-left: 22px; margin-block: 16px; }
.sendgo-notice-content ul { list-style-type: disc; }
.sendgo-notice-content ol { list-style-type: decimal; }
.sendgo-notice-content table { max-width: 100%; border-collapse: collapse; }
.sendgo-notice-content td, .sendgo-notice-content th { padding: 8px; border: 1px solid #e5e2ef; }
.sendgo-notice-content pre { overflow: auto; white-space: pre; }
.sendgo-notice-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-shrink: 0; padding: 16px 24px; border-top: 1px solid #eeecf5; background: #faf9fd; }
.sendgo-notice-ignore { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 12px; line-height: 1.6; color: #716b83; cursor: pointer; }
.sendgo-notice-ignore input { appearance: auto; width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: #5146f0; cursor: pointer; }
.sendgo-notice-close { margin-left: auto; flex-shrink: 0; min-height: 44px; padding: 11px 24px; border: 0; border-radius: 12px; background: #5146f0; color: #fff; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; box-shadow: 0 3px 6px #5146f01a; transition: background .15s; }
.sendgo-notice-close:hover { background: #4237d4; }
.sendgo-notices button:focus-visible, .sendgo-notices input:focus-visible, .sendgo-notices a:focus-visible { outline: 3px solid #8b80ff; outline-offset: 3px; }
.sendgo-notice-navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 20px 4px 28px; border-top: 1px solid #eeecf5; background: #fff; }
.sendgo-notice-counter { color: #827b98; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.sendgo-notice-navigation-buttons { display: flex; align-items: center; gap: 4px; }
@media (max-width: 640px) {
    .sendgo-notices { left: 12px; right: 12px; bottom: max(84px, calc(env(safe-area-inset-bottom) + 72px)); width: auto; max-width: none; border-radius: 22px; }
    .sendgo-notice { max-height: calc(100vh - 174px); max-height: calc(100dvh - 174px); }
    .sendgo-notice-header { padding: 14px 16px 10px; }
    .sendgo-notice-scroll { padding: 8px 22px 22px; }
    .sendgo-notice-title { font-size: 21px; margin-bottom: 16px; }
    .sendgo-notice-footer { padding: 12px 18px; gap: 12px; }
    .sendgo-notice-navigation { padding-left: 22px; }
}
@media (max-height: 540px) {
    .sendgo-notices { bottom: 12px; }
    .sendgo-notice { max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); }
    .sendgo-notice-header, .sendgo-notice-footer { padding-block: 8px; }
}
@media (prefers-reduced-motion: reduce) { .sendgo-notices * { transition: none !important; } }

.sendgo-notices::backdrop { background: transparent; pointer-events: none; }
