/* Compact enrollment adjunct in the bottom-right notification control dock.
 * The symbol is a local reconstruction, not recovered plugin artwork. */
#message-push-root {
  position: fixed;
  bottom: 0;
  right: 40px;
  z-index: 23;
  width: 40px;
  height: 24px;
  color: #0c29ab;
  background: #ffefc7;
  border-top: 1px solid #6b6b6b;
  border-left: 1px solid #6b6b6b;
  border-radius: 10px 0 0 0;
  box-sizing: border-box;
  font: 13px/1.4 Arial, sans-serif;
}
#message-push-root[data-notify-tone="customer"] { background: #fbd0cb; }
#message-push-root[hidden], #message-push-root [hidden] { display: none !important; }
#message-push-root [data-push-settings-toggle] {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 24px;
  min-height: 24px;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0 10px 1px;
  cursor: pointer;
}
#message-push-root [data-push-settings-toggle] svg { flex: none; }
#message-push-root [data-push-indicator] { position: absolute; right: 1px; top: -3px; font-weight: bold; color: #9b2619; }
#message-push-root [data-push-state="on"] { color: #16704a; }
#message-push-root button:focus-visible { outline: 2px solid #0c29ab; outline-offset: -2px; }
#message-push-root [data-push-settings] {
  position: absolute;
  right: var(--notification-drawer-right, -40px);
  bottom: 28px;
  width: min(320px, calc(100vw - 16px));
  max-height: var(--notification-drawer-height, calc(100dvh - 80px));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #6b6b6b;
  border-radius: 8px;
  color: #1a1a1a;
  background: white;
  box-shadow: 0 2px 8px #0002;
}
/* A tall list leaves no above-toolbar space: intentional on-demand overlay,
 * clamped above the footer, never a persistent strip or automatic collapse. */
#message-push-root [data-push-settings][data-push-overlay="true"] {
  position: fixed;
  right: 8px;
  bottom: 32px;
  max-height: calc(100dvh - 48px);
}
#message-push-root[data-notify-surface="index_mobile"] [data-push-settings][data-push-overlay="true"],
#message-push-root[data-notify-surface="customer"] [data-push-settings][data-push-overlay="true"] {
  bottom: 72px;
  max-height: calc(100dvh - 88px);
}
#message-push-root .sfn-push-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#message-push-root p { margin: 8px 0; }
#message-push-root [data-push-settings] button { min-height: 36px; margin: 2px 4px 2px 0; cursor: pointer; }
#message-push-root [data-push-close] { width: 36px; border: 0; background: transparent; color: #0c29ab; font-size: 24px; }
@media print { #message-push-root { display: none !important; } }
