/* PulseBot v22.0.3 — Sticky messages + Applications/Embeds.
   Final structural alignment with Logs / Automod / Verification.
   Visual only: no form names, actions or runtime behavior are changed. */

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .content-stack {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-form {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 0 82px !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-form > * {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Intro block — identical rhythm to the rebuilt core modules. */
body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-form > .module-panel-special {
  width: 100% !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-left: 2px solid var(--pbm-blue) !important;
  border-radius: 0 12px 12px 0 !important;
  background: rgba(59,130,246,.045) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-panel-special h2 {
  margin: 0 0 5px !important;
  color: var(--pbm-text) !important;
  font: 600 .98rem/1.3 Inter,system-ui,sans-serif !important;
  letter-spacing: -.015em !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-panel-special p {
  max-width: 760px !important;
  margin: 0 !important;
  color: var(--pbm-muted) !important;
  font: 400 .8rem/1.55 Inter,system-ui,sans-serif !important;
}

/* Every main section uses the same framed component as Automod / Verification. */
body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-form > .form-section,
body#pulsebot-app.dashboard-active-other .module-form > .plan-limit-note {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--pbm-line) !important;
  border-radius: 14px !important;
  background: rgba(15,19,25,.78) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .form-section-head {
  min-height: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 15px 17px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pbm-line) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.018) !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .form-section-head:has(> div) {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .form-section-head > div {
  min-width: 0 !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .form-section-head h3 {
  margin: 0 !important;
  color: var(--pbm-text) !important;
  font: 600 .9rem/1.3 Inter,system-ui,sans-serif !important;
  letter-spacing: -.012em !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .form-section-head p {
  max-width: 760px !important;
  margin: 5px 0 0 !important;
  color: var(--pbm-muted) !important;
  font: 400 .75rem/1.5 Inter,system-ui,sans-serif !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .form-section-body {
  min-width: 0 !important;
  padding: 17px !important;
  border: 0 !important;
  background: transparent !important;
}

/* Grid / fields — exact shared dimensions. */
body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) :is(.module-grid,.tool-two-column) {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 13px !important;
  margin: 0 !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .check-grid {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 10px !important;
  margin: 14px 0 0 !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .field {
  min-width: 0 !important;
  display: grid !important;
  gap: 7px !important;
  margin: 0 0 14px !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-grid > .field,
body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .tool-two-column > .field {
  margin-bottom: 0 !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .field:last-child {
  margin-bottom: 0 !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .field > label {
  margin: 0 !important;
  color: var(--pbm-text-2) !important;
  font: 550 .77rem/1.35 Inter,system-ui,sans-serif !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .field > small {
  margin: 0 !important;
  color: var(--pbm-soft) !important;
  font: 400 .69rem/1.45 Inter,system-ui,sans-serif !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
  select,
  textarea,
  .multi-picker-trigger
) {
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 9px !important;
  background: #0b0f15 !important;
  color: var(--pbm-text) !important;
  font: 500 .82rem/1.4 Inter,system-ui,sans-serif !important;
  box-shadow: none !important;
  outline: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) textarea {
  min-height: 108px !important;
  line-height: 1.55 !important;
  resize: vertical !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
  select,
  textarea,
  .multi-picker-trigger
):focus {
  border-color: rgba(59,130,246,.62) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,.09) !important;
}

/* Remove the extra nested-card look from embed workspaces. */
body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) :is(
  .sticky-editor-shell,
  .tool-embed-workspace,
  .tool-application-preview,
  .embed-builder,
  .embed-builder-grid
) {
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .embed-builder-grid {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(280px,360px) !important;
  gap: 22px !important;
  align-items: start !important;
  padding: 0 !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .embed-editor-preview {
  position: sticky !important;
  top: calc(var(--pb-topbar-h,64px) + 18px) !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 0 20px !important;
  border: 0 !important;
  border-left: 1px solid var(--pbm-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .discord-embed {
  padding: 14px !important;
  border: 0 !important;
  border-left: 3px solid var(--embed-color,#3b82f6) !important;
  border-radius: 4px !important;
  background: #171c23 !important;
  box-shadow: none !important;
}

/* Plain rows inside already framed sections. */
body#pulsebot-app.dashboard-active-sticky .tool-process-list,
body#pulsebot-app.dashboard-active-other .tool-question-list {
  display: grid !important;
  gap: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body#pulsebot-app.dashboard-active-sticky .tool-process-list article,
body#pulsebot-app.dashboard-active-other .tool-question-list .message-rule-card {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 13px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pbm-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#pulsebot-app.dashboard-active-sticky .tool-process-list article:last-child,
body#pulsebot-app.dashboard-active-other .tool-question-list .message-rule-card:last-child {
  border-bottom: 0 !important;
}

body#pulsebot-app.dashboard-active-other .tool-question-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 12px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--pbm-line) !important;
}

body#pulsebot-app.dashboard-active-other .tool-question-summary span {
  color: var(--pbm-muted) !important;
  font-size: .72rem !important;
}

body#pulsebot-app.dashboard-active-other .tool-question-summary strong {
  color: var(--pbm-text-2) !important;
  font-size: .76rem !important;
  font-weight: 600 !important;
}

body#pulsebot-app.dashboard-active-other .plan-limit-note {
  padding: 15px 17px !important;
  background: rgba(15,19,25,.78) !important;
}

body#pulsebot-app.dashboard-active-other .plan-limit-copy {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

body#pulsebot-app.dashboard-active-other .plan-limit-copy > strong {
  color: var(--pbm-text) !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
}

body#pulsebot-app.dashboard-active-other .plan-limit-values {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}

body#pulsebot-app.dashboard-active-other .plan-limit-values span {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  color: var(--pbm-muted) !important;
  font-size: .69rem !important;
}

body#pulsebot-app.dashboard-active-other .plan-limit-values b {
  color: #9fc3ff !important;
  font-size: .78rem !important;
  font-weight: 650 !important;
}

body#pulsebot-app.dashboard-active-other :is(.tool-primary-action,.tool-publish-row) {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 16px 0 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid var(--pbm-line) !important;
  background: transparent !important;
}

body#pulsebot-app.dashboard-active-other .tool-publish-row > div {
  min-width: 0 !important;
  flex: 1 1 420px !important;
}

body#pulsebot-app.dashboard-active-other .tool-publish-row strong {
  color: var(--pbm-text) !important;
  font-size: .8rem !important;
  font-weight: 600 !important;
}

body#pulsebot-app.dashboard-active-other .tool-publish-row p {
  margin: 4px 0 0 !important;
  color: var(--pbm-muted) !important;
  font-size: .72rem !important;
  line-height: 1.5 !important;
}

/* Buttons are the same size and shape as in rebuilt modules. */
body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .btn {
  min-height: 40px !important;
  padding: 0 14px !important;
  border-radius: 9px !important;
  font: 600 .83rem/1 Inter,system-ui,sans-serif !important;
  box-shadow: none !important;
  transform: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .btn-primary:not(.danger) {
  border: 1px solid rgba(126,174,255,.26) !important;
  background: var(--pbm-blue) !important;
  background-image: none !important;
  color: #fff !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .btn-primary:not(.danger):is(:hover,:focus-visible) {
  border-color: rgba(166,198,255,.4) !important;
  background: var(--pbm-blue-hover) !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .btn-ghost {
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.025) !important;
  color: var(--pbm-text-2) !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .btn-ghost:hover {
  border-color: rgba(255,255,255,.17) !important;
  background: rgba(255,255,255,.045) !important;
  color: var(--pbm-text) !important;
}

/* Application question dialog follows the same editor shell used elsewhere. */
body#pulsebot-app.dashboard-active-other .tool-dialog {
  width: min(720px,calc(100vw - 28px)) !important;
  max-height: min(760px,calc(100dvh - 32px)) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--pbm-line-strong) !important;
  border-radius: 14px !important;
  background: #0d1218 !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.48) !important;
}

body#pulsebot-app.dashboard-active-other .tool-dialog-card {
  max-height: inherit !important;
  display: grid !important;
  grid-template-rows: auto minmax(0,1fr) auto !important;
  overflow: hidden !important;
  background: transparent !important;
}

body#pulsebot-app.dashboard-active-other .tool-dialog-head,
body#pulsebot-app.dashboard-active-other .tool-dialog-footer {
  margin: 0 !important;
  padding: 15px 17px !important;
  border: 0 !important;
  background: #0d1218 !important;
}

body#pulsebot-app.dashboard-active-other .tool-dialog-head {
  border-bottom: 1px solid var(--pbm-line) !important;
}

body#pulsebot-app.dashboard-active-other .tool-dialog-footer {
  position: static !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  border-top: 1px solid var(--pbm-line) !important;
  box-shadow: none !important;
}

body#pulsebot-app.dashboard-active-other .tool-dialog-body {
  min-height: 0 !important;
  overflow: auto !important;
  padding: 17px !important;
}

body#pulsebot-app.dashboard-active-other .tool-question-required {
  display: grid !important;
  grid-template-columns: 18px minmax(0,1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  margin: 14px 0 0 !important;
  padding: 13px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--pbm-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body#pulsebot-app.dashboard-active-other .tool-question-required > span {
  width: 18px !important;
  height: 18px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #9fc3ff !important;
}

@media (max-width: 820px) {
  body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) :is(.module-grid,.tool-two-column,.check-grid),
  body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .embed-builder-grid {
    grid-template-columns: 1fr !important;
  }

  body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .embed-editor-preview {
    position: static !important;
    padding: 18px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid var(--pbm-line) !important;
  }

  body#pulsebot-app.dashboard-active-other .plan-limit-copy {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

@media (max-width: 560px) {
  body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .form-section-head:has(> div) {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .form-section-head .btn {
    width: 100% !important;
  }

  body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .form-section-body {
    padding: 15px !important;
  }

  body#pulsebot-app.dashboard-active-other .tool-primary-action .btn,
  body#pulsebot-app.dashboard-active-other .tool-publish-row .btn {
    width: 100% !important;
  }
}

/* v22.0.4 — exact structural match with Tickets / Automod.
   This is the final source of truth for Sticky Messages and Applications/Embeds. */
body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-panel {
  overflow: visible !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-headline {
  min-height: 96px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin: 0 0 20px !important;
  padding: 18px 4px 22px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pbm-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-heading-copy {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-heading-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--pbm-blue-line) !important;
  border-radius: 11px !important;
  background: rgba(59,130,246,.07) !important;
  color: #a9c9ff !important;
  box-shadow: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-heading-icon svg {
  width: 18px !important;
  height: 18px !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-headline h2 {
  margin: 0 !important;
  color: var(--pbm-text) !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -.026em !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-headline p {
  max-width: 720px !important;
  margin: 5px 0 0 !important;
  color: var(--pbm-muted) !important;
  font-size: .82rem !important;
  line-height: 1.55 !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-status {
  flex: 0 0 auto !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 10px !important;
  border: 1px solid var(--pbm-line) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.025) !important;
  color: var(--pbm-muted) !important;
  font-size: .7rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-status::before {
  content: none !important;
  display: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-status.on {
  border-color: var(--pbm-blue-line) !important;
  background: rgba(59,130,246,.075) !important;
  color: #a9c9ff !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-form {
  gap: 18px !important;
  padding-bottom: 104px !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-form > .module-panel-special {
  order: -2 !important;
  padding: 16px 18px !important;
  border: 1px solid var(--pbm-line) !important;
  border-left: 2px solid var(--pbm-blue) !important;
  border-radius: 0 12px 12px 0 !important;
  background: rgba(59,130,246,.04) !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-form > .form-section:first-of-type {
  order: -1 !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .form-section-head {
  padding: 17px 19px !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .form-section-body {
  padding: 20px !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .field {
  gap: 8px !important;
  margin-bottom: 18px !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) :is(.module-grid,.tool-two-column) {
  gap: 20px 24px !important;
}

/* One save control, identical to Tickets / Messages / Statistics. */
body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-form > .module-savebar {
  position: fixed !important;
  inset: auto 22px 22px auto !important;
  z-index: 980 !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-form > .module-savebar > .notice {
  display: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-save-button {
  min-width: 196px !important;
  min-height: 46px !important;
  padding: 0 20px !important;
  border: 1px solid rgba(134,180,255,.32) !important;
  border-radius: 9px !important;
  background: #3478e5 !important;
  background-image: none !important;
  color: #fff !important;
  font: 600 .86rem/1 Inter,system-ui,sans-serif !important;
  letter-spacing: -.005em !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.30) !important;
  transform: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-save-button::before,
body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-save-button::after {
  content: none !important;
  display: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-save-button:hover:not(:disabled),
body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-save-button:focus-visible:not(:disabled) {
  border-color: rgba(164,199,255,.44) !important;
  background: #3d82ef !important;
  background-image: none !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.30) !important;
  transform: none !important;
}

body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-save-button:active:not(:disabled) {
  background: #2e69c9 !important;
}

@media (max-width: 560px) {
  body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-headline {
    min-height: 0 !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-form > .module-savebar {
    inset: auto 12px 12px 12px !important;
  }

  body#pulsebot-app:is(.dashboard-active-sticky,.dashboard-active-other) .module-save-button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Global save-button source of truth for every configurable module. */
body#pulsebot-app.dashboard-mode.dashboard-module-v2177 .module-form > .module-savebar {
  position: fixed !important;
  inset: auto 22px 22px auto !important;
  z-index: 980 !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

body#pulsebot-app.dashboard-mode.dashboard-module-v2177 .module-form > .module-savebar > .notice {
  display: none !important;
}

body#pulsebot-app.dashboard-mode.dashboard-module-v2177 .module-save-button {
  min-width: 196px !important;
  min-height: 46px !important;
  padding: 0 20px !important;
  border: 1px solid rgba(134,180,255,.32) !important;
  border-radius: 9px !important;
  background: #3478e5 !important;
  background-image: none !important;
  color: #fff !important;
  font: 600 .86rem/1 Inter,system-ui,sans-serif !important;
  letter-spacing: -.005em !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.30) !important;
  transform: none !important;
}

body#pulsebot-app.dashboard-mode.dashboard-module-v2177 .module-save-button::before,
body#pulsebot-app.dashboard-mode.dashboard-module-v2177 .module-save-button::after {
  content: none !important;
  display: none !important;
}

body#pulsebot-app.dashboard-mode.dashboard-module-v2177 .module-save-button:hover:not(:disabled),
body#pulsebot-app.dashboard-mode.dashboard-module-v2177 .module-save-button:focus-visible:not(:disabled) {
  border-color: rgba(164,199,255,.44) !important;
  background: #3d82ef !important;
  background-image: none !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.30) !important;
  transform: none !important;
}

body#pulsebot-app.dashboard-mode.dashboard-module-v2177 .module-save-button:active:not(:disabled) {
  background: #2e69c9 !important;
}

@media (max-width: 560px) {
  body#pulsebot-app.dashboard-mode.dashboard-module-v2177 .module-form > .module-savebar {
    inset: auto 12px 12px 12px !important;
  }

  body#pulsebot-app.dashboard-mode.dashboard-module-v2177 .module-save-button {
    width: 100% !important;
    min-width: 0 !important;
  }
}
