#owner-notifications-card {
  margin-bottom: 18px;
}

#owner-notifications-card[hidden],
#owner-notifications-card [hidden] {
  display: none;
}

#owner-notifications-card .panel-kicker {
  margin-bottom: 8px;
}

#owner-notifications-card .owner-notification-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px 0;
  cursor: pointer;
}

#owner-notifications-card .owner-notification-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

#owner-notifications-card .owner-notification-label {
  color: var(--blue-3);
  font-weight: 700;
  line-height: 1.4;
}

#owner-notifications-card .owner-notification-description {
  color: rgba(9, 32, 61, 0.65);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#owner-notifications-card .owner-notification-options {
  border-top: 1px solid rgba(14, 47, 89, 0.1);
}

#owner-notifications-card .owner-notification-options .owner-notification-row + .owner-notification-row {
  border-top: 1px solid rgba(14, 47, 89, 0.07);
}

#owner-notifications-card .owner-notification-row input {
  position: absolute;
  right: 0;
  top: 50%;
  width: 48px;
  height: 44px;
  margin: -22px 0 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

#owner-notifications-card .owner-notification-switch {
  flex: 0 0 48px;
  width: 48px;
  height: 28px;
  border: 1px solid rgba(14, 47, 89, 0.12);
  border-radius: 999px;
  background: rgba(14, 47, 89, 0.15);
  transition: background 160ms ease, border-color 160ms ease;
}

#owner-notifications-card .owner-notification-switch::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(9, 32, 61, 0.17);
  transition: transform 160ms ease;
}

#owner-notifications-card input:checked + .owner-notification-switch {
  background: var(--blue-2, #2d86ff);
  border-color: var(--blue-2, #2d86ff);
}

#owner-notifications-card input:checked + .owner-notification-switch::before {
  transform: translateX(20px);
}

#owner-notifications-card input:focus-visible + .owner-notification-switch {
  outline: 3px solid rgba(45, 134, 255, 0.4);
  outline-offset: 3px;
}

#owner-notifications-card input:disabled {
  cursor: wait;
}

#owner-notifications-card input:disabled + .owner-notification-switch {
  opacity: 0.55;
}

#owner-notifications-card .owner-notification-status {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(9, 32, 61, 0.7);
}

#owner-notifications-card .owner-notification-status.is-error {
  color: #a52b32;
}

@media (prefers-reduced-motion: reduce) {
  #owner-notifications-card .owner-notification-switch,
  #owner-notifications-card .owner-notification-switch::before {
    transition: none;
  }
}
